Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

Release/1.1.7 (#47)

Salman Qureshie0fb478308cf
diff --git a/docs/404.html b/docs/404.html
index 228bb2f6..21e568da 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="plugin-native plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Page Not Found | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/404.html /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=og:title content="Page Not Found | Mercury"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/404.html /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="plugin-native plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Page Not Found | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/404.html /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=og:title content="Page Not Found | Mercury"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/404.html /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a class="navbar__item navbar__link" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class=row><div class="col col--6 col--offset-3"><h1 class=hero__title>Page Not Found</h1><p>We could not find what you were looking for.<p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</div></div></main></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/assets/css/styles.96f6c830.css b/docs/assets/css/styles.2563c3bb.css
similarity index 71%
rename from docs/assets/css/styles.96f6c830.css
rename to docs/assets/css/styles.2563c3bb.css
index 6bff4c1a..8fb4a5b9 100644
--- a/docs/assets/css/styles.96f6c830.css
+++ b/docs/assets/css/styles.2563c3bb.css
@@ -1 +1 @@
-@layer docusaurus.infima{:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-500:var(--ifm-color-gray-500);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:.2s;--ifm-transition-slow:.4s;--ifm-transition-timing-default:cubic-bezier(.08,.52,.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:.1rem;--ifm-code-padding-vertical:.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:.875rem;--ifm-h6-font-size:.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:.8rem;--ifm-breadcrumb-padding-vertical:.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 256 256\"><g><g><polygon points=\"79.093,0 48.907,30.187 146.72,128 48.907,225.813 79.093,256 207.093,128\"/></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>");--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-color:var(--ifm-font-color-base-inverse);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:.5rem;--ifm-toc-padding-horizontal:.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:.75rem;--ifm-menu-link-padding-vertical:.375rem;--ifm-menu-link-sublist-icon:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" viewBox=\"0 0 24 24\"><path fill=\"rgba(0,0,0,0.5)\" d=\"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z\"></path></svg>");--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:.75rem;--ifm-navbar-item-padding-vertical:.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url("data:image/svg+xml;utf8,<svg fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" height=\"16px\" width=\"16px\"><path d=\"M6.02945,10.20327a4.17382,4.17382,0,1,1,4.17382-4.17382A4.15609,4.15609,0,0,1,6.02945,10.20327Zm9.69195,4.2199L10.8989,9.59979A5.88021,5.88021,0,0,0,12.058,6.02856,6.00467,6.00467,0,1,0,9.59979,10.8989l4.82338,4.82338a.89729.89729,0,0,0,1.29912,0,.89749.89749,0,0,0-.00087-1.29909Z\" /></svg>");--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem}*{box-sizing:border-box}html{background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base)var(--ifm-font-family-base);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{word-wrap:break-word;margin:0}iframe{color-scheme:normal;border:0}.container{max-width:var(--ifm-container-width);padding:0 var(--ifm-spacing-horizontal);width:100%;margin:0 auto}.container--fluid{max-width:inherit}.row{margin:0 calc(var(--ifm-spacing-horizontal)*-1);flex-wrap:wrap;display:flex}.row--no-gutters{margin-left:0;margin-right:0}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);flex:1 0;width:100%;margin-left:0}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:calc(1/12*100%)}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:calc(2/12*100%)}.col--offset-2{margin-left:16.6667%}.col--3{--ifm-col-width:calc(3/12*100%)}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:calc(4/12*100%)}.col--offset-4{margin-left:33.3333%}.col--5{--ifm-col-width:calc(5/12*100%)}.col--offset-5{margin-left:41.6667%}.col--6{--ifm-col-width:calc(6/12*100%)}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:calc(7/12*100%)}.col--offset-7{margin-left:58.3333%}.col--8{--ifm-col-width:calc(8/12*100%)}.col--offset-8{margin-left:66.6667%}.col--9{--ifm-col-width:calc(9/12*100%)}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:calc(10/12*100%)}.col--offset-10{margin-left:83.3333%}.col--11{--ifm-col-width:calc(11/12*100%)}.col--offset-11{margin-left:91.6667%}.col--12{--ifm-col-width:calc(12/12*100%)}.col--offset-12{margin-left:100%}.margin--none{margin:0!important}.margin-top--none{margin-top:0!important}.margin-left--none{margin-left:0!important}.margin-bottom--none{margin-bottom:0!important}.margin-right--none{margin-right:0!important}.margin-vert--none{margin-top:0!important;margin-bottom:0!important}.margin-horiz--none{margin-left:0!important;margin-right:0!important}.margin--xs{margin:.25rem!important}.margin-top--xs{margin-top:.25rem!important}.margin-left--xs{margin-left:.25rem!important}.margin-bottom--xs{margin-bottom:.25rem!important}.margin-right--xs{margin-right:.25rem!important}.margin-vert--xs{margin-top:.25rem!important;margin-bottom:.25rem!important}.margin-horiz--xs{margin-left:.25rem!important;margin-right:.25rem!important}.margin--sm{margin:.5rem!important}.margin-top--sm{margin-top:.5rem!important}.margin-left--sm{margin-left:.5rem!important}.margin-bottom--sm{margin-bottom:.5rem!important}.margin-right--sm{margin-right:.5rem!important}.margin-vert--sm{margin-top:.5rem!important;margin-bottom:.5rem!important}.margin-horiz--sm{margin-left:.5rem!important;margin-right:.5rem!important}.margin--md{margin:1rem!important}.margin-top--md{margin-top:1rem!important}.margin-left--md{margin-left:1rem!important}.margin-bottom--md{margin-bottom:1rem!important}.margin-right--md{margin-right:1rem!important}.margin-vert--md{margin-top:1rem!important;margin-bottom:1rem!important}.margin-horiz--md{margin-left:1rem!important;margin-right:1rem!important}.margin--lg{margin:2rem!important}.margin-top--lg{margin-top:2rem!important}.margin-left--lg{margin-left:2rem!important}.margin-bottom--lg{margin-bottom:2rem!important}.margin-right--lg{margin-right:2rem!important}.margin-vert--lg{margin-top:2rem!important;margin-bottom:2rem!important}.margin-horiz--lg{margin-left:2rem!important;margin-right:2rem!important}.margin--xl{margin:5rem!important}.margin-top--xl{margin-top:5rem!important}.margin-left--xl{margin-left:5rem!important}.margin-bottom--xl{margin-bottom:5rem!important}.margin-right--xl{margin-right:5rem!important}.margin-vert--xl{margin-top:5rem!important;margin-bottom:5rem!important}.margin-horiz--xl{margin-left:5rem!important;margin-right:5rem!important}.padding--none{padding:0!important}.padding-top--none{padding-top:0!important}.padding-left--none{padding-left:0!important}.padding-bottom--none{padding-bottom:0!important}.padding-right--none{padding-right:0!important}.padding-vert--none{padding-top:0!important;padding-bottom:0!important}.padding-horiz--none{padding-left:0!important;padding-right:0!important}.padding--xs{padding:.25rem!important}.padding-top--xs{padding-top:.25rem!important}.padding-left--xs{padding-left:.25rem!important}.padding-bottom--xs{padding-bottom:.25rem!important}.padding-right--xs{padding-right:.25rem!important}.padding-vert--xs{padding-top:.25rem!important;padding-bottom:.25rem!important}.padding-horiz--xs{padding-left:.25rem!important;padding-right:.25rem!important}.padding--sm{padding:.5rem!important}.padding-top--sm{padding-top:.5rem!important}.padding-left--sm{padding-left:.5rem!important}.padding-bottom--sm{padding-bottom:.5rem!important}.padding-right--sm{padding-right:.5rem!important}.padding-vert--sm{padding-top:.5rem!important;padding-bottom:.5rem!important}.padding-horiz--sm{padding-left:.5rem!important;padding-right:.5rem!important}.padding--md{padding:1rem!important}.padding-top--md{padding-top:1rem!important}.padding-left--md{padding-left:1rem!important}.padding-bottom--md{padding-bottom:1rem!important}.padding-right--md{padding-right:1rem!important}.padding-vert--md{padding-top:1rem!important;padding-bottom:1rem!important}.padding-horiz--md{padding-left:1rem!important;padding-right:1rem!important}.padding--lg{padding:2rem!important}.padding-top--lg{padding-top:2rem!important}.padding-left--lg{padding-left:2rem!important}.padding-bottom--lg{padding-bottom:2rem!important}.padding-right--lg{padding-right:2rem!important}.padding-vert--lg{padding-top:2rem!important;padding-bottom:2rem!important}.padding-horiz--lg{padding-left:2rem!important;padding-right:2rem!important}.padding--xl{padding:5rem!important}.padding-top--xl{padding-top:5rem!important}.padding-left--xl{padding-left:5rem!important}.padding-bottom--xl{padding-bottom:5rem!important}.padding-right--xl{padding-right:5rem!important}.padding-vert--xl{padding-top:5rem!important;padding-bottom:5rem!important}.padding-horiz--xl{padding-left:5rem!important;padding-right:5rem!important}code{background-color:var(--ifm-code-background);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical)var(--ifm-code-padding-horizontal);vertical-align:middle;border:.1rem solid rgba(0,0,0,.1)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height)var(--ifm-font-family-monospace);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-pre-padding);overflow:auto}pre code{font-size:100%;line-height:inherit;background-color:transparent;border:none;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);border-radius:.2rem;padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top)0 var(--ifm-heading-margin-bottom)0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:before{content:"";display:table}.markdown:after{clear:both;content:"";display:table}.markdown>:last-child{margin-bottom:0!important}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>pre,.markdown>ul,.markdown>p{margin-bottom:var(--ifm-leading)}.markdown li{word-wrap:break-word}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ul,ol{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ul ul,ul ol,ol ol,ol ul{margin:0}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}table{border-collapse:collapse;margin-bottom:var(--ifm-spacing-vertical);display:block;overflow:auto}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead{background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width)solid var(--ifm-table-border-color)}table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table th,table td{border:var(--ifm-table-border-width)solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default)}a:hover{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}a:not([href]){-webkit-text-decoration:none;text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width)solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-blockquote-padding-vertical)var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical)0;border:0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{-webkit-text-decoration:none;text-decoration:none}.clean-btn{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit}.clean-list{padding-left:0;list-style:none}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width)solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);color:var(--ifm-alert-foreground-color);padding:var(--ifm-alert-padding-vertical)var(--ifm-alert-padding-horizontal)}.alert__heading{font:bold var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase;align-items:center;margin-bottom:.5rem;display:flex}.alert__icon{margin-right:.4em;display:inline-flex}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{color:var(--ifm-alert-foreground-color);margin:calc(var(--ifm-alert-padding-vertical)*-1)calc(var(--ifm-alert-padding-horizontal)*-1)0 0;opacity:.75}.alert .close:hover,.alert .close:focus{opacity:1}.alert a{-webkit-text-decoration-color:var(--ifm-alert-border-color);text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{height:var(--ifm-avatar-photo-size);width:var(--ifm-avatar-photo-size);border-radius:50%;display:block;overflow:hidden}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{text-align:var(--ifm-avatar-intro-alignment);flex-direction:column;flex:1;justify-content:center;display:flex}.avatar__name{font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:.5rem;flex-direction:column;align-items:center}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width)solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);padding:var(--ifm-badge-padding-vertical)var(--ifm-badge-padding-horizontal);line-height:1;display:inline-block}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);--ifm-badge-border-color:var(--ifm-badge-background-color);color:var(--ifm-color-black)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger);--ifm-badge-border-color:var(--ifm-badge-background-color)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item{display:inline-block}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator)center;content:" ";filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));display:inline-block}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);color:var(--ifm-font-color-base);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier))calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-property:background,color;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);display:inline-block}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width)solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);color:var(--ifm-button-color);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier))calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;transition-property:color,background,border-color;transition-duration:var(--ifm-button-transition-duration);transition-timing-function:var(--ifm-transition-timing-default);line-height:1.5;display:inline-block}.button:hover{color:var(--ifm-button-color);-webkit-text-decoration:none;text-decoration:none}.button--outline{--ifm-button-background-color:transparent;--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--outline:hover,.button--outline:active,.button--outline.button--active{--ifm-button-color:var(--ifm-font-color-base-inverse)}.button--link{--ifm-button-background-color:transparent;--ifm-button-border-color:transparent;color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration)}.button--link:hover,.button--link:active,.button--link.button--active{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{width:100%;display:block}.button.button--secondary{color:var(--ifm-color-gray-900)}.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary:active,.button--primary.button--active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary:active,.button--secondary.button--active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success:active,.button--success.button--active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info:active,.button--info.button--active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning:active,.button--warning.button--active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger:active,.button--danger.button--active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{gap:var(--ifm-button-group-spacing);display:inline-flex}.button-group>.button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.button-group>.button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.button-group--block{justify-content:stretch;display:flex}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);flex-direction:column;display:flex;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__header,.card__body,.card__footer{padding:var(--ifm-card-vertical-spacing)var(--ifm-card-horizontal-spacing)}.card__header:not(:last-child),.card__body:not(:last-child),.card__footer:not(:last-child){padding-bottom:0}.card__header>:last-child,.card__body>:last-child,.card__footer>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{padding:var(--ifm-toc-padding-vertical)0;margin-bottom:0;font-size:.8rem}.table-of-contents,.table-of-contents ul{padding-left:var(--ifm-toc-padding-horizontal);list-style:none}.table-of-contents li{margin:var(--ifm-toc-padding-vertical)var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link:hover,.table-of-contents__link:hover code,.table-of-contents__link--active,.table-of-contents__link--active code{color:var(--ifm-color-primary);-webkit-text-decoration:none;text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default);padding:1rem;line-height:1}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{font-weight:var(--ifm-dropdown-font-weight);vertical-align:top;display:inline-flex;position:relative}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;visibility:visible;transform:translateY(-1px)}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);opacity:0;pointer-events:none;min-width:10rem;max-height:80vh;left:0;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);visibility:hidden;z-index:var(--ifm-z-index-dropdown);transition-property:opacity,transform,visibility;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);padding:.5rem;list-style:none;position:absolute;overflow-y:auto;transform:translateY(-.625rem)}.dropdown__link{color:var(--ifm-dropdown-link-color);white-space:nowrap;border-radius:.25rem;margin-top:.2rem;padding:.25rem .5rem;font-size:.875rem;display:block}.dropdown__link:hover,.dropdown__link--active{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);-webkit-text-decoration:none;text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{content:"";border:.4em solid transparent;border-top-color:currentColor;border-bottom:0 solid;margin-left:.3em;display:inline-block;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical)var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{max-width:var(--ifm-footer-logo-max-width);margin-top:1rem}.footer__title{color:var(--ifm-footer-title-color);font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__item{margin-top:0}.footer__items{margin-bottom:0}[type=checkbox]{padding:0}.hero{background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);align-items:center;padding:4rem 2rem;display:flex}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0;list-style:none}.menu__list .menu__list{padding-left:var(--ifm-menu-link-padding-horizontal);flex:0 0 100%;margin-top:.25rem}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.menu__list-item--collapsed .menu__link--sublist:after,.menu__list-item--collapsed .menu__caret:before{transform:rotate(90deg)}.menu__list-item-collapsible{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;flex-wrap:wrap;display:flex;position:relative}.menu__list-item-collapsible:hover,.menu__list-item-collapsible--active{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link:hover,.menu__list-item-collapsible .menu__link--active{background:0 0!important}.menu__link,.menu__caret{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;align-items:center;display:flex}.menu__link:hover,.menu__caret:hover{background:var(--ifm-menu-color-background-hover)}.menu__link{color:var(--ifm-menu-color);padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default);-webkit-text-decoration:none;text-decoration:none}.menu__link--sublist-caret:after{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;min-width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;margin-left:auto;transform:rotate(180deg)}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu__caret:before{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;transform:rotate(180deg)}html[data-theme=dark],.navbar--dark{--ifm-menu-link-sublist-icon-filter:invert(100%)sepia(94%)saturate(17%)hue-rotate(223deg)brightness(104%)contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);display:flex}.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{z-index:var(--ifm-z-index-fixed);position:sticky;top:0}.navbar__inner{flex-wrap:wrap;justify-content:space-between;width:100%;display:flex}.navbar__brand{color:var(--ifm-navbar-link-color);align-items:center;min-width:0;margin-right:1rem;display:flex}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;text-decoration:none}.navbar__title{flex:auto}.navbar__toggle{margin-right:.5rem;display:none}.navbar__logo{flex:none;height:2rem;margin-right:.5rem}.navbar__logo img{height:100%}.navbar__items{flex:1;align-items:center;min-width:0;display:flex}.navbar__items--center{flex:none}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:none;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal);display:inline-block}.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold)}.navbar__link:hover,.navbar__link--active{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:rgba(255,255,255,.1);--ifm-navbar-search-input-placeholder-color:rgba(255,255,255,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-menu-color-background-active:rgba(255,255,255,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{appearance:none;background:var(--ifm-navbar-search-input-background-color)var(--ifm-navbar-search-input-icon)no-repeat .75rem center/1rem 1rem;color:var(--ifm-navbar-search-input-color);cursor:text;border:none;border-radius:2rem;width:12.5rem;height:2rem;padding:0 .5rem 0 2.25rem;font-size:1rem;display:inline-block}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);opacity:0;visibility:hidden;width:var(--ifm-navbar-sidebar-width);transition-property:opacity,visibility,transform;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;transform:translate(-100%)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translate(0,0)}.navbar-sidebar__backdrop{opacity:0;visibility:hidden;transition-property:opacity,visibility;transition-duration:var(--ifm-transition-fast);background-color:rgba(0,0,0,.6);transition-timing-function:ease-in-out;position:fixed;inset:0}.navbar-sidebar__brand{box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);flex:1;align-items:center;display:flex}.navbar-sidebar__items{height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast)ease-in-out;display:flex;transform:translateZ(0)}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{width:calc(var(--ifm-navbar-sidebar-width));flex-shrink:0;padding:.5rem}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);text-align:left;width:calc(100% + 1rem);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;top:-.5rem}.navbar-sidebar__close{margin-left:auto;display:flex}.pagination{column-gap:var(--ifm-pagination-page-spacing);font-size:var(--ifm-pagination-font-size);padding-left:0;display:flex}.pagination--sm{--ifm-pagination-font-size:.8rem;--ifm-pagination-padding-horizontal:.8rem;--ifm-pagination-padding-vertical:.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{background:var(--ifm-pagination-item-active-background);color:var(--ifm-pagination-color-active)}.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);padding:var(--ifm-pagination-padding-vertical)var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:inline-block}.pagination__link:hover{-webkit-text-decoration:none;text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr);display:grid}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:block}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);-webkit-text-decoration:none;text-decoration:none}.pagination-nav__link--next{text-align:right;grid-column:2/3}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills{gap:var(--ifm-pills-spacing);padding-left:0;display:flex}.pills__item{cursor:pointer;font-weight:var(--ifm-font-weight-bold);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.5rem;padding:.25rem 1rem;display:inline-block}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{text-align:center;flex-grow:1}.tabs{color:var(--ifm-tabs-color);font-weight:var(--ifm-font-weight-bold);margin-bottom:0;padding-left:0;display:flex;overflow-x:auto}.tabs__item{border-radius:var(--ifm-global-radius);cursor:pointer;padding:var(--ifm-tabs-padding-vertical)var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-bottom:3px solid transparent;display:inline-flex}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);color:var(--ifm-tabs-color-active);border-bottom-right-radius:0;border-bottom-left-radius:0}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-500:var(--ifm-color-gray-500);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:rgba(255,255,255,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%)sepia(11%)saturate(0%)hue-rotate(149deg)brightness(99%)contrast(95%);--ifm-code-background:rgba(255,255,255,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:rgba(255,255,255,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}@media (width>=1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (width<=996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.footer__link-separator{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{width:max-content;display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__item{display:none}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}}@media (width<=576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0s;--ifm-transition-slow:0s}}@media print{.table-of-contents,.footer,.menu,.navbar,.pagination-nav{display:none}.tabs{page-break-inside:avoid}}}@layer docusaurus.theme-common{.themedComponent_mlkZ{display:none}[data-theme=light] .themedComponent--light_NVdE,[data-theme=dark] .themedComponent--dark_xIcU,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.errorBoundaryError_a6uf{white-space:pre-wrap;color:red}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.anchorTargetStickyNavbar_Vzrq{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorTargetHideOnScrollNavbar_vjPI{scroll-margin-top:.5rem}.details_lb9f{--docusaurus-details-summary-arrow-size:.38rem;--docusaurus-details-transition:transform .2s ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;list-style:none;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{content:"";border-width:var(--docusaurus-details-summary-arrow-size);border-style:solid;border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);transition:var(--docusaurus-details-transition);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2)50%;position:absolute;top:.45rem;left:0;transform:rotate(0)}.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before{transform:rotate(90deg)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child{margin-bottom:0}}@layer docusaurus.theme-classic{:root{--docusaurus-progress-bar-color:var(--ifm-color-primary)}#nprogress{pointer-events:none}#nprogress .bar{background:var(--docusaurus-progress-bar-color);z-index:1031;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{width:100px;height:100%;box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);opacity:1;position:absolute;right:0;transform:rotate(3deg)translateY(-4px)}.skipToContent_fXgn{z-index:calc(var(--ifm-z-index-fixed) + 1);padding:calc(var(--ifm-global-spacing)/2)var(--ifm-global-spacing);color:var(--ifm-color-emphasis-900);background-color:var(--ifm-background-surface-color);position:fixed;top:1rem;left:100%}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{padding:0;line-height:0}.content_knG7{text-align:center;padding:5px 0;font-size:85%}.content_knG7 a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}:root{--docusaurus-announcement-bar-height:auto}.announcementBar_mb4j{height:var(--docusaurus-announcement-bar-height);background-color:var(--ifm-color-white);color:var(--ifm-color-black);border-bottom:1px solid var(--ifm-color-emphasis-100);align-items:center;display:flex}html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{flex:0 0 30px;align-self:stretch}.announcementBarContent_xLdY{flex:auto}@media print{.announcementBar_mb4j{display:none}}@media (width>=997px){:root{--docusaurus-announcement-bar-height:30px}.announcementBarPlaceholder_vyr4,.announcementBarClose_gvF7{flex-basis:50px}}.toggle_vylO{width:2rem;height:2rem}.toggleButton_gllP{-webkit-tap-highlight-color:transparent;width:100%;height:100%;transition:background var(--ifm-transition-fast);border-radius:50%;justify-content:center;align-items:center;display:flex}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleIcon_g3eP{display:none}[data-theme-choice=system] .systemToggleIcon_QzmC,[data-theme-choice=light] .lightToggleIcon_pyhR,[data-theme-choice=dark] .darkToggleIcon_wfgR{display:initial}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_J0Sd{cursor:pointer}.iconLanguage_nlXk{vertical-align:text-bottom;margin-right:5px}.navbarSearchContainer_Bca1:empty{display:none}@media (width<=996px){.navbarSearchContainer_Bca1{right:var(--ifm-navbar-padding-horizontal);position:absolute}}@media (width>=997px){.navbarSearchContainer_Bca1{padding:0 var(--ifm-navbar-item-padding-horizontal)}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast)ease}.navbarHidden_jGov{transform:translateY(calc(-100% - 2px))}@media (width<=996px){.colorModeToggle_DEke{display:none}}.navbar__items--right>:last-child{padding-right:0}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover{opacity:1}.hash-link{opacity:0;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none;padding-left:.5rem}.hash-link:before{content:"#"}.hash-link:focus,:hover>.hash-link{opacity:1}html,body{height:100%}.mainWrapper_z2l0{flex-direction:column;flex:1 0 auto;display:flex}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{flex-direction:column;min-height:100%;display:flex}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);-webkit-text-decoration:none;text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);padding:.2rem .5rem .3rem;font-size:90%}.tagWithCount_h2kH{border-left:0;align-items:center;padding:0 .5rem 0 1rem;display:flex;position:relative}.tagWithCount_h2kH:before,.tagWithCount_h2kH:after{content:"";border:1px solid var(--docusaurus-tag-list-border);transition:inherit;position:absolute;top:50%}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;width:1.18rem;height:1.18rem;right:100%;transform:translate(50%,-50%)rotate(-45deg)}.tagWithCount_h2kH:after{border-radius:50%;width:.5rem;height:.5rem;left:0;transform:translateY(-50%)}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);color:var(--ifm-color-black);border-radius:var(--ifm-global-radius);margin-left:.3rem;padding:.1rem .4rem;font-size:.7rem;line-height:1.2}.tags_jXut{display:inline}.tag_QGVx{margin:0 .4rem .5rem 0;display:inline-block}.iconEdit_Z9Sw{vertical-align:sub;margin-right:.3em}.lastUpdated_JAkA{margin-top:.2rem;font-size:smaller;font-style:italic}@media (width>=997px){.lastUpdated_JAkA{text-align:right}}@media print{.noPrint_WFHX{display:none}}.tocCollapsibleButton_TO0P{font-size:inherit;justify-content:space-between;align-items:center;width:100%;padding:.4rem .8rem;display:flex}.tocCollapsibleButton_TO0P:after{content:"";background:var(--ifm-menu-link-sublist-icon)50% 50%/2rem 2rem no-repeat;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast);transform:rotate(180deg)}.tocCollapsibleButtonExpanded_MG3E:after{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);padding:.2rem 0;font-size:15px}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tocCollapsibleExpanded_sAul{transform:none}@media (width>=997px){.tocMobile_ITEo{display:none}}@media print{.tocMobile_ITEo{display:none}}.tableOfContents_bqdL{max-height:calc(100vh - (var(--ifm-navbar-height) + 2rem));top:calc(var(--ifm-navbar-height) + 1rem);position:sticky;overflow-y:auto}@media (width<=996px){.tableOfContents_bqdL{display:none}.docItemContainer_F8PC{padding:0 .3rem}}.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color);margin-bottom:var(--ifm-leading);box-shadow:var(--ifm-global-shadow-lw);border-radius:var(--ifm-code-border-radius)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockStandalone_MEMb{padding:0}.codeBlockLines_e6Vv{font:inherit;float:left;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{padding:var(--ifm-pre-padding)0;display:table}@media print{.codeBlockLines_e6Vv{white-space:pre-wrap}}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);margin:0 calc(-1*var(--ifm-pre-padding));padding:0 var(--ifm-pre-padding);display:block}.codeLine_lJS_{counter-increment:line-count;display:table-row}.codeLineNumber_Tfdd{text-align:right;width:1%;padding:0 var(--ifm-pre-padding);background:var(--ifm-pre-background);overflow-wrap:normal;display:table-cell;position:sticky;left:0}.codeLineNumber_Tfdd:before{content:counter(line-count);opacity:.4}.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_Vdqa{opacity:1!important}.copyButtonIcons_IEyt{width:1.125rem;height:1.125rem;position:relative}.copyButtonIcon_TrPX,.copyButtonSuccessIcon_cVMy{fill:currentColor;opacity:inherit;width:inherit;height:inherit;transition:all var(--ifm-transition-fast)ease;position:absolute;top:0;left:0}.copyButtonSuccessIcon_cVMy{opacity:0;color:#00d600;top:50%;left:50%;transform:translate(-50%,-50%)scale(.33)}.copyButtonCopied_Vdqa .copyButtonIcon_TrPX{opacity:0;transform:scale(.33)}.copyButtonCopied_Vdqa .copyButtonSuccessIcon_cVMy{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.wordWrapButtonIcon_b1P5{width:1.2rem;height:1.2rem}.wordWrapButtonEnabled_uzNF .wordWrapButtonIcon_b1P5{color:var(--ifm-color-primary)}.buttonGroup_M5ko{right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);column-gap:.2rem;display:flex;position:absolute}.buttonGroup_M5ko button{background:var(--prism-background-color);color:var(--prism-color);border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);transition:opacity var(--ifm-transition-fast)ease-in-out;opacity:0;align-items:center;padding:.4rem;line-height:0;display:flex}.buttonGroup_M5ko button:hover{opacity:1!important}.buttonGroup_M5ko button:focus-visible{opacity:1!important}.theme-code-block:hover .buttonGroup_M5ko button{opacity:.4}.codeBlockContent_QJqH{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_OeMC{border-bottom:1px solid var(--ifm-color-emphasis-300);font-size:var(--ifm-code-font-size);padding:.75rem var(--ifm-pre-padding);border-top-left-radius:inherit;border-top-right-radius:inherit;font-weight:500}.codeBlockTitle_OeMC+.codeBlockContent_QJqH .codeBlock_a8dz{border-top-left-radius:0;border-top-right-radius:0}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast)ease;margin:0 0 var(--ifm-spacing-vertical);border:1px solid var(--ifm-alert-border-color)}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight)var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{vertical-align:middle;margin-right:.4em;display:inline-block}.admonitionIcon_Rf37 svg{width:1.6em;height:1.6em;fill:var(--ifm-alert-foreground-color);display:inline-block}.admonitionContent_BuS1>:last-child{margin-bottom:0}.breadcrumbHomeIcon_YNFT{vertical-align:top;width:1.1rem;height:1.1rem;position:relative;top:1px}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:.8;margin-bottom:.8rem}.docItemContainer_Djhp header+*,.docItemContainer_Djhp article>:first-child{margin-top:0}@media (width>=997px){.docItemCol_VOVn{max-width:75%!important}}.tabList__CuJ{margin-bottom:var(--ifm-leading)}.tabItem_LNqP{margin-top:0!important}.tabItem_Ymn6>:last-child{margin-bottom:0}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);width:3rem;height:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1);box-shadow:var(--ifm-global-shadow-lw);transition:all var(--ifm-transition-fast)var(--ifm-transition-timing-default);opacity:0;visibility:hidden;border-radius:50%;position:fixed;bottom:1.3rem;right:1.3rem;transform:scale(0)}.backToTopButton_sjWU:after{content:" ";-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;background-color:var(--ifm-color-emphasis-1000);width:100%;height:100%;display:inline-block}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}.backToTopButtonShow_xfvO{opacity:1;visibility:visible;transform:scale(1)}:root{--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1)}[data-theme=dark]:root{--docusaurus-collapse-button-bg:rgba(255,255,255,.05);--docusaurus-collapse-button-bg-hover:rgba(255,255,255,.1)}@media (width>=997px){.collapseSidebarButton_PEFL{background-color:var(--docusaurus-collapse-button-bg);border:1px solid var(--ifm-toc-border-color);border-radius:0;height:40px;position:sticky;bottom:0;display:block!important}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:hover,.collapseSidebarButton_PEFL:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}}.collapseSidebarButton_PEFL{margin:0;display:none}.menuExternalLink_NmtK{align-items:center}.linkLabel_WmDU{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.categoryLink_byQd{overflow:hidden}.menu__link--sublist-caret:after{margin-left:var(--ifm-menu-link-padding-vertical)}.categoryLinkLabel_W154{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;display:-webkit-box;overflow:hidden}@media (width>=997px){.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{scrollbar-gutter:stable;padding:.5rem 0 .5rem .5rem}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width);flex-direction:column;display:flex}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{margin:0 var(--ifm-navbar-padding-horizontal);min-height:var(--ifm-navbar-height);max-height:var(--ifm-navbar-height);align-items:center;color:inherit!important;-webkit-text-decoration:none!important;text-decoration:none!important;display:flex!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}}.sidebarLogo_isFc{display:none}@media (width>=997px){.expandButton_TmdG{width:100%;height:100%;transition:background-color var(--ifm-transition-fast)ease;background-color:var(--docusaurus-collapse-button-bg);justify-content:center;align-items:center;display:flex;position:absolute;top:0;right:0}.expandButton_TmdG:hover,.expandButton_TmdG:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}.expandButtonIcon_i1dp{transform:rotate(0)}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}}:root{--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.docSidebarContainer_YfHR{display:none}@media (width>=997px){.docSidebarContainer_YfHR{width:var(--doc-sidebar-width);margin-top:calc(-1*var(--ifm-navbar-height));border-right:1px solid var(--ifm-toc-border-color);will-change:width;transition:width var(--ifm-transition-fast)ease;clip-path:inset(0);display:block}.docSidebarContainerHidden_DPk8{width:var(--doc-sidebar-hidden-width);cursor:pointer}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}}.docMainContainer_TBSr{width:100%;display:flex}@media (width>=997px){.docMainContainer_TBSr{max-width:calc(100% - var(--doc-sidebar-width));flex-grow:1}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}.docRoot_UBD9{width:100%;display:flex}.docsWrapper_hBAB{flex:1 0 auto;display:flex}}@layer docusaurus.core{#__docusaurus-base-url-issue-banner-container{display:none}}@layer docusaurus.plugin-debug,docusaurus.theme-mermaid,docusaurus.theme-live-codeblock,docusaurus.theme-search-algolia.docsearch,docusaurus.theme-search-algolia;:root{--ifm-color-primary:#00d4ff;--ifm-color-primary-dark:#00b8de;--ifm-color-primary-darker:#00a8ce;--ifm-color-primary-darkest:#0088a8;--ifm-color-primary-light:#1ad8ff;--ifm-color-primary-lighter:#33dcff;--ifm-color-primary-lightest:#66e3ff;--ifm-code-font-size:95%;--ifm-font-family-base:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,sans-serif;--ifm-font-family-monospace:"SF Mono","Cascadia Code","Fira Code","JetBrains Mono","Menlo",monospace;--docusaurus-highlighted-code-line-bg:rgba(0,212,255,.06)}[data-theme=dark]{--ifm-color-primary:#00d4ff;--ifm-color-primary-dark:#00b8de;--ifm-color-primary-darker:#00a8ce;--ifm-color-primary-darkest:#0088a8;--ifm-color-primary-light:#1ad8ff;--ifm-color-primary-lighter:#33dcff;--ifm-color-primary-lightest:#66e3ff;--ifm-background-color:#0a0a0a;--ifm-background-surface-color:#111;--ifm-color-content:#888;--docusaurus-highlighted-code-line-bg:rgba(0,212,255,.08)}[data-theme=dark] .navbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:rgba(10,10,10,.85);border-bottom:1px solid #222}[data-theme=dark] .footer{background:#080808;border-top:1px solid #222}[data-theme=dark] .menu{background:#0a0a0a}[data-theme=dark] .table-of-contents{border-left:1px solid #222}[data-theme=dark] code{color:#00d4ff;background:rgba(0,212,255,.08);border:none}[data-theme=light] code{color:#0088a8;background:rgba(0,180,220,.08);border:none}[data-theme=dark] .theme-doc-sidebar-container{border-right:1px solid #222}.navbar__title{font-family:var(--ifm-font-family-monospace);font-weight:700}[data-theme=dark] .pagination-nav__link,[data-theme=dark] .card{background:#111;border-color:#222}[data-theme=dark] .admonition{background:#111}[data-theme=dark] .admonition admonition-heading h5{color:#00d4ff}[data-theme=dark] .admonition--info{border-left-color:#00d4ff}[data-theme=dark] .admonition--tip{border-left-color:#28c840}[data-theme=dark] .admonition--warning{border-left-color:#febc2e}[data-theme=dark] .admonition--caution{border-left-color:#ff5f57}[data-theme=dark] .admonition--info .admonition-heading h5{color:#00d4ff}[data-theme=dark] .admonition--tip .admonition-heading h5{color:#28c840}[data-theme=dark] .admonition--warning .admonition-heading h5{color:#febc2e}[data-theme=dark] .admonition--caution .admonition-heading h5{color:#ff5f57}[data-theme=dark] table{border-collapse:collapse}[data-theme=dark] table th{color:#00d4ff;font-family:var(--ifm-font-family-monospace);text-transform:uppercase;letter-spacing:.06em;background:#111;border-bottom:1px solid #222;font-size:.85em}[data-theme=dark] table td{color:#888;border-bottom:1px solid #222}[data-theme=dark] table tr:hover td{background:rgba(0,212,255,.03)}[data-theme=dark] table td:first-child code{color:#00d4ff}.searchBar_RVTs .dropdownMenu_qbY6{background:var(--search-local-modal-background,#f5f6f7);box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 rgba(255,255,255,.5),0 3px 8px 0 #555a64);width:var(--search-local-modal-width,560px);padding:var(--search-local-spacing,12px);border-radius:6px;margin-top:8px;position:relative;left:auto!important;right:0!important}.searchInput_YFbd:focus{outline:2px solid var(--search-local-input-active-border-color,var(--ifm-color-primary));outline-offset:0px}html[data-theme=dark] div.ask-ai,div.ask-ai{--ask-ai-primary:var(--ifm-color-primary);--ask-ai-primary-hover:var(--ifm-color-primary-light);--ask-ai-foreground:var(--ifm-color-content);--ask-ai-border:var(--ifm-color-emphasis-300);--ask-ai-error:var(--ifm-color-danger);--ask-ai-button-bg:var(--ifm-color-emphasis-200)}.ask-ai{--ask-ai-background:var(--search-local-modal-background,#f5f6f7);--ask-ai-muted:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .ask-ai{--ask-ai-background:var(--search-local-modal-background,var(--ifm-background-color));--ask-ai-muted:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}@media (width>996px){.searchBar_RVTs.searchBarLeft_MXDe .dropdownMenu_qbY6{left:0!important;right:auto!important}}@media (width<=576px){.navbar__search-input:not(:focus){width:2rem}.searchBar_RVTs .dropdownMenu_qbY6{width:var(--search-local-modal-width-sm,340px);max-width:calc(100vw - var(--ifm-navbar-padding-horizontal)*2)}}html[data-theme=dark] .searchBar_RVTs .dropdownMenu_qbY6{background:var(--search-local-modal-background,var(--ifm-background-color));box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309)}.searchBar_RVTs .dropdownMenu_qbY6 .suggestion_fB_2{cursor:pointer;background:var(--search-local-hit-background,#fff);box-shadow:var(--search-local-hit-shadow,0 1px 3px 0 #d4d9e1);padding:0 var(--search-local-spacing,12px);width:100%;color:var(--search-local-hit-color,#444950);height:var(--search-local-hit-height,56px);border-radius:4px;flex-direction:row;align-items:center;display:flex}html[data-theme=dark] .dropdownMenu_qbY6 .suggestion_fB_2{background:var(--search-local-hit-background,var(--ifm-color-emphasis-100));box-shadow:var(--search-local-hit-shadow,none);color:var(--search-local-hit-color,var(--ifm-font-color-base))}.searchBar_RVTs .dropdownMenu_qbY6 .suggestion_fB_2:not(:last-child){margin-bottom:4px}.searchBar_RVTs .dropdownMenu_qbY6 .suggestion_fB_2.cursor_eG29{background-color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitTree_kk6K,.hitIcon_a7Zy,.hitPath_ieM4,.noResultsIcon_EBY5,.hitFooter_E9YW a{color:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .hitTree_kk6K,html[data-theme=dark] .hitIcon_a7Zy,html[data-theme=dark] .hitPath_ieM4,html[data-theme=dark] .noResultsIcon_EBY5{color:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}.hitTree_kk6K{align-items:center;display:flex}.hitTree_kk6K>svg{height:var(--search-local-hit-height,56px);opacity:.5;stroke-width:var(--search-local-icon-stroke-width,1.4);width:24px}.hitIcon_a7Zy{stroke-width:var(--search-local-icon-stroke-width,1.4);width:20px;height:20px}.hitWrapper_sAK8{flex-direction:column;flex:auto;justify-content:center;width:80%;margin:0 8px;font-weight:500;display:flex;overflow-x:hidden}.hitWrapper_sAK8 mark{color:var(--search-local-highlight-color,var(--ifm-color-primary));background:0 0}.hitTitle_vyVt{font-size:.9em}.hitPath_ieM4{font-size:.75em}.hitPath_ieM4,.hitTitle_vyVt{white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}.hitAction_NqkB{width:20px;height:20px}.hideAction_vcyE>svg{display:none}.noResults_l6Q3{padding:var(--search-local-spacing,12px)0;flex-direction:column;justify-content:center;align-items:center;display:flex}.noResultsIcon_EBY5{margin-bottom:var(--search-local-spacing,12px)}.hitFooter_E9YW{text-align:center;margin-top:var(--search-local-spacing,12px);font-size:.85em}.hitFooter_E9YW a{-webkit-text-decoration:underline;text-decoration:underline}.cursor_eG29 .hideAction_vcyE>svg{display:block}.suggestion_fB_2.cursor_eG29,.suggestion_fB_2.cursor_eG29 mark,.suggestion_fB_2.cursor_eG29 .hitTree_kk6K,.suggestion_fB_2.cursor_eG29 .hitIcon_a7Zy,.suggestion_fB_2.cursor_eG29 .hitPath_ieM4{color:var(--search-local-hit-active-color,var(--ifm-color-white))!important}.suggestion_fB_2.cursor_eG29 mark{-webkit-text-decoration:underline;text-decoration:underline}.searchBarContainer_NW3z{margin-left:16px}.searchBarContainer_NW3z .searchBarLoadingRing_YnHq{display:none;position:absolute;top:6px;left:10px}.searchBarContainer_NW3z .searchClearButton_qk4g{background:0 0;border:none;padding:0;line-height:1rem;position:absolute;top:50%;right:.8rem;transform:translateY(-50%)}.navbar__search{position:relative}.searchIndexLoading_EJ1f .navbar__search-input{background-image:none}.searchBarContainer_NW3z.searchIndexLoading_EJ1f .searchBarLoadingRing_YnHq{display:inline-block}.searchHintContainer_Pkmr{pointer-events:none;justify-content:center;align-items:center;gap:4px;height:100%;display:flex;position:absolute;top:0;right:10px}.searchHint_iIMx{color:var(--ifm-navbar-search-input-placeholder-color);background-color:var(--ifm-navbar-search-input-background-color);border:1px solid var(--ifm-color-emphasis-500);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-500)}@media (width<=576px){.searchBarContainer_NW3z:not(.focused_OWtg) .searchClearButton_qk4g,.searchHintContainer_Pkmr{display:none}}html[dir=rtl] .searchHintContainer_Pkmr{left:10px;right:auto}html[dir=rtl] .searchBarContainer_NW3z .searchClearButton_qk4g{left:.8rem;right:auto}html[dir=rtl] .searchBarContainer_NW3z .searchBarLoadingRing_YnHq{left:auto;right:10px}html[dir=rtl] .navbar__search-input{padding:0 2.25em 0 .5em}.loadingRing_RJI3{width:20px;height:20px;opacity:var(--search-local-loading-icon-opacity,.5);display:inline-block;position:relative}.loadingRing_RJI3 div{box-sizing:border-box;border:2px solid var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color));border-color:var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color))transparent transparent transparent;border-radius:50%;width:16px;height:16px;margin:2px;animation:1.2s cubic-bezier(.5,0,.5,1) infinite loading-ring_FB5o;display:block;position:absolute}.loadingRing_RJI3 div:first-child{animation-delay:-.45s}.loadingRing_RJI3 div:nth-child(2){animation-delay:-.3s}.loadingRing_RJI3 div:nth-child(3){animation-delay:-.15s}@keyframes loading-ring_FB5o{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.searchContextInput_mXoe,.searchQueryInput_CFBF{border-radius:var(--ifm-global-radius);border:var(--ifm-global-border-width)solid var(--ifm-color-content-secondary);font-size:var(--ifm-font-size-base);background:var(--ifm-background-color);width:100%;color:var(--ifm-font-color-base);margin-bottom:1rem;padding:.5rem}.searchResultItem_U687{border-bottom:1px solid #dfe3e8;padding:1rem 0}.searchResultItem_U687>h2{margin-bottom:0}.searchResultItemPath_uIbk{color:var(--ifm-color-content-secondary);margin:.5rem 0 0;font-size:.8rem}.searchResultItemSummary_oZHr{margin:.5rem 0 0;font-style:italic}@media only screen and (width<=996px){.searchQueryColumn_q7nx{max-width:60%!important}.searchContextColumn_oWAF{max-width:40%!important}}@media screen and (width<=576px){.searchQueryColumn_q7nx{max-width:100%!important}.searchContextColumn_oWAF{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}.lp-page{--bg:#0a0a0a;--bg-card:#111;--bg-card-hover:#161616;--bg-terminal:#0c0c0c;--cyan:#00d4ff;--cyan-dim:#0090aa;--cyan-glow:rgba(0,212,255,.15);--white:#f0f0f0;--gray:#888;--gray-dim:#555;--border:#222;--red:#ff5f57;--yellow:#febc2e;--green:#28c840;--font:"SF Mono","Cascadia Code","Fira Code","JetBrains Mono","Menlo",monospace;--font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,sans-serif;--max-w:1120px;background:var(--bg);color:var(--white);font-family:var(--font-body);margin: - var(--ifm-navbar-height);line-height:1.7;overflow-x:hidden}.lp-page .navbar,.lp-page .footer{display:none!important}.lp-page .main-wrapper{margin:0;padding:0}.lp-nav{z-index:100;-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);background:rgba(10,10,10,.85);position:fixed;top:0;left:0;right:0}.lp-nav-inner{max-width:var(--max-w);justify-content:space-between;align-items:center;height:56px;margin:0 auto;padding:0 24px;display:flex}.lp-nav-logo{font-family:var(--font);color:var(--cyan);font-size:1.1em;font-weight:700;-webkit-text-decoration:none;text-decoration:none}.lp-nav-logo:hover{-webkit-text-decoration:none;text-decoration:none}.lp-nav-links{align-items:center;gap:24px;display:flex}.lp-nav-links a{color:var(--gray);font-size:.9em;-webkit-text-decoration:none;text-decoration:none;transition:color .2s}.lp-nav-links a:hover{color:var(--white);-webkit-text-decoration:none;text-decoration:none}.lp-nav-right{align-items:center;gap:24px;display:flex}.lp-nav-toggle{color:var(--white);cursor:pointer;background:0 0;border:none;padding:0;font-size:1.5em;line-height:1;display:none}.lp-github-btn{border:1px solid var(--border);background:rgba(255,255,255,.06);border-radius:6px;align-items:center;gap:6px;padding:4px 12px 4px 10px;font-size:.85em;font-weight:500;transition:all .2s;display:inline-flex;color:var(--gray)!important;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-github-btn:hover{background:rgba(255,255,255,.1);border-color:#444;color:var(--white)!important;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-github-btn svg{flex-shrink:0}.lp-github-btn-text{font-size:.95em;font-weight:600}.lp-github-btn-count{border-left:1px solid var(--border);text-align:center;background:rgba(255,255,255,.06);border-radius:0 5px 5px 0;align-items:center;min-width:20px;margin-left:2px;margin-right:-6px;padding:3px 8px;font-weight:600;display:inline-flex}@media (width<=768px){.lp-nav-links{background:var(--bg);border-bottom:1px solid var(--border);z-index:99;flex-direction:column;gap:16px;padding:16px 24px;display:none;position:absolute;top:56px;left:0;right:0}.lp-nav-links.lp-nav-links-open{display:flex}.lp-nav-toggle{display:block}.lp-hero-ascii{font-size:.45rem}.lp-hero-terminal,.lp-terminal-window{border-radius:0;margin-left:-12px;margin-right:-12px}.lp-terminal-body{padding:16px;font-size:.75em}.lp-steps{flex-direction:column;align-items:center}.lp-compare-table{font-size:.8em}.lp-footer-inner{text-align:center;flex-direction:column}}.lp-page a{color:var(--cyan);-webkit-text-decoration:none;text-decoration:none}.lp-page a:hover{-webkit-text-decoration:underline;text-decoration:underline}.lp-page code{font-family:var(--font);color:var(--cyan);background:rgba(0,212,255,.08);border-radius:4px;padding:2px 8px;font-size:.9em}.lp-container{max-width:var(--max-w);margin:0 auto;padding:0 24px}.lp-hero{justify-content:center;align-items:center;min-height:100vh;margin-top:-56px;padding:120px 0 80px;display:flex;position:relative;overflow:hidden}.lp-hero-bg{background:radial-gradient(80% 50% at 50% -20%,rgba(0,212,255,.08) 0%,transparent 60%),radial-gradient(60% 40% at 80% 80%,rgba(0,212,255,.04) 0%,transparent 50%);position:absolute;inset:0}.lp-hero-content{text-align:center;position:relative}.lp-hero-ascii{font-family:var(--font);color:var(--cyan);text-shadow:0 0 30px rgba(0,212,255,.3);white-space:pre;margin-bottom:24px;font-size:clamp(.55rem,2vw,1.1rem);line-height:1.3;overflow-x:auto;background:0 0!important;border:none!important;border-radius:0!important;margin-left:0!important;margin-right:0!important;padding:0!important}.lp-hero-tagline{color:var(--white);letter-spacing:.02em;margin-bottom:16px;font-size:clamp(1.3em,3vw,1.8em);font-weight:300}.lp-hero-sub{color:var(--gray);max-width:600px;margin:0 auto 32px;font-size:1.05em}.lp-hero-actions{flex-wrap:wrap;justify-content:center;gap:16px;margin-bottom:24px;display:flex}.lp-hero-install{background:var(--bg-terminal);border:1px solid var(--border);border-radius:8px;margin-bottom:48px;padding:12px 24px;display:inline-block}.lp-hero-install code{background:0 0;padding:0;font-size:1em}.lp-btn{font-family:var(--font-body);cursor:pointer;border:none;border-radius:8px;padding:12px 28px;font-size:1em;-webkit-text-decoration:none;text-decoration:none;transition:all .2s;display:inline-block}.lp-btn-primary{background:var(--cyan);font-weight:600;color:#0a0a0a!important}.lp-btn-primary:hover{background:#3df;-webkit-text-decoration:none;text-decoration:none}.lp-btn-secondary{color:var(--cyan);border:1px solid var(--cyan-dim);background:0 0}.lp-btn-secondary:hover{background:var(--cyan-glow);-webkit-text-decoration:none;text-decoration:none}.lp-terminal-window{background:var(--bg-terminal);border:1px solid var(--border);text-align:left;border-radius:10px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.5),0 0 80px rgba(0,212,255,.06)}.lp-hero-terminal{max-width:680px;margin:0 auto}.lp-terminal-bar{border-bottom:1px solid var(--border);background:#1a1a1a;align-items:center;gap:8px;padding:10px 16px;display:flex}.lp-terminal-dot{border-radius:50%;width:12px;height:12px}.lp-dot-red{background:var(--red)}.lp-dot-yellow{background:var(--yellow)}.lp-dot-green{background:var(--green)}.lp-terminal-title{font-family:var(--font);color:var(--gray-dim);margin-left:8px;font-size:.75em}.lp-terminal-body{font-family:var(--font);min-height:200px;color:var(--white);padding:20px 24px;font-size:.85em;line-height:1.7;overflow-x:auto}.lp-prompt{color:var(--cyan)}.lp-agent{color:var(--cyan);font-weight:700}.lp-tool{color:var(--gray-dim);font-style:italic}.lp-output{color:var(--gray)}.lp-cursor{background:var(--cyan);vertical-align:text-bottom;width:8px;height:1em;margin-left:2px;animation:1s step-end infinite lp-blink;display:inline-block}@keyframes lp-blink{50%{opacity:0}}.lp-terminal-inline{background:var(--bg-terminal);border:1px solid var(--border);border-radius:8px;margin:12px 0;padding:16px 20px}.lp-terminal-inline code{background:0 0;padding:0;font-size:1em}.lp-section{padding:100px 0}.lp-section-dark{background:#080808}.lp-section-alt{background:#0c0c14}.lp-section-title{text-align:center;margin-bottom:12px;font-size:clamp(1.5em,3.5vw,2.2em);font-weight:700}.lp-section-sub{color:var(--gray);text-align:center;margin-bottom:48px;font-size:1.05em}.lp-features-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;display:grid}.lp-feature-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:32px;transition:all .3s}.lp-feature-card:hover{background:var(--bg-card-hover);border-color:var(--cyan-dim);transform:translateY(-2px)}.lp-feature-icon{margin-bottom:16px;font-size:2em}.lp-feature-card h3{color:var(--white);margin-bottom:8px;font-size:1.15em}.lp-feature-card p{color:var(--gray);font-size:.95em}.lp-steps{flex-wrap:wrap;justify-content:center;gap:48px;display:flex}.lp-step{text-align:center;flex:1;min-width:240px;max-width:320px}.lp-step-number{background:var(--cyan);width:48px;height:48px;color:var(--bg);border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;font-size:1.2em;font-weight:700;display:inline-flex}.lp-step h3{margin-bottom:8px;font-size:1.2em}.lp-step p{color:var(--gray);font-size:.95em}.lp-caps-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;display:grid}.lp-cap-group{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:24px}.lp-cap-group h3{margin-bottom:12px;font-size:1em}.lp-cap-group ul{margin:0;padding:0;list-style:none}.lp-cap-group li{color:var(--gray);padding:4px 0;font-size:.9em}.lp-cap-group li code{font-size:.85em}.lp-compare-table{overflow-x:auto}.lp-compare-table table{border-collapse:collapse;width:100%;font-size:.9em}.lp-compare-table th,.lp-compare-table td{text-align:left;border-bottom:1px solid var(--border);padding:14px 18px}.lp-compare-table th{color:var(--gray-dim);text-transform:uppercase;letter-spacing:.04em;font-size:.85em;font-weight:600}.lp-compare-table th.lp-highlight{color:var(--cyan)}.lp-compare-table td.lp-highlight{color:var(--white);font-weight:500}.lp-compare-table td.lp-no{color:var(--gray-dim)}.lp-compare-table td.lp-partial{color:var(--yellow)}.lp-compare-table tr:hover td{background:rgba(255,255,255,.02)}.lp-arch-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;display:grid}.lp-arch-card{background:var(--bg-card);border:1px solid var(--border);border-radius:10px;padding:24px}.lp-arch-label{color:var(--cyan);font-family:var(--font);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;font-size:.8em}.lp-arch-value{margin-bottom:6px;font-size:1.05em;font-weight:600}.lp-arch-desc{color:var(--gray);font-size:.9em}.lp-provider-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:24px;display:grid}.lp-provider-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;align-items:flex-start;gap:16px;padding:24px;transition:all .3s;display:flex}.lp-provider-card:hover{background:var(--bg-card-hover);border-color:var(--cyan-dim);transform:translateY(-2px)}.lp-provider-logo{width:40px;height:40px;color:var(--cyan);flex-shrink:0;justify-content:center;align-items:center;font-size:1.5em;display:flex}.lp-provider-info h3{color:var(--white);margin-bottom:4px;font-size:1.05em}.lp-provider-info p{color:var(--gray);margin-bottom:0;font-size:.9em;line-height:1.5}.lp-provider-note{text-align:center;color:var(--gray-dim);border:1px dashed var(--border);border-radius:8px;margin-top:16px;padding:16px;font-size:.92em}.lp-provider-note p{margin:0}.lp-brain-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:48px;display:grid}.lp-brain-card{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:28px 24px;transition:all .3s}.lp-brain-card:hover{background:var(--bg-card-hover);border-color:var(--cyan-dim);transform:translateY(-2px)}.lp-brain-card h3{color:var(--white);margin-bottom:8px;font-size:1.15em}.lp-brain-card p{color:var(--gray);font-size:.95em;line-height:1.65}.lp-cta-section{text-align:center}.lp-cta-terminal{background:var(--bg-terminal);border:1px solid var(--cyan-dim);box-shadow:0 0 40px var(--cyan-glow);border-radius:10px;margin:32px 0 16px;padding:20px 32px;display:inline-block}.lp-cta-terminal code{color:var(--cyan);background:0 0;padding:0;font-size:1.1em}.lp-cta-sub{color:var(--gray);margin-bottom:24px}.lp-cta-links{justify-content:center;gap:24px;display:flex}.lp-cta-links a{color:var(--gray);font-size:.95em}.lp-cta-links a:hover{color:var(--cyan)}.lp-footer{border-top:1px solid var(--border);padding:32px 0}.lp-footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.lp-footer-logo{font-family:var(--font);color:var(--cyan);font-weight:700}.lp-footer-tagline{color:var(--gray-dim);margin-left:12px;font-size:.9em}.lp-footer-links{gap:24px;display:flex}.lp-footer-links a{color:var(--gray-dim);font-size:.9em}.lp-footer-links a:hover{color:var(--white)}.lp-reveal{opacity:0;transition:opacity .6s,transform .6s;transform:translateY(24px)}.lp-reveal.lp-revealed{opacity:1;transform:translateY(0)}@media (width<=768px){.lp-hero-ascii{font-size:.45rem}.lp-hero-terminal,.lp-terminal-window{border-radius:0;margin-left:-12px;margin-right:-12px}.lp-terminal-body{padding:16px;font-size:.75em}.lp-steps{flex-direction:column;align-items:center}.lp-compare-table{font-size:.8em}.lp-footer-inner{text-align:center;flex-direction:column}}
\ No newline at end of file
+@layer docusaurus.infima{:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-500:var(--ifm-color-gray-500);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:transparent;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:.4rem;--ifm-hover-overlay:rgba(0,0,0,.05);--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:.2s;--ifm-transition-slow:.4s;--ifm-transition-timing-default:cubic-bezier(.08,.52,.52,1);--ifm-global-shadow-lw:0 1px 2px 0 rgba(0,0,0,.1);--ifm-global-shadow-md:0 5px 40px rgba(0,0,0,.2);--ifm-global-shadow-tl:0 12px 28px 0 rgba(0,0,0,.2),0 2px 4px 0 rgba(0,0,0,.1);--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:.1rem;--ifm-code-padding-vertical:.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:.875rem;--ifm-h6-font-size:.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:.75rem;--ifm-table-background:transparent;--ifm-table-stripe-background:rgba(0,0,0,.03);--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:.8rem;--ifm-breadcrumb-padding-vertical:.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 256 256\"><g><g><polygon points=\"79.093,0 48.907,30.187 146.72,128 48.907,225.813 79.093,256 207.093,128\"/></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>");--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-color:var(--ifm-font-color-base-inverse);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:.5rem;--ifm-toc-padding-horizontal:.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:.75rem;--ifm-menu-link-padding-vertical:.375rem;--ifm-menu-link-sublist-icon:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" viewBox=\"0 0 24 24\"><path fill=\"rgba(0,0,0,0.5)\" d=\"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z\"></path></svg>");--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:.75rem;--ifm-navbar-item-padding-vertical:.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url("data:image/svg+xml;utf8,<svg fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" height=\"16px\" width=\"16px\"><path d=\"M6.02945,10.20327a4.17382,4.17382,0,1,1,4.17382-4.17382A4.15609,4.15609,0,0,1,6.02945,10.20327Zm9.69195,4.2199L10.8989,9.59979A5.88021,5.88021,0,0,0,12.058,6.02856,6.00467,6.00467,0,1,0,9.59979,10.8989l4.82338,4.82338a.89729.89729,0,0,0,1.29912,0,.89749.89749,0,0,0-.00087-1.29909Z\" /></svg>");--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem}*{box-sizing:border-box}html{background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base)var(--ifm-font-family-base);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{word-wrap:break-word;margin:0}iframe{color-scheme:normal;border:0}.container{max-width:var(--ifm-container-width);padding:0 var(--ifm-spacing-horizontal);width:100%;margin:0 auto}.container--fluid{max-width:inherit}.row{margin:0 calc(var(--ifm-spacing-horizontal)*-1);flex-wrap:wrap;display:flex}.row--no-gutters{margin-left:0;margin-right:0}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;max-width:var(--ifm-col-width);padding:0 var(--ifm-spacing-horizontal);flex:1 0;width:100%;margin-left:0}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:calc(1/12*100%)}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:calc(2/12*100%)}.col--offset-2{margin-left:16.6667%}.col--3{--ifm-col-width:calc(3/12*100%)}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:calc(4/12*100%)}.col--offset-4{margin-left:33.3333%}.col--5{--ifm-col-width:calc(5/12*100%)}.col--offset-5{margin-left:41.6667%}.col--6{--ifm-col-width:calc(6/12*100%)}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:calc(7/12*100%)}.col--offset-7{margin-left:58.3333%}.col--8{--ifm-col-width:calc(8/12*100%)}.col--offset-8{margin-left:66.6667%}.col--9{--ifm-col-width:calc(9/12*100%)}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:calc(10/12*100%)}.col--offset-10{margin-left:83.3333%}.col--11{--ifm-col-width:calc(11/12*100%)}.col--offset-11{margin-left:91.6667%}.col--12{--ifm-col-width:calc(12/12*100%)}.col--offset-12{margin-left:100%}.margin--none{margin:0!important}.margin-top--none{margin-top:0!important}.margin-left--none{margin-left:0!important}.margin-bottom--none{margin-bottom:0!important}.margin-right--none{margin-right:0!important}.margin-vert--none{margin-top:0!important;margin-bottom:0!important}.margin-horiz--none{margin-left:0!important;margin-right:0!important}.margin--xs{margin:.25rem!important}.margin-top--xs{margin-top:.25rem!important}.margin-left--xs{margin-left:.25rem!important}.margin-bottom--xs{margin-bottom:.25rem!important}.margin-right--xs{margin-right:.25rem!important}.margin-vert--xs{margin-top:.25rem!important;margin-bottom:.25rem!important}.margin-horiz--xs{margin-left:.25rem!important;margin-right:.25rem!important}.margin--sm{margin:.5rem!important}.margin-top--sm{margin-top:.5rem!important}.margin-left--sm{margin-left:.5rem!important}.margin-bottom--sm{margin-bottom:.5rem!important}.margin-right--sm{margin-right:.5rem!important}.margin-vert--sm{margin-top:.5rem!important;margin-bottom:.5rem!important}.margin-horiz--sm{margin-left:.5rem!important;margin-right:.5rem!important}.margin--md{margin:1rem!important}.margin-top--md{margin-top:1rem!important}.margin-left--md{margin-left:1rem!important}.margin-bottom--md{margin-bottom:1rem!important}.margin-right--md{margin-right:1rem!important}.margin-vert--md{margin-top:1rem!important;margin-bottom:1rem!important}.margin-horiz--md{margin-left:1rem!important;margin-right:1rem!important}.margin--lg{margin:2rem!important}.margin-top--lg{margin-top:2rem!important}.margin-left--lg{margin-left:2rem!important}.margin-bottom--lg{margin-bottom:2rem!important}.margin-right--lg{margin-right:2rem!important}.margin-vert--lg{margin-top:2rem!important;margin-bottom:2rem!important}.margin-horiz--lg{margin-left:2rem!important;margin-right:2rem!important}.margin--xl{margin:5rem!important}.margin-top--xl{margin-top:5rem!important}.margin-left--xl{margin-left:5rem!important}.margin-bottom--xl{margin-bottom:5rem!important}.margin-right--xl{margin-right:5rem!important}.margin-vert--xl{margin-top:5rem!important;margin-bottom:5rem!important}.margin-horiz--xl{margin-left:5rem!important;margin-right:5rem!important}.padding--none{padding:0!important}.padding-top--none{padding-top:0!important}.padding-left--none{padding-left:0!important}.padding-bottom--none{padding-bottom:0!important}.padding-right--none{padding-right:0!important}.padding-vert--none{padding-top:0!important;padding-bottom:0!important}.padding-horiz--none{padding-left:0!important;padding-right:0!important}.padding--xs{padding:.25rem!important}.padding-top--xs{padding-top:.25rem!important}.padding-left--xs{padding-left:.25rem!important}.padding-bottom--xs{padding-bottom:.25rem!important}.padding-right--xs{padding-right:.25rem!important}.padding-vert--xs{padding-top:.25rem!important;padding-bottom:.25rem!important}.padding-horiz--xs{padding-left:.25rem!important;padding-right:.25rem!important}.padding--sm{padding:.5rem!important}.padding-top--sm{padding-top:.5rem!important}.padding-left--sm{padding-left:.5rem!important}.padding-bottom--sm{padding-bottom:.5rem!important}.padding-right--sm{padding-right:.5rem!important}.padding-vert--sm{padding-top:.5rem!important;padding-bottom:.5rem!important}.padding-horiz--sm{padding-left:.5rem!important;padding-right:.5rem!important}.padding--md{padding:1rem!important}.padding-top--md{padding-top:1rem!important}.padding-left--md{padding-left:1rem!important}.padding-bottom--md{padding-bottom:1rem!important}.padding-right--md{padding-right:1rem!important}.padding-vert--md{padding-top:1rem!important;padding-bottom:1rem!important}.padding-horiz--md{padding-left:1rem!important;padding-right:1rem!important}.padding--lg{padding:2rem!important}.padding-top--lg{padding-top:2rem!important}.padding-left--lg{padding-left:2rem!important}.padding-bottom--lg{padding-bottom:2rem!important}.padding-right--lg{padding-right:2rem!important}.padding-vert--lg{padding-top:2rem!important;padding-bottom:2rem!important}.padding-horiz--lg{padding-left:2rem!important;padding-right:2rem!important}.padding--xl{padding:5rem!important}.padding-top--xl{padding-top:5rem!important}.padding-left--xl{padding-left:5rem!important}.padding-bottom--xl{padding-bottom:5rem!important}.padding-right--xl{padding-right:5rem!important}.padding-vert--xl{padding-top:5rem!important;padding-bottom:5rem!important}.padding-horiz--xl{padding-left:5rem!important;padding-right:5rem!important}code{background-color:var(--ifm-code-background);border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical)var(--ifm-code-padding-horizontal);vertical-align:middle;border:.1rem solid rgba(0,0,0,.1)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height)var(--ifm-font-family-monospace);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-pre-padding);overflow:auto}pre code{font-size:100%;line-height:inherit;background-color:transparent;border:none;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);border-radius:.2rem;padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top)0 var(--ifm-heading-margin-bottom)0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:before{content:"";display:table}.markdown:after{clear:both;content:"";display:table}.markdown>:last-child{margin-bottom:0!important}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading));margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>pre,.markdown>ul,.markdown>p{margin-bottom:var(--ifm-leading)}.markdown li{word-wrap:break-word}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ul,ol{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ul ul,ul ol,ol ol,ol ul{margin:0}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}table{border-collapse:collapse;margin-bottom:var(--ifm-spacing-vertical);display:block;overflow:auto}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead{background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width)solid var(--ifm-table-border-color)}table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table th,table td{border:var(--ifm-table-border-width)solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default)}a:hover{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}a:not([href]){-webkit-text-decoration:none;text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width)solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);margin:0 0 var(--ifm-spacing-vertical);padding:var(--ifm-blockquote-padding-vertical)var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical)0;border:0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{-webkit-text-decoration:none;text-decoration:none}.clean-btn{color:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit}.clean-list{padding-left:0;list-style:none}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:rgba(53,120,229,.15);--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:rgba(235,237,240,.15);--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:rgba(0,164,0,.15);--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:rgba(84,199,236,.15);--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:rgba(255,186,0,.15);--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:rgba(250,56,62,.15);--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width)solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);color:var(--ifm-alert-foreground-color);padding:var(--ifm-alert-padding-vertical)var(--ifm-alert-padding-horizontal)}.alert__heading{font:bold var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase;align-items:center;margin-bottom:.5rem;display:flex}.alert__icon{margin-right:.4em;display:inline-flex}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{color:var(--ifm-alert-foreground-color);margin:calc(var(--ifm-alert-padding-vertical)*-1)calc(var(--ifm-alert-padding-horizontal)*-1)0 0;opacity:.75}.alert .close:hover,.alert .close:focus{opacity:1}.alert a{-webkit-text-decoration-color:var(--ifm-alert-border-color);text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{height:var(--ifm-avatar-photo-size);width:var(--ifm-avatar-photo-size);border-radius:50%;display:block;overflow:hidden}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{text-align:var(--ifm-avatar-intro-alignment);flex-direction:column;flex:1;justify-content:center;display:flex}.avatar__name{font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:.5rem;flex-direction:column;align-items:center}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width)solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);padding:var(--ifm-badge-padding-vertical)var(--ifm-badge-padding-horizontal);line-height:1;display:inline-block}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);--ifm-badge-border-color:var(--ifm-badge-background-color);color:var(--ifm-color-black)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning);--ifm-badge-border-color:var(--ifm-badge-background-color)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger);--ifm-badge-border-color:var(--ifm-badge-background-color)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item{display:inline-block}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator)center;content:" ";filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));display:inline-block}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);color:var(--ifm-font-color-base);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier))calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-property:background,color;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);display:inline-block}.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs__link:any-link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width)solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);color:var(--ifm-button-color);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier))calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap;transition-property:color,background,border-color;transition-duration:var(--ifm-button-transition-duration);transition-timing-function:var(--ifm-transition-timing-default);line-height:1.5;display:inline-block}.button:hover{color:var(--ifm-button-color);-webkit-text-decoration:none;text-decoration:none}.button--outline{--ifm-button-background-color:transparent;--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--outline:hover,.button--outline:active,.button--outline.button--active{--ifm-button-color:var(--ifm-font-color-base-inverse)}.button--link{--ifm-button-background-color:transparent;--ifm-button-border-color:transparent;color:var(--ifm-link-color);-webkit-text-decoration:var(--ifm-link-decoration);text-decoration:var(--ifm-link-decoration)}.button--link:hover,.button--link:active,.button--link.button--active{color:var(--ifm-link-hover-color);-webkit-text-decoration:var(--ifm-link-hover-decoration);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{width:100%;display:block}.button.button--secondary{color:var(--ifm-color-gray-900)}.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary:active,.button--primary.button--active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary:active,.button--secondary.button--active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success:active,.button--success.button--active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info:active,.button--info.button--active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning:active,.button--warning.button--active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger:active,.button--danger.button--active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{gap:var(--ifm-button-group-spacing);display:inline-flex}.button-group>.button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.button-group>.button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.button-group--block{justify-content:stretch;display:flex}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);flex-direction:column;display:flex;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__header,.card__body,.card__footer{padding:var(--ifm-card-vertical-spacing)var(--ifm-card-horizontal-spacing)}.card__header:not(:last-child),.card__body:not(:last-child),.card__footer:not(:last-child){padding-bottom:0}.card__header>:last-child,.card__body>:last-child,.card__footer>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{padding:var(--ifm-toc-padding-vertical)0;margin-bottom:0;font-size:.8rem}.table-of-contents,.table-of-contents ul{padding-left:var(--ifm-toc-padding-horizontal);list-style:none}.table-of-contents li{margin:var(--ifm-toc-padding-vertical)var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link:hover,.table-of-contents__link:hover code,.table-of-contents__link--active,.table-of-contents__link--active code{color:var(--ifm-color-primary);-webkit-text-decoration:none;text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default);padding:1rem;line-height:1}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{font-weight:var(--ifm-dropdown-font-weight);vertical-align:top;display:inline-flex;position:relative}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;visibility:visible;transform:translateY(-1px)}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);opacity:0;pointer-events:none;min-width:10rem;max-height:80vh;left:0;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);visibility:hidden;z-index:var(--ifm-z-index-dropdown);transition-property:opacity,transform,visibility;transition-duration:var(--ifm-transition-fast);transition-timing-function:var(--ifm-transition-timing-default);padding:.5rem;list-style:none;position:absolute;overflow-y:auto;transform:translateY(-.625rem)}.dropdown__link{color:var(--ifm-dropdown-link-color);white-space:nowrap;border-radius:.25rem;margin-top:.2rem;padding:.25rem .5rem;font-size:.875rem;display:block}.dropdown__link:hover,.dropdown__link--active{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);-webkit-text-decoration:none;text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{content:"";border:.4em solid transparent;border-top-color:currentColor;border-bottom:0 solid;margin-left:.3em;display:inline-block;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical)var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{max-width:var(--ifm-footer-logo-max-width);margin-top:1rem}.footer__title{color:var(--ifm-footer-title-color);font:bold var(--ifm-h4-font-size)/var(--ifm-heading-line-height)var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__item{margin-top:0}.footer__items{margin-bottom:0}[type=checkbox]{padding:0}.hero{background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);align-items:center;padding:4rem 2rem;display:flex}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0;list-style:none}.menu__list .menu__list{padding-left:var(--ifm-menu-link-padding-horizontal);flex:0 0 100%;margin-top:.25rem}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.menu__list-item--collapsed .menu__link--sublist:after,.menu__list-item--collapsed .menu__caret:before{transform:rotate(90deg)}.menu__list-item-collapsible{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;flex-wrap:wrap;display:flex;position:relative}.menu__list-item-collapsible:hover,.menu__list-item-collapsible--active{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link:hover,.menu__list-item-collapsible .menu__link--active{background:0 0!important}.menu__link,.menu__caret{transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.25rem;align-items:center;display:flex}.menu__link:hover,.menu__caret:hover{background:var(--ifm-menu-color-background-hover)}.menu__link{color:var(--ifm-menu-color);padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);transition:color var(--ifm-transition-fast)var(--ifm-transition-timing-default);-webkit-text-decoration:none;text-decoration:none}.menu__link--sublist-caret:after{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;min-width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;margin-left:auto;transform:rotate(180deg)}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu__caret:before{content:"";background:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast)linear;transform:rotate(180deg)}html[data-theme=dark],.navbar--dark{--ifm-menu-link-sublist-icon-filter:invert(100%)sepia(94%)saturate(17%)hue-rotate(223deg)brightness(104%)contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);display:flex}.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{z-index:var(--ifm-z-index-fixed);position:sticky;top:0}.navbar__inner{flex-wrap:wrap;justify-content:space-between;width:100%;display:flex}.navbar__brand{color:var(--ifm-navbar-link-color);align-items:center;min-width:0;margin-right:1rem;display:flex}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;text-decoration:none}.navbar__title{flex:auto}.navbar__toggle{margin-right:.5rem;display:none}.navbar__logo{flex:none;height:2rem;margin-right:.5rem}.navbar__logo img{height:100%}.navbar__items{flex:1;align-items:center;min-width:0;display:flex}.navbar__items--center{flex:none}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:none;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{padding:var(--ifm-navbar-item-padding-vertical)var(--ifm-navbar-item-padding-horizontal);display:inline-block}.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold)}.navbar__link:hover,.navbar__link--active{color:var(--ifm-navbar-link-hover-color);-webkit-text-decoration:none;text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:rgba(255,255,255,.1);--ifm-navbar-search-input-placeholder-color:rgba(255,255,255,.5);color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-navbar-link-hover-color:var(--ifm-color-primary);--ifm-menu-color-background-active:rgba(255,255,255,.05);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{appearance:none;background:var(--ifm-navbar-search-input-background-color)var(--ifm-navbar-search-input-icon)no-repeat .75rem center/1rem 1rem;color:var(--ifm-navbar-search-input-color);cursor:text;border:none;border-radius:2rem;width:12.5rem;height:2rem;padding:0 .5rem 0 2.25rem;font-size:1rem;display:inline-block}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);opacity:0;visibility:hidden;width:var(--ifm-navbar-sidebar-width);transition-property:opacity,visibility,transform;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;transform:translate(-100%)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translate(0,0)}.navbar-sidebar__backdrop{opacity:0;visibility:hidden;transition-property:opacity,visibility;transition-duration:var(--ifm-transition-fast);background-color:rgba(0,0,0,.6);transition-timing-function:ease-in-out;position:fixed;inset:0}.navbar-sidebar__brand{box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical)var(--ifm-navbar-padding-horizontal);flex:1;align-items:center;display:flex}.navbar-sidebar__items{height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast)ease-in-out;display:flex;transform:translateZ(0)}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{width:calc(var(--ifm-navbar-sidebar-width));flex-shrink:0;padding:.5rem}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);text-align:left;width:calc(100% + 1rem);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;top:-.5rem}.navbar-sidebar__close{margin-left:auto;display:flex}.pagination{column-gap:var(--ifm-pagination-page-spacing);font-size:var(--ifm-pagination-font-size);padding-left:0;display:flex}.pagination--sm{--ifm-pagination-font-size:.8rem;--ifm-pagination-padding-horizontal:.8rem;--ifm-pagination-padding-vertical:.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{background:var(--ifm-pagination-item-active-background);color:var(--ifm-pagination-color-active)}.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);padding:var(--ifm-pagination-padding-vertical)var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:inline-block}.pagination__link:hover{-webkit-text-decoration:none;text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr);display:grid}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);display:block}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);-webkit-text-decoration:none;text-decoration:none}.pagination-nav__link--next{text-align:right;grid-column:2/3}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills{gap:var(--ifm-pills-spacing);padding-left:0;display:flex}.pills__item{cursor:pointer;font-weight:var(--ifm-font-weight-bold);transition:background var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-radius:.5rem;padding:.25rem 1rem;display:inline-block}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{text-align:center;flex-grow:1}.tabs{color:var(--ifm-tabs-color);font-weight:var(--ifm-font-weight-bold);margin-bottom:0;padding-left:0;display:flex;overflow-x:auto}.tabs__item{border-radius:var(--ifm-global-radius);cursor:pointer;padding:var(--ifm-tabs-padding-vertical)var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast)var(--ifm-transition-timing-default);border-bottom:3px solid transparent;display:inline-flex}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);color:var(--ifm-tabs-color-active);border-bottom-right-radius:0;border-bottom-left-radius:0}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-500:var(--ifm-color-gray-500);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:rgba(255,255,255,.05);--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%)sepia(11%)saturate(0%)hue-rotate(149deg)brightness(99%)contrast(95%);--ifm-code-background:rgba(255,255,255,.1);--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:rgba(255,255,255,.07);--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}@media (width>=1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (width<=996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.footer__link-separator{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{width:max-content;display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__item{display:none}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}}@media (width<=576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0s;--ifm-transition-slow:0s}}@media print{.table-of-contents,.footer,.menu,.navbar,.pagination-nav{display:none}.tabs{page-break-inside:avoid}}}@layer docusaurus.theme-common{.themedComponent_mlkZ{display:none}[data-theme=light] .themedComponent--light_NVdE,[data-theme=dark] .themedComponent--dark_xIcU,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.errorBoundaryError_a6uf{white-space:pre-wrap;color:red}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.anchorTargetStickyNavbar_Vzrq{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorTargetHideOnScrollNavbar_vjPI{scroll-margin-top:.5rem}.details_lb9f{--docusaurus-details-summary-arrow-size:.38rem;--docusaurus-details-transition:transform .2s ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;list-style:none;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{content:"";border-width:var(--docusaurus-details-summary-arrow-size);border-style:solid;border-color:transparent transparent transparent var(--docusaurus-details-decoration-color);transition:var(--docusaurus-details-transition);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2)50%;position:absolute;top:.45rem;left:0;transform:rotate(0)}.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before{transform:rotate(90deg)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child{margin-bottom:0}}@layer docusaurus.theme-classic{:root{--docusaurus-progress-bar-color:var(--ifm-color-primary)}#nprogress{pointer-events:none}#nprogress .bar{background:var(--docusaurus-progress-bar-color);z-index:1031;width:100%;height:2px;position:fixed;top:0;left:0}#nprogress .peg{width:100px;height:100%;box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);opacity:1;position:absolute;right:0;transform:rotate(3deg)translateY(-4px)}.skipToContent_fXgn{z-index:calc(var(--ifm-z-index-fixed) + 1);padding:calc(var(--ifm-global-spacing)/2)var(--ifm-global-spacing);color:var(--ifm-color-emphasis-900);background-color:var(--ifm-background-surface-color);position:fixed;top:1rem;left:100%}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{padding:0;line-height:0}.content_knG7{text-align:center;padding:5px 0;font-size:85%}.content_knG7 a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}:root{--docusaurus-announcement-bar-height:auto}.announcementBar_mb4j{height:var(--docusaurus-announcement-bar-height);background-color:var(--ifm-color-white);color:var(--ifm-color-black);border-bottom:1px solid var(--ifm-color-emphasis-100);align-items:center;display:flex}html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{flex:0 0 30px;align-self:stretch}.announcementBarContent_xLdY{flex:auto}@media print{.announcementBar_mb4j{display:none}}@media (width>=997px){:root{--docusaurus-announcement-bar-height:30px}.announcementBarPlaceholder_vyr4,.announcementBarClose_gvF7{flex-basis:50px}}.toggle_vylO{width:2rem;height:2rem}.toggleButton_gllP{-webkit-tap-highlight-color:transparent;width:100%;height:100%;transition:background var(--ifm-transition-fast);border-radius:50%;justify-content:center;align-items:center;display:flex}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleIcon_g3eP{display:none}[data-theme-choice=system] .systemToggleIcon_QzmC,[data-theme-choice=light] .lightToggleIcon_pyhR,[data-theme-choice=dark] .darkToggleIcon_wfgR{display:initial}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_J0Sd{cursor:pointer}.iconLanguage_nlXk{vertical-align:text-bottom;margin-right:5px}.navbarSearchContainer_Bca1:empty{display:none}@media (width<=996px){.navbarSearchContainer_Bca1{right:var(--ifm-navbar-padding-horizontal);position:absolute}}@media (width>=997px){.navbarSearchContainer_Bca1{padding:0 var(--ifm-navbar-item-padding-horizontal)}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast)ease}.navbarHidden_jGov{transform:translateY(calc(-100% - 2px))}@media (width<=996px){.colorModeToggle_DEke{display:none}}.navbar__items--right>:last-child{padding-right:0}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast)var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover{opacity:1}.hash-link{opacity:0;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none;padding-left:.5rem}.hash-link:before{content:"#"}.hash-link:focus,:hover>.hash-link{opacity:1}html,body{height:100%}.mainWrapper_z2l0{flex-direction:column;flex:1 0 auto;display:flex}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{flex-direction:column;min-height:100%;display:flex}:root{--docusaurus-tag-list-border:var(--ifm-color-emphasis-300)}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);-webkit-text-decoration:none;text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);padding:.2rem .5rem .3rem;font-size:90%}.tagWithCount_h2kH{border-left:0;align-items:center;padding:0 .5rem 0 1rem;display:flex;position:relative}.tagWithCount_h2kH:before,.tagWithCount_h2kH:after{content:"";border:1px solid var(--docusaurus-tag-list-border);transition:inherit;position:absolute;top:50%}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;width:1.18rem;height:1.18rem;right:100%;transform:translate(50%,-50%)rotate(-45deg)}.tagWithCount_h2kH:after{border-radius:50%;width:.5rem;height:.5rem;left:0;transform:translateY(-50%)}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);color:var(--ifm-color-black);border-radius:var(--ifm-global-radius);margin-left:.3rem;padding:.1rem .4rem;font-size:.7rem;line-height:1.2}.tags_jXut{display:inline}.tag_QGVx{margin:0 .4rem .5rem 0;display:inline-block}.iconEdit_Z9Sw{vertical-align:sub;margin-right:.3em}.lastUpdated_JAkA{margin-top:.2rem;font-size:smaller;font-style:italic}@media (width>=997px){.lastUpdated_JAkA{text-align:right}}@media print{.noPrint_WFHX{display:none}}.tocCollapsibleButton_TO0P{font-size:inherit;justify-content:space-between;align-items:center;width:100%;padding:.4rem .8rem;display:flex}.tocCollapsibleButton_TO0P:after{content:"";background:var(--ifm-menu-link-sublist-icon)50% 50%/2rem 2rem no-repeat;filter:var(--ifm-menu-link-sublist-icon-filter);width:1.25rem;height:1.25rem;transition:transform var(--ifm-transition-fast);transform:rotate(180deg)}.tocCollapsibleButtonExpanded_MG3E:after{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);padding:.2rem 0;font-size:15px}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tocCollapsibleExpanded_sAul{transform:none}@media (width>=997px){.tocMobile_ITEo{display:none}}@media print{.tocMobile_ITEo{display:none}}.tableOfContents_bqdL{max-height:calc(100vh - (var(--ifm-navbar-height) + 2rem));top:calc(var(--ifm-navbar-height) + 1rem);position:sticky;overflow-y:auto}@media (width<=996px){.tableOfContents_bqdL{display:none}.docItemContainer_F8PC{padding:0 .3rem}}.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color);margin-bottom:var(--ifm-leading);box-shadow:var(--ifm-global-shadow-lw);border-radius:var(--ifm-code-border-radius)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockStandalone_MEMb{padding:0}.codeBlockLines_e6Vv{font:inherit;float:left;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{padding:var(--ifm-pre-padding)0;display:table}@media print{.codeBlockLines_e6Vv{white-space:pre-wrap}}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);margin:0 calc(-1*var(--ifm-pre-padding));padding:0 var(--ifm-pre-padding);display:block}.codeLine_lJS_{counter-increment:line-count;display:table-row}.codeLineNumber_Tfdd{text-align:right;width:1%;padding:0 var(--ifm-pre-padding);background:var(--ifm-pre-background);overflow-wrap:normal;display:table-cell;position:sticky;left:0}.codeLineNumber_Tfdd:before{content:counter(line-count);opacity:.4}.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_Vdqa{opacity:1!important}.copyButtonIcons_IEyt{width:1.125rem;height:1.125rem;position:relative}.copyButtonIcon_TrPX,.copyButtonSuccessIcon_cVMy{fill:currentColor;opacity:inherit;width:inherit;height:inherit;transition:all var(--ifm-transition-fast)ease;position:absolute;top:0;left:0}.copyButtonSuccessIcon_cVMy{opacity:0;color:#00d600;top:50%;left:50%;transform:translate(-50%,-50%)scale(.33)}.copyButtonCopied_Vdqa .copyButtonIcon_TrPX{opacity:0;transform:scale(.33)}.copyButtonCopied_Vdqa .copyButtonSuccessIcon_cVMy{opacity:1;transition-delay:75ms;transform:translate(-50%,-50%)scale(1)}.wordWrapButtonIcon_b1P5{width:1.2rem;height:1.2rem}.wordWrapButtonEnabled_uzNF .wordWrapButtonIcon_b1P5{color:var(--ifm-color-primary)}.buttonGroup_M5ko{right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);column-gap:.2rem;display:flex;position:absolute}.buttonGroup_M5ko button{background:var(--prism-background-color);color:var(--prism-color);border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);transition:opacity var(--ifm-transition-fast)ease-in-out;opacity:0;align-items:center;padding:.4rem;line-height:0;display:flex}.buttonGroup_M5ko button:hover{opacity:1!important}.buttonGroup_M5ko button:focus-visible{opacity:1!important}.theme-code-block:hover .buttonGroup_M5ko button{opacity:.4}.codeBlockContent_QJqH{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_OeMC{border-bottom:1px solid var(--ifm-color-emphasis-300);font-size:var(--ifm-code-font-size);padding:.75rem var(--ifm-pre-padding);border-top-left-radius:inherit;border-top-right-radius:inherit;font-weight:500}.codeBlockTitle_OeMC+.codeBlockContent_QJqH .codeBlock_a8dz{border-top-left-radius:0;border-top-right-radius:0}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast)ease;margin:0 0 var(--ifm-spacing-vertical);border:1px solid var(--ifm-alert-border-color)}.containsTaskList_mC6p{list-style:none}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight)var(--ifm-h5-font-size)/var(--ifm-heading-line-height)var(--ifm-heading-font-family);text-transform:uppercase}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{vertical-align:middle;margin-right:.4em;display:inline-block}.admonitionIcon_Rf37 svg{width:1.6em;height:1.6em;fill:var(--ifm-alert-foreground-color);display:inline-block}.admonitionContent_BuS1>:last-child{margin-bottom:0}.breadcrumbHomeIcon_YNFT{vertical-align:top;width:1.1rem;height:1.1rem;position:relative;top:1px}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:.8;margin-bottom:.8rem}.docItemContainer_Djhp header+*,.docItemContainer_Djhp article>:first-child{margin-top:0}@media (width>=997px){.docItemCol_VOVn{max-width:75%!important}}.tabList__CuJ{margin-bottom:var(--ifm-leading)}.tabItem_LNqP{margin-top:0!important}.tabItem_Ymn6>:last-child{margin-bottom:0}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);width:3rem;height:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1);box-shadow:var(--ifm-global-shadow-lw);transition:all var(--ifm-transition-fast)var(--ifm-transition-timing-default);opacity:0;visibility:hidden;border-radius:50%;position:fixed;bottom:1.3rem;right:1.3rem;transform:scale(0)}.backToTopButton_sjWU:after{content:" ";-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;-webkit-mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon)50%/2rem 2rem no-repeat;background-color:var(--ifm-color-emphasis-1000);width:100%;height:100%;display:inline-block}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}.backToTopButtonShow_xfvO{opacity:1;visibility:visible;transform:scale(1)}:root{--docusaurus-collapse-button-bg:transparent;--docusaurus-collapse-button-bg-hover:rgba(0,0,0,.1)}[data-theme=dark]:root{--docusaurus-collapse-button-bg:rgba(255,255,255,.05);--docusaurus-collapse-button-bg-hover:rgba(255,255,255,.1)}@media (width>=997px){.collapseSidebarButton_PEFL{background-color:var(--docusaurus-collapse-button-bg);border:1px solid var(--ifm-toc-border-color);border-radius:0;height:40px;position:sticky;bottom:0;display:block!important}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:hover,.collapseSidebarButton_PEFL:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}}.collapseSidebarButton_PEFL{margin:0;display:none}.menuExternalLink_NmtK{align-items:center}.linkLabel_WmDU{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.categoryLink_byQd{overflow:hidden}.menu__link--sublist-caret:after{margin-left:var(--ifm-menu-link-padding-vertical)}.categoryLinkLabel_W154{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;display:-webkit-box;overflow:hidden}@media (width>=997px){.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical)var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{scrollbar-gutter:stable;padding:.5rem 0 .5rem .5rem}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width);flex-direction:column;display:flex}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{margin:0 var(--ifm-navbar-padding-horizontal);min-height:var(--ifm-navbar-height);max-height:var(--ifm-navbar-height);align-items:center;color:inherit!important;-webkit-text-decoration:none!important;text-decoration:none!important;display:flex!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}}.sidebarLogo_isFc{display:none}@media (width>=997px){.expandButton_TmdG{width:100%;height:100%;transition:background-color var(--ifm-transition-fast)ease;background-color:var(--docusaurus-collapse-button-bg);justify-content:center;align-items:center;display:flex;position:absolute;top:0;right:0}.expandButton_TmdG:hover,.expandButton_TmdG:focus{background-color:var(--docusaurus-collapse-button-bg-hover)}.expandButtonIcon_i1dp{transform:rotate(0)}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}}:root{--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.docSidebarContainer_YfHR{display:none}@media (width>=997px){.docSidebarContainer_YfHR{width:var(--doc-sidebar-width);margin-top:calc(-1*var(--ifm-navbar-height));border-right:1px solid var(--ifm-toc-border-color);will-change:width;transition:width var(--ifm-transition-fast)ease;clip-path:inset(0);display:block}.docSidebarContainerHidden_DPk8{width:var(--doc-sidebar-hidden-width);cursor:pointer}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}}.docMainContainer_TBSr{width:100%;display:flex}@media (width>=997px){.docMainContainer_TBSr{max-width:calc(100% - var(--doc-sidebar-width));flex-grow:1}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}.docRoot_UBD9{width:100%;display:flex}.docsWrapper_hBAB{flex:1 0 auto;display:flex}}@layer docusaurus.core{#__docusaurus-base-url-issue-banner-container{display:none}}@layer docusaurus.plugin-debug,docusaurus.theme-mermaid,docusaurus.theme-live-codeblock,docusaurus.theme-search-algolia.docsearch,docusaurus.theme-search-algolia;:root{--ifm-color-primary:#00d4ff;--ifm-color-primary-dark:#00b8de;--ifm-color-primary-darker:#00a8ce;--ifm-color-primary-darkest:#0088a8;--ifm-color-primary-light:#1ad8ff;--ifm-color-primary-lighter:#33dcff;--ifm-color-primary-lightest:#66e3ff;--ifm-code-font-size:95%;--ifm-font-family-base:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,sans-serif;--ifm-font-family-monospace:"SF Mono","Cascadia Code","Fira Code","JetBrains Mono","Menlo",monospace;--docusaurus-highlighted-code-line-bg:rgba(0,212,255,.06)}[data-theme=dark]{--ifm-color-primary:#00d4ff;--ifm-color-primary-dark:#00b8de;--ifm-color-primary-darker:#00a8ce;--ifm-color-primary-darkest:#0088a8;--ifm-color-primary-light:#1ad8ff;--ifm-color-primary-lighter:#33dcff;--ifm-color-primary-lightest:#66e3ff;--ifm-background-color:#0a0a0a;--ifm-background-surface-color:#111;--ifm-color-content:#888;--docusaurus-highlighted-code-line-bg:rgba(0,212,255,.08)}[data-theme=dark] .navbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:rgba(10,10,10,.85);border-bottom:1px solid #222}[data-theme=dark] .footer{background:#080808;border-top:1px solid #222}[data-theme=dark] .menu{background:#0a0a0a}[data-theme=dark] .navbar-sidebar{--ifm-menu-color:#dadde1;--ifm-color-content:#dadde1;color:#dadde1;background-color:#111!important}[data-theme=dark] .navbar-sidebar .menu{background:#111}[data-theme=dark] .navbar-sidebar .menu__link{color:#dadde1}[data-theme=dark] .navbar-sidebar .menu__link:hover,[data-theme=dark] .navbar-sidebar .menu__link--active{color:#00d4ff}[data-theme=dark] .navbar-sidebar .menu__link--sublist-caret:after{background:currentColor}[data-theme=dark] .navbar-sidebar__brand{background:#111;border-bottom:1px solid #333}[data-theme=dark] .navbar-sidebar__close svg{color:#dadde1}[data-theme=dark] .navbar-sidebar__items{background:#111}[data-theme=dark] .navbar-sidebar__backdrop{background-color:rgba(0,0,0,.6)}[data-theme=dark] .table-of-contents{border-left:1px solid #222}[data-theme=dark] code{color:#00d4ff;background:rgba(0,212,255,.08);border:none}[data-theme=light] code{color:#0088a8;background:rgba(0,180,220,.08);border:none}[data-theme=dark] .theme-doc-sidebar-container{border-right:1px solid #222}.navbar__title{font-family:var(--ifm-font-family-monospace);font-weight:700}[data-theme=dark] .pagination-nav__link,[data-theme=dark] .card{background:#111;border-color:#222}.theme-admonition{--ifm-alert-padding-vertical:1rem;--ifm-alert-padding-horizontal:1.2rem;border-left-width:4px;border-radius:6px}.theme-admonition-info{--ifm-alert-background-color:rgba(0,180,220,.08);--ifm-alert-background-color-highlight:rgba(0,180,220,.15);--ifm-alert-foreground-color:#0088a8;--ifm-alert-border-color:#0088a8}.theme-admonition-tip{--ifm-alert-background-color:rgba(40,200,64,.08);--ifm-alert-background-color-highlight:rgba(40,200,64,.15);--ifm-alert-foreground-color:#1a8a2e;--ifm-alert-border-color:#1a8a2e}.theme-admonition-warning{--ifm-alert-background-color:rgba(254,188,46,.08);--ifm-alert-background-color-highlight:rgba(254,188,46,.15);--ifm-alert-foreground-color:#b58105;--ifm-alert-border-color:#b58105}.theme-admonition-caution,.theme-admonition-danger{--ifm-alert-background-color:rgba(255,95,87,.08);--ifm-alert-background-color-highlight:rgba(255,95,87,.15);--ifm-alert-foreground-color:#cc3730;--ifm-alert-border-color:#cc3730}[data-theme=dark] .theme-admonition{background:#111}[data-theme=dark] .theme-admonition-info{--ifm-alert-background-color:rgba(0,212,255,.06);--ifm-alert-background-color-highlight:rgba(0,212,255,.12);--ifm-alert-foreground-color:#00d4ff;--ifm-alert-border-color:#00d4ff}[data-theme=dark] .theme-admonition-tip{--ifm-alert-background-color:rgba(40,200,64,.06);--ifm-alert-background-color-highlight:rgba(40,200,64,.12);--ifm-alert-foreground-color:#28c840;--ifm-alert-border-color:#28c840}[data-theme=dark] .theme-admonition-warning{--ifm-alert-background-color:rgba(254,188,46,.06);--ifm-alert-background-color-highlight:rgba(254,188,46,.12);--ifm-alert-foreground-color:#febc2e;--ifm-alert-border-color:#febc2e}[data-theme=dark] .theme-admonition-caution,[data-theme=dark] .theme-admonition-danger{--ifm-alert-background-color:rgba(255,95,87,.06);--ifm-alert-background-color-highlight:rgba(255,95,87,.12);--ifm-alert-foreground-color:#ff5f57;--ifm-alert-border-color:#ff5f57}[data-theme=dark] table{border-collapse:collapse}[data-theme=dark] table th{color:#00d4ff;font-family:var(--ifm-font-family-monospace);text-transform:uppercase;letter-spacing:.06em;background:#111;border-bottom:1px solid #222;font-size:.85em}[data-theme=dark] table td{color:#888;border-bottom:1px solid #222}[data-theme=dark] table tr:hover td{background:rgba(0,212,255,.03)}[data-theme=dark] table td:first-child code{color:#00d4ff}.searchBar_RVTs .dropdownMenu_qbY6{background:var(--search-local-modal-background,#f5f6f7);box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 rgba(255,255,255,.5),0 3px 8px 0 #555a64);width:var(--search-local-modal-width,560px);padding:var(--search-local-spacing,12px);border-radius:6px;margin-top:8px;position:relative;left:auto!important;right:0!important}.searchInput_YFbd:focus{outline:2px solid var(--search-local-input-active-border-color,var(--ifm-color-primary));outline-offset:0px}html[data-theme=dark] div.ask-ai,div.ask-ai{--ask-ai-primary:var(--ifm-color-primary);--ask-ai-primary-hover:var(--ifm-color-primary-light);--ask-ai-foreground:var(--ifm-color-content);--ask-ai-border:var(--ifm-color-emphasis-300);--ask-ai-error:var(--ifm-color-danger);--ask-ai-button-bg:var(--ifm-color-emphasis-200)}.ask-ai{--ask-ai-background:var(--search-local-modal-background,#f5f6f7);--ask-ai-muted:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .ask-ai{--ask-ai-background:var(--search-local-modal-background,var(--ifm-background-color));--ask-ai-muted:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}@media (width>996px){.searchBar_RVTs.searchBarLeft_MXDe .dropdownMenu_qbY6{left:0!important;right:auto!important}}@media (width<=576px){.navbar__search-input:not(:focus){width:2rem}.searchBar_RVTs .dropdownMenu_qbY6{width:var(--search-local-modal-width-sm,340px);max-width:calc(100vw - var(--ifm-navbar-padding-horizontal)*2)}}html[data-theme=dark] .searchBar_RVTs .dropdownMenu_qbY6{background:var(--search-local-modal-background,var(--ifm-background-color));box-shadow:var(--search-local-modal-shadow,inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309)}.searchBar_RVTs .dropdownMenu_qbY6 .suggestion_fB_2{cursor:pointer;background:var(--search-local-hit-background,#fff);box-shadow:var(--search-local-hit-shadow,0 1px 3px 0 #d4d9e1);padding:0 var(--search-local-spacing,12px);width:100%;color:var(--search-local-hit-color,#444950);height:var(--search-local-hit-height,56px);border-radius:4px;flex-direction:row;align-items:center;display:flex}html[data-theme=dark] .dropdownMenu_qbY6 .suggestion_fB_2{background:var(--search-local-hit-background,var(--ifm-color-emphasis-100));box-shadow:var(--search-local-hit-shadow,none);color:var(--search-local-hit-color,var(--ifm-font-color-base))}.searchBar_RVTs .dropdownMenu_qbY6 .suggestion_fB_2:not(:last-child){margin-bottom:4px}.searchBar_RVTs .dropdownMenu_qbY6 .suggestion_fB_2.cursor_eG29{background-color:var(--search-local-highlight-color,var(--ifm-color-primary))}.hitTree_kk6K,.hitIcon_a7Zy,.hitPath_ieM4,.noResultsIcon_EBY5,.hitFooter_E9YW a{color:var(--search-local-muted-color,#969faf)}html[data-theme=dark] .hitTree_kk6K,html[data-theme=dark] .hitIcon_a7Zy,html[data-theme=dark] .hitPath_ieM4,html[data-theme=dark] .noResultsIcon_EBY5{color:var(--search-local-muted-color,var(--ifm-color-secondary-darkest))}.hitTree_kk6K{align-items:center;display:flex}.hitTree_kk6K>svg{height:var(--search-local-hit-height,56px);opacity:.5;stroke-width:var(--search-local-icon-stroke-width,1.4);width:24px}.hitIcon_a7Zy{stroke-width:var(--search-local-icon-stroke-width,1.4);width:20px;height:20px}.hitWrapper_sAK8{flex-direction:column;flex:auto;justify-content:center;width:80%;margin:0 8px;font-weight:500;display:flex;overflow-x:hidden}.hitWrapper_sAK8 mark{color:var(--search-local-highlight-color,var(--ifm-color-primary));background:0 0}.hitTitle_vyVt{font-size:.9em}.hitPath_ieM4{font-size:.75em}.hitPath_ieM4,.hitTitle_vyVt{white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}.hitAction_NqkB{width:20px;height:20px}.hideAction_vcyE>svg{display:none}.noResults_l6Q3{padding:var(--search-local-spacing,12px)0;flex-direction:column;justify-content:center;align-items:center;display:flex}.noResultsIcon_EBY5{margin-bottom:var(--search-local-spacing,12px)}.hitFooter_E9YW{text-align:center;margin-top:var(--search-local-spacing,12px);font-size:.85em}.hitFooter_E9YW a{-webkit-text-decoration:underline;text-decoration:underline}.cursor_eG29 .hideAction_vcyE>svg{display:block}.suggestion_fB_2.cursor_eG29,.suggestion_fB_2.cursor_eG29 mark,.suggestion_fB_2.cursor_eG29 .hitTree_kk6K,.suggestion_fB_2.cursor_eG29 .hitIcon_a7Zy,.suggestion_fB_2.cursor_eG29 .hitPath_ieM4{color:var(--search-local-hit-active-color,var(--ifm-color-white))!important}.suggestion_fB_2.cursor_eG29 mark{-webkit-text-decoration:underline;text-decoration:underline}.searchBarContainer_NW3z{margin-left:16px}.searchBarContainer_NW3z .searchBarLoadingRing_YnHq{display:none;position:absolute;top:6px;left:10px}.searchBarContainer_NW3z .searchClearButton_qk4g{background:0 0;border:none;padding:0;line-height:1rem;position:absolute;top:50%;right:.8rem;transform:translateY(-50%)}.navbar__search{position:relative}.searchIndexLoading_EJ1f .navbar__search-input{background-image:none}.searchBarContainer_NW3z.searchIndexLoading_EJ1f .searchBarLoadingRing_YnHq{display:inline-block}.searchHintContainer_Pkmr{pointer-events:none;justify-content:center;align-items:center;gap:4px;height:100%;display:flex;position:absolute;top:0;right:10px}.searchHint_iIMx{color:var(--ifm-navbar-search-input-placeholder-color);background-color:var(--ifm-navbar-search-input-background-color);border:1px solid var(--ifm-color-emphasis-500);box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-500)}@media (width<=576px){.searchBarContainer_NW3z:not(.focused_OWtg) .searchClearButton_qk4g,.searchHintContainer_Pkmr{display:none}}html[dir=rtl] .searchHintContainer_Pkmr{left:10px;right:auto}html[dir=rtl] .searchBarContainer_NW3z .searchClearButton_qk4g{left:.8rem;right:auto}html[dir=rtl] .searchBarContainer_NW3z .searchBarLoadingRing_YnHq{left:auto;right:10px}html[dir=rtl] .navbar__search-input{padding:0 2.25em 0 .5em}.loadingRing_RJI3{width:20px;height:20px;opacity:var(--search-local-loading-icon-opacity,.5);display:inline-block;position:relative}.loadingRing_RJI3 div{box-sizing:border-box;border:2px solid var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color));border-color:var(--search-load-loading-icon-color,var(--ifm-navbar-search-input-color))transparent transparent transparent;border-radius:50%;width:16px;height:16px;margin:2px;animation:1.2s cubic-bezier(.5,0,.5,1) infinite loading-ring_FB5o;display:block;position:absolute}.loadingRing_RJI3 div:first-child{animation-delay:-.45s}.loadingRing_RJI3 div:nth-child(2){animation-delay:-.3s}.loadingRing_RJI3 div:nth-child(3){animation-delay:-.15s}@keyframes loading-ring_FB5o{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.searchContextInput_mXoe,.searchQueryInput_CFBF{border-radius:var(--ifm-global-radius);border:var(--ifm-global-border-width)solid var(--ifm-color-content-secondary);font-size:var(--ifm-font-size-base);background:var(--ifm-background-color);width:100%;color:var(--ifm-font-color-base);margin-bottom:1rem;padding:.5rem}.searchResultItem_U687{border-bottom:1px solid #dfe3e8;padding:1rem 0}.searchResultItem_U687>h2{margin-bottom:0}.searchResultItemPath_uIbk{color:var(--ifm-color-content-secondary);margin:.5rem 0 0;font-size:.8rem}.searchResultItemSummary_oZHr{margin:.5rem 0 0;font-style:italic}@media only screen and (width<=996px){.searchQueryColumn_q7nx{max-width:60%!important}.searchContextColumn_oWAF{max-width:40%!important}}@media screen and (width<=576px){.searchQueryColumn_q7nx{max-width:100%!important}.searchContextColumn_oWAF{max-width:100%!important;padding-left:var(--ifm-spacing-horizontal)!important}}.killipi-container{--killipi-stroke:rgba(0,212,255,.8);--killipi-feature:rgba(0,212,255,.9);--killipi-bg:#06060a;--killipi-face-bg:rgba(0,212,255,.04);--killipi-face-highlight:rgba(0,212,255,.08);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:220px;height:220px;margin:0 auto 32px;transition:transform .2s;animation:4s ease-in-out infinite killipi-float;position:relative}.killipi-container:active{transform:scale(.95)!important}@keyframes killipi-float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.killipi-hovered{animation:2s ease-in-out infinite killipi-float-fast}@keyframes killipi-float-fast{0%,to{transform:translateY(0)}50%{transform:translateY(-14px)}}.killipi-svg{z-index:2;filter:drop-shadow(0 0 20px rgba(0,212,255,.15));width:100%;height:100%;transition:filter .3s;position:relative}.killipi-hovered .killipi-svg{filter:drop-shadow(0 0 30px rgba(0,212,255,.3))}.killipi-outer-ring{animation:3s ease-in-out infinite killipi-ring-pulse}@keyframes killipi-ring-pulse{0%,to{stroke-opacity:.6}50%{stroke-opacity:1}}.killipi-glow{pointer-events:none;z-index:0;border-radius:50%;position:absolute}.killipi-glow-1{background:radial-gradient(circle,rgba(0,212,255,.08) 0%,transparent 70%);animation:4s ease-in-out infinite killipi-glow-breathe;inset:-30px}.killipi-glow-2{background:radial-gradient(circle,rgba(167,139,250,.04) 0%,transparent 60%);animation:5s ease-in-out infinite reverse killipi-glow-breathe;inset:-60px}.killipi-hovered .killipi-glow-1{background:radial-gradient(circle,rgba(0,212,255,.14) 0%,transparent 70%)}@keyframes killipi-glow-breathe{0%,to{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}.killipi-particles{z-index:1;pointer-events:none;position:absolute;inset:-20px}.killipi-particle{width:3px;height:3px;animation:6s linear infinite killipi-orbit;animation-delay:var(--particle-delay);background:rgba(0,212,255,.6);border-radius:50%;position:absolute;top:50%;left:50%;box-shadow:0 0 6px rgba(0,212,255,.4)}@keyframes killipi-orbit{0%{transform:rotate(var(--particle-angle))translateX(110px)rotate(calc(-1*var(--particle-angle)));opacity:0}10%{opacity:.8}90%{opacity:.8}to{transform:rotate(calc(var(--particle-angle) + 360deg))translateX(110px)rotate(calc(-1*(var(--particle-angle) + 360deg)));opacity:0}}.killipi-hovered .killipi-particle{background:rgba(0,212,255,.9);animation-duration:4s;box-shadow:0 0 10px rgba(0,212,255,.6)}.killipi-label{z-index:3;pointer-events:none;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.killipi-status{color:rgba(0,212,255,.6);letter-spacing:.05em;font-family:SF Mono,Cascadia Code,Fira Code,monospace;font-size:.8em;animation:.3s killipi-status-fade}.killipi-status-happy{color:rgba(40,200,64,.8)}.killipi-status-surprised{color:rgba(254,188,46,.8);font-weight:700}.killipi-status-wink{color:rgba(167,139,250,.8)}@keyframes killipi-status-fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (width<=768px){.killipi-container{width:160px;height:160px;margin-bottom:24px}.killipi-particle{animation-name:killipi-orbit-mobile}@keyframes killipi-orbit-mobile{0%{transform:rotate(var(--particle-angle))translateX(80px)rotate(calc(-1*var(--particle-angle)));opacity:0}10%{opacity:.8}90%{opacity:.8}to{transform:rotate(calc(var(--particle-angle) + 360deg))translateX(80px)rotate(calc(-1*(var(--particle-angle) + 360deg)));opacity:0}}}.lp-page{--bg:#06060a;--bg-card:#0d0d14;--bg-card-hover:#12121c;--bg-terminal:#08080e;--cyan:#00d4ff;--cyan-dim:#0090aa;--cyan-glow:rgba(0,212,255,.12);--cyan-glow-strong:rgba(0,212,255,.25);--white:#e8e8ee;--white-bright:#f4f4f8;--gray:#7a7a8a;--gray-dim:#4a4a58;--border:#1a1a28;--border-hover:#2a2a3a;--red:#ff5f57;--yellow:#febc2e;--green:#28c840;--purple:#a78bfa;--font:"SF Mono","Cascadia Code","Fira Code","JetBrains Mono","Menlo",monospace;--font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,sans-serif;--max-w:1140px;--radius:16px;--radius-sm:10px;background:var(--bg);color:var(--white);font-family:var(--font-body);line-height:1.7;overflow-x:hidden}.lp-page .navbar,.lp-page .footer{display:none!important}.lp-page .main-wrapper{margin:0;padding:0}.lp-page a{color:var(--cyan);-webkit-text-decoration:none;text-decoration:none}.lp-page a:hover{-webkit-text-decoration:underline;text-decoration:underline}.lp-page code{font-family:var(--font);color:var(--cyan);background:rgba(0,212,255,.06);border-radius:6px;padding:2px 8px;font-size:.9em}.lp-container{max-width:var(--max-w);margin:0 auto;padding:0 24px}.lp-nav{z-index:100;-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border);background:rgba(6,6,10,.8);position:fixed;top:0;left:0;right:0}.lp-nav-inner{max-width:var(--max-w);justify-content:space-between;align-items:center;height:60px;margin:0 auto;padding:0 24px;display:flex}.lp-nav-logo{font-family:var(--font);color:var(--cyan);align-items:center;gap:4px;font-size:1.15em;font-weight:700;display:flex;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-nav-logo:hover{-webkit-text-decoration:none!important;text-decoration:none!important}.lp-nav-logo-icon{font-size:1.2em}.lp-nav-links{align-items:center;gap:28px;display:flex}.lp-nav-links a{color:var(--gray);letter-spacing:.01em;font-size:.88em;font-weight:500;transition:color .2s;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-nav-links a:hover{color:var(--white);-webkit-text-decoration:none!important;text-decoration:none!important}.lp-nav-right{align-items:center;gap:16px;display:flex}.lp-nav-toggle{color:var(--white);cursor:pointer;background:0 0;border:none;padding:0;font-size:1.5em;line-height:1;display:none}.lp-github-btn{border:1px solid var(--border);background:rgba(255,255,255,.04);border-radius:8px;align-items:center;gap:6px;padding:6px 14px 6px 10px;font-size:.85em;font-weight:500;transition:all .2s;display:inline-flex;color:var(--gray)!important;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-github-btn:hover{border-color:var(--border-hover);background:rgba(255,255,255,.08);color:var(--white)!important;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-github-btn svg{flex-shrink:0}.lp-github-btn-count{border-left:1px solid var(--border);margin-left:6px;padding-left:8px;font-weight:600}.lp-hero{justify-content:center;align-items:center;min-height:100vh;padding:140px 0 100px;display:flex;position:relative;overflow:hidden}.lp-hero-mesh{background:radial-gradient(100% 80% at 50% -30%,rgba(0,212,255,.07) 0%,transparent 60%),radial-gradient(50% 50% at 80% 80%,rgba(167,139,250,.04) 0%,transparent 50%),radial-gradient(40% 40% at 20% 60%,rgba(0,212,255,.03) 0%,transparent 50%);position:absolute;inset:0}.lp-hero-glow{pointer-events:none;background:radial-gradient(circle,rgba(0,212,255,.06) 0%,transparent 70%);width:800px;height:800px;position:absolute;top:-200px;left:50%;transform:translate(-50%)}.lp-hero-content{text-align:center;position:relative}.lp-hero-badge{border:1px solid var(--border);color:var(--cyan);letter-spacing:.04em;text-transform:uppercase;background:rgba(0,212,255,.04);border-radius:20px;margin-bottom:28px;padding:6px 16px;font-size:.82em;font-weight:600;display:inline-block}.lp-hero-title{color:var(--white-bright);letter-spacing:-.02em;margin-bottom:20px;font-size:clamp(2.2em,5vw,3.8em);font-weight:800;line-height:1.15}.lp-hero-highlight{background:linear-gradient(135deg,var(--cyan)0%,var(--purple)100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.lp-hero-sub{color:var(--gray);max-width:560px;margin:0 auto 36px;font-size:1.1em;line-height:1.65}.lp-hero-actions{flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:28px;display:flex}.lp-hero-install{background:var(--bg-terminal);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 28px;display:inline-block}.lp-hero-install code{background:0 0;padding:0;font-size:.95em}.lp-btn{font-family:var(--font-body);border-radius:var(--radius-sm);cursor:pointer;border:none;padding:12px 28px;font-size:.95em;font-weight:600;transition:all .25s;display:inline-block;-webkit-text-decoration:none!important;text-decoration:none!important}.lp-btn-primary{background:var(--cyan);color:#06060a!important}.lp-btn-primary:hover{background:#3df;box-shadow:0 0 30px rgba(0,212,255,.3);-webkit-text-decoration:none!important;text-decoration:none!important}.lp-btn-secondary{border:1px solid var(--cyan-dim);background:0 0;color:var(--cyan)!important}.lp-btn-secondary:hover{background:var(--cyan-glow);-webkit-text-decoration:none!important;text-decoration:none!important}.lp-terminal-window{background:var(--bg-terminal);border:1px solid var(--border);border-radius:var(--radius);text-align:left;overflow:hidden;box-shadow:0 12px 60px rgba(0,0,0,.5),0 0 100px rgba(0,212,255,.04)}.lp-terminal-hero{max-width:720px;margin:0 auto}.lp-terminal-bar{border-bottom:1px solid var(--border);background:#0e0e16;align-items:center;gap:8px;padding:12px 18px;display:flex}.lp-terminal-dot{border-radius:50%;width:12px;height:12px}.lp-dot-red{background:var(--red)}.lp-dot-yellow{background:var(--yellow)}.lp-dot-green{background:var(--green)}.lp-terminal-title{font-family:var(--font);color:var(--gray-dim);margin-left:8px;font-size:.75em}.lp-terminal-body{font-family:var(--font);min-height:220px;color:var(--white);padding:22px 26px;font-size:.82em;line-height:1.8;overflow-x:auto}.lp-terminal-inline{background:var(--bg-terminal);border:1px solid var(--border);border-radius:8px;margin:8px 0;padding:12px 18px}.lp-terminal-inline code{background:0 0;padding:0;font-size:.95em}.lp-prompt{color:var(--cyan);font-weight:600}.lp-input-text{color:var(--white-bright)}.lp-agent{color:var(--cyan);font-weight:700}.lp-stream-text{color:var(--white)}.lp-tool{color:var(--gray)}.lp-status{color:var(--yellow);font-weight:500}.lp-output{color:var(--gray)}.lp-autopilot{color:var(--purple);font-weight:500}.lp-completion{color:var(--green);font-weight:500}.lp-cursor{background:var(--cyan);vertical-align:text-bottom;width:8px;height:1em;margin-left:2px;animation:1s step-end infinite lp-blink;display:inline-block}@keyframes lp-blink{50%{opacity:0}}.lp-section{padding:110px 0}.lp-section-dark{background:#04040a}.lp-section-alt{background:#08081a}.lp-section-title{text-align:center;color:var(--white-bright);letter-spacing:-.01em;margin-bottom:12px;font-size:clamp(1.6em,3.5vw,2.4em);font-weight:800}.lp-section-sub{color:var(--gray);text-align:center;max-width:600px;margin-bottom:56px;margin-left:auto;margin-right:auto;font-size:1.05em}.lp-pillars{grid-template-columns:repeat(3,1fr);gap:24px;display:grid}.lp-pillar{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:40px 32px;transition:all .3s}.lp-pillar:hover{border-color:var(--border-hover);transform:translateY(-3px);box-shadow:0 12px 40px rgba(0,0,0,.3)}.lp-pillar-icon{color:var(--cyan);margin-bottom:20px}.lp-pillar h3{color:var(--white-bright);margin-bottom:8px;font-size:1.4em;font-weight:700}.lp-pillar-lead{color:var(--gray);margin-bottom:20px;font-size:.95em}.lp-pillar ul{margin:0;padding:0;list-style:none}.lp-pillar li{color:var(--gray);padding:6px 0 6px 16px;font-size:.9em;position:relative}.lp-pillar li:before{content:"";background:var(--cyan-dim);border-radius:50%;width:6px;height:6px;position:absolute;top:14px;left:0}.lp-flow-timeline{max-width:600px;margin:0 auto;position:relative}.lp-flow-timeline:before{content:"";background:var(--border);width:2px;position:absolute;top:30px;bottom:30px;left:20px}.lp-flow-step{align-items:flex-start;gap:24px;margin-bottom:36px;display:flex;position:relative}.lp-flow-step:last-child{margin-bottom:0}.lp-flow-dot{background:var(--bg-card);border:2px solid var(--cyan-dim);width:42px;height:42px;color:var(--cyan);z-index:1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.9em;font-weight:700;display:flex}.lp-flow-content h4{color:var(--white-bright);margin-bottom:4px;font-size:1.05em;font-weight:600}.lp-flow-content p{color:var(--gray);margin:0;font-size:.92em}.lp-channels-grid{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.lp-channel-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:36px 32px;transition:all .3s}.lp-channel-card:hover{border-color:var(--border-hover)}.lp-channel-header{align-items:center;gap:14px;margin-bottom:24px;display:flex}.lp-channel-icon{color:var(--cyan);font-size:1.6em;font-family:var(--font)}.lp-channel-card h3{color:var(--white-bright);margin:0;font-size:1.3em;font-weight:700}.lp-channel-card ul{margin:0;padding:0;list-style:none}.lp-channel-card li{color:var(--gray);padding:7px 0 7px 16px;font-size:.9em;position:relative}.lp-channel-card li:before{content:"";background:var(--cyan-dim);border-radius:50%;width:5px;height:5px;position:absolute;top:15px;left:0}.lp-agent-features{grid-template-columns:repeat(4,1fr);gap:20px;margin-top:48px;display:grid}.lp-agent-feature{text-align:center;padding:20px}.lp-agent-feature h4{color:var(--white-bright);margin-bottom:6px;font-size:.95em;font-weight:600}.lp-agent-feature p{color:var(--gray);margin:0;font-size:.85em}.lp-autopilot-grid{grid-template-columns:repeat(3,1fr);gap:24px;max-width:900px;margin:0 auto;display:grid}.lp-autopilot-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);text-align:center;padding:32px}.lp-autopilot-verdict{font-family:var(--font);text-transform:uppercase;letter-spacing:.08em;border-radius:20px;margin-bottom:16px;padding:6px 16px;font-size:.85em;font-weight:700;display:inline-block}.lp-verdict-productive{color:var(--green);background:rgba(40,200,64,.1);border:1px solid rgba(40,200,64,.2)}.lp-verdict-suspicious{color:var(--yellow);background:rgba(254,188,46,.1);border:1px solid rgba(254,188,46,.2)}.lp-verdict-stuck{color:var(--red);background:rgba(255,95,87,.1);border:1px solid rgba(255,95,87,.2)}.lp-autopilot-card p{color:var(--gray);margin:0;font-size:.9em}.lp-brain-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;display:grid}.lp-brain-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:32px 28px;transition:all .3s}.lp-brain-card:hover{border-color:var(--border-hover);transform:translateY(-2px)}.lp-brain-card h3{color:var(--white-bright);margin-bottom:8px;font-size:1.1em;font-weight:600}.lp-brain-card p{color:var(--gray);margin:0;font-size:.92em;line-height:1.6}.lp-provider-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-bottom:24px;display:grid}.lp-provider-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-sm);padding:20px 24px;transition:all .3s}.lp-provider-card:hover{border-color:var(--border-hover)}.lp-provider-card h4{color:var(--white-bright);align-items:center;gap:8px;margin-bottom:4px;font-size:1em;font-weight:600;display:flex}.lp-provider-card p{color:var(--gray);margin:0;font-size:.88em}.lp-provider-badge{text-transform:uppercase;letter-spacing:.08em;color:var(--cyan);background:rgba(0,212,255,.12);border:1px solid rgba(0,212,255,.25);border-radius:4px;padding:2px 8px;font-size:.65em;font-weight:700}.lp-provider-note{text-align:center;color:var(--gray-dim);border:1px dashed var(--border);border-radius:var(--radius-sm);margin-top:20px;padding:16px;font-size:.9em}.lp-provider-note p{margin:0}.lp-compare-table{overflow-x:auto}.lp-compare-table table{border-collapse:collapse;width:100%;font-size:.88em}.lp-compare-table th,.lp-compare-table td{text-align:left;border-bottom:1px solid var(--border);padding:14px 18px}.lp-compare-table th{color:var(--gray-dim);text-transform:uppercase;letter-spacing:.05em;font-size:.82em;font-weight:600}.lp-compare-table th.lp-highlight{color:var(--cyan)}.lp-compare-table td.lp-highlight{color:var(--white);font-weight:500}.lp-compare-table td.lp-no{color:var(--gray-dim)}.lp-compare-table td.lp-partial{color:var(--yellow)}.lp-compare-table tr:hover td{background:rgba(255,255,255,.016)}.lp-install-steps{max-width:560px;margin:0 auto}.lp-install-step{align-items:flex-start;gap:20px;margin-bottom:32px;display:flex}.lp-install-step:last-child{margin-bottom:0}.lp-install-num{background:var(--cyan);width:44px;height:44px;color:var(--bg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:1.1em;font-weight:800;display:flex}.lp-install-step h4{color:var(--white-bright);margin-bottom:4px;font-size:1.1em;font-weight:700}.lp-install-step p{color:var(--gray);margin:4px 0 0;font-size:.9em}.lp-cta-section{text-align:center}.lp-cta-terminal{background:var(--bg-terminal);border:1px solid var(--cyan-dim);border-radius:var(--radius-sm);box-shadow:0 0 60px var(--cyan-glow);margin:32px 0 16px;padding:20px 36px;display:inline-block}.lp-cta-terminal code{color:var(--cyan);background:0 0;padding:0;font-size:1.05em}.lp-cta-sub{color:var(--gray);margin-bottom:24px}.lp-cta-links{justify-content:center;gap:28px;display:flex}.lp-cta-links a{color:var(--gray);font-size:.92em;font-weight:500}.lp-cta-links a:hover{color:var(--cyan)}.lp-footer{border-top:1px solid var(--border);padding:36px 0}.lp-footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.lp-footer-logo{font-family:var(--font);color:var(--cyan);font-weight:700}.lp-footer-tagline{color:var(--gray-dim);margin-left:12px;font-size:.88em}.lp-footer-links{gap:24px;display:flex}.lp-footer-links a{color:var(--gray-dim);font-size:.88em}.lp-footer-links a:hover{color:var(--white)}.lp-reveal{opacity:0;transition:opacity .7s,transform .7s;transform:translateY(28px)}.lp-reveal.lp-revealed{opacity:1;transform:translateY(0)}@media (width<=1024px){.lp-pillars,.lp-channels-grid{grid-template-columns:1fr}.lp-agent-features{grid-template-columns:repeat(2,1fr)}.lp-autopilot-grid{grid-template-columns:1fr}}@media (width<=768px){.lp-nav-links{background:var(--bg);border-bottom:1px solid var(--border);z-index:99;flex-direction:column;gap:16px;padding:20px 24px;display:none;position:absolute;top:60px;left:0;right:0}.lp-nav-links.lp-nav-links-open{display:flex}.lp-nav-toggle{display:block}.lp-hero{padding:120px 0 60px}.lp-hero-title{font-size:2em}.lp-terminal-window{border-radius:0;margin-left:-12px;margin-right:-12px}.lp-terminal-body{padding:16px;font-size:.72em}.lp-agent-features{grid-template-columns:1fr}.lp-compare-table{font-size:.78em}.lp-footer-inner{text-align:center;flex-direction:column}.lp-section{padding:72px 0}}
\ No newline at end of file
diff --git a/docs/assets/js/0058b4c6.671f100d.js b/docs/assets/js/0058b4c6.671f100d.js
deleted file mode 100644
index 05bfb469..00000000
--- a/docs/assets/js/0058b4c6.671f100d.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["266"],{6164(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"link","href":"/docs/","label":"Installation","docId":"getting-started/installation","unlisted":false},{"type":"link","href":"/docs/getting-started/setup","label":"First-Time Setup","docId":"getting-started/setup","unlisted":false},{"type":"link","href":"/docs/getting-started/starting","label":"Starting Mercury","docId":"getting-started/starting","unlisted":false},{"type":"category","label":"CLI Commands","collapsed":false,"items":[{"type":"link","href":"/docs/cli-commands/cli-commands","label":"Full Command Reference","docId":"cli-commands/cli-commands","unlisted":false},{"type":"link","href":"/docs/cli-commands/doctor","label":"Doctor (Reconfigure)","docId":"cli-commands/doctor","unlisted":false},{"type":"link","href":"/docs/cli-commands/in-chat-commands","label":"In-Chat Commands","docId":"cli-commands/in-chat-commands","unlisted":false}],"collapsible":true},{"type":"category","label":"Daemon Mode","collapsed":true,"items":[{"type":"link","href":"/docs/daemon-mode/daemon-mode","label":"Daemon Mode","docId":"daemon-mode/daemon-mode","unlisted":false},{"type":"link","href":"/docs/daemon-mode/system-service","label":"System Service (Auto-Start on Boot)","docId":"daemon-mode/system-service","unlisted":false},{"type":"link","href":"/docs/daemon-mode/platform-guide","label":"Platform-Specific Guide","docId":"daemon-mode/platform-guide","unlisted":false}],"collapsible":true},{"type":"category","label":"Integrations","collapsed":false,"items":[{"type":"link","href":"/docs/integrations/github-companion","label":"GitHub Companion","docId":"integrations/github-companion","unlisted":false},{"type":"link","href":"/docs/integrations/telegram","label":"Telegram","docId":"integrations/telegram","unlisted":false},{"type":"link","href":"/docs/integrations/spotify","label":"Spotify Integration","docId":"integrations/spotify","unlisted":false},{"type":"link","href":"/docs/integrations/coding-workspace","label":"Coding Workspace (IDE Mode)","docId":"integrations/coding-workspace","unlisted":false},{"type":"link","href":"/docs/integrations/sub-agents","label":"Sub-Agents (Multi-Agent Mode)","docId":"integrations/sub-agents","unlisted":false}],"collapsible":true},{"type":"category","label":"Reference","collapsed":true,"items":[{"type":"link","href":"/docs/reference/built-in-tools","label":"Built-in Tools","docId":"reference/built-in-tools","unlisted":false},{"type":"link","href":"/docs/reference/configuration","label":"Configuration","docId":"reference/configuration","unlisted":false},{"type":"link","href":"/docs/reference/permissions","label":"Permissions","docId":"reference/permissions","unlisted":false},{"type":"link","href":"/docs/reference/second-brain","label":"Second Brain","docId":"reference/second-brain","unlisted":false},{"type":"link","href":"/docs/reference/provider-fallback","label":"Provider Fallback","docId":"reference/provider-fallback","unlisted":false},{"type":"link","href":"/docs/reference/scheduling","label":"Scheduling","docId":"reference/scheduling","unlisted":false},{"type":"link","href":"/docs/reference/skills","label":"Skills","docId":"reference/skills","unlisted":false}],"collapsible":true},{"type":"category","label":"Releases","collapsed":true,"items":[{"type":"link","href":"/docs/releases/","label":"Releases","docId":"releases/releases","unlisted":false},{"type":"link","href":"/docs/releases/1.1.6","label":"v1.1.6","docId":"releases/1.1.6","unlisted":false}],"collapsible":true}]},"docs":{"cli-commands/cli-commands":{"id":"cli-commands/cli-commands","title":"Full Command Reference","description":"| Command | Description |","sidebar":"docsSidebar"},"cli-commands/doctor":{"id":"cli-commands/doctor","title":"Doctor (Reconfigure)","description":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","sidebar":"docsSidebar"},"cli-commands/in-chat-commands":{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","sidebar":"docsSidebar"},"daemon-mode/daemon-mode":{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","sidebar":"docsSidebar"},"daemon-mode/platform-guide":{"id":"daemon-mode/platform-guide","title":"Platform-Specific Guide","description":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","sidebar":"docsSidebar"},"daemon-mode/system-service":{"id":"daemon-mode/system-service","title":"System Service (Auto-Start on Boot)","description":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","sidebar":"docsSidebar"},"getting-started/installation":{"id":"getting-started/installation","title":"Installation","description":"Mercury requires Node.js 20+. Install with npm:","sidebar":"docsSidebar"},"getting-started/setup":{"id":"getting-started/setup","title":"First-Time Setup","description":"Run mercury for the first time. The onboarding wizard asks for:","sidebar":"docsSidebar"},"getting-started/starting":{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","sidebar":"docsSidebar"},"integrations/coding-workspace":{"id":"integrations/coding-workspace","title":"Coding Workspace (IDE Mode)","description":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","sidebar":"docsSidebar"},"integrations/github-companion":{"id":"integrations/github-companion","title":"GitHub Companion","description":"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury\'s built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","sidebar":"docsSidebar"},"integrations/spotify":{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","sidebar":"docsSidebar"},"integrations/sub-agents":{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","sidebar":"docsSidebar"},"integrations/telegram":{"id":"integrations/telegram","title":"Telegram","description":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","sidebar":"docsSidebar"},"reference/built-in-tools":{"id":"reference/built-in-tools","title":"Built-in Tools","description":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them.","sidebar":"docsSidebar"},"reference/configuration":{"id":"reference/configuration","title":"Configuration","description":"All runtime data lives in ~/.mercury/ \u2014 not in your project directory.","sidebar":"docsSidebar"},"reference/permissions":{"id":"reference/permissions","title":"Permissions","description":"Mercury has a three-tier permission system for shell commands:","sidebar":"docsSidebar"},"reference/provider-fallback":{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","sidebar":"docsSidebar"},"reference/scheduling":{"id":"reference/scheduling","title":"Scheduling","description":"Mercury can schedule tasks using cron expressions or one-shot delays.","sidebar":"docsSidebar"},"reference/second-brain":{"id":"reference/second-brain","title":"Second Brain","description":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more.","sidebar":"docsSidebar"},"reference/skills":{"id":"reference/skills","title":"Skills","description":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","sidebar":"docsSidebar"},"releases/1.1.6":{"id":"releases/1.1.6","title":"v1.1.6","description":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","sidebar":"docsSidebar"},"releases/releases":{"id":"releases/releases","title":"Releases","description":"This section tracks Mercury release notes by version.","sidebar":"docsSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0058b4c6.d92f4c59.js b/docs/assets/js/0058b4c6.d92f4c59.js
new file mode 100644
index 00000000..c520e817
--- /dev/null
+++ b/docs/assets/js/0058b4c6.d92f4c59.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["266"],{6164(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"link","href":"/docs/","label":"Installation","docId":"getting-started/installation","unlisted":false},{"type":"link","href":"/docs/getting-started/setup","label":"First-Time Setup","docId":"getting-started/setup","unlisted":false},{"type":"link","href":"/docs/getting-started/starting","label":"Starting Mercury","docId":"getting-started/starting","unlisted":false},{"type":"category","label":"CLI Commands","collapsed":false,"items":[{"type":"link","href":"/docs/cli-commands/cli-commands","label":"Full Command Reference","docId":"cli-commands/cli-commands","unlisted":false},{"type":"link","href":"/docs/cli-commands/doctor","label":"Doctor (Reconfigure)","docId":"cli-commands/doctor","unlisted":false},{"type":"link","href":"/docs/cli-commands/in-chat-commands","label":"In-Chat Commands","docId":"cli-commands/in-chat-commands","unlisted":false}],"collapsible":true},{"type":"category","label":"Daemon Mode","collapsed":true,"items":[{"type":"link","href":"/docs/daemon-mode/daemon-mode","label":"Daemon Mode","docId":"daemon-mode/daemon-mode","unlisted":false},{"type":"link","href":"/docs/daemon-mode/system-service","label":"System Service (Auto-Start on Boot)","docId":"daemon-mode/system-service","unlisted":false},{"type":"link","href":"/docs/daemon-mode/platform-guide","label":"Platform-Specific Guide","docId":"daemon-mode/platform-guide","unlisted":false}],"collapsible":true},{"type":"category","label":"Integrations","collapsed":false,"items":[{"type":"link","href":"/docs/integrations/github-companion","label":"GitHub Companion","docId":"integrations/github-companion","unlisted":false},{"type":"link","href":"/docs/integrations/telegram","label":"Telegram","docId":"integrations/telegram","unlisted":false},{"type":"link","href":"/docs/integrations/spotify","label":"Spotify Integration","docId":"integrations/spotify","unlisted":false},{"type":"link","href":"/docs/integrations/coding-workspace","label":"Coding Workspace (IDE Mode)","docId":"integrations/coding-workspace","unlisted":false},{"type":"link","href":"/docs/integrations/sub-agents","label":"Sub-Agents (Multi-Agent Mode)","docId":"integrations/sub-agents","unlisted":false}],"collapsible":true},{"type":"category","label":"Reference","collapsed":true,"items":[{"type":"link","href":"/docs/reference/built-in-tools","label":"Built-in Tools","docId":"reference/built-in-tools","unlisted":false},{"type":"link","href":"/docs/reference/configuration","label":"Configuration","docId":"reference/configuration","unlisted":false},{"type":"link","href":"/docs/reference/permissions","label":"Permissions","docId":"reference/permissions","unlisted":false},{"type":"link","href":"/docs/reference/second-brain","label":"Second Brain","docId":"reference/second-brain","unlisted":false},{"type":"link","href":"/docs/reference/provider-fallback","label":"Provider Fallback","docId":"reference/provider-fallback","unlisted":false},{"type":"link","href":"/docs/reference/scheduling","label":"Scheduling","docId":"reference/scheduling","unlisted":false},{"type":"link","href":"/docs/reference/skills","label":"Skills","docId":"reference/skills","unlisted":false}],"collapsible":true},{"type":"category","label":"Releases","collapsed":true,"items":[{"type":"link","href":"/docs/releases/","label":"Releases","docId":"releases/releases","unlisted":false},{"type":"link","href":"/docs/releases/1.1.7","label":"v1.1.7","docId":"releases/1.1.7","unlisted":false},{"type":"link","href":"/docs/releases/1.1.6","label":"v1.1.6","docId":"releases/1.1.6","unlisted":false}],"collapsible":true}]},"docs":{"cli-commands/cli-commands":{"id":"cli-commands/cli-commands","title":"Full Command Reference","description":"| Command | Description |","sidebar":"docsSidebar"},"cli-commands/doctor":{"id":"cli-commands/doctor","title":"Doctor (Reconfigure)","description":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","sidebar":"docsSidebar"},"cli-commands/in-chat-commands":{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","sidebar":"docsSidebar"},"daemon-mode/daemon-mode":{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","sidebar":"docsSidebar"},"daemon-mode/platform-guide":{"id":"daemon-mode/platform-guide","title":"Platform-Specific Guide","description":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","sidebar":"docsSidebar"},"daemon-mode/system-service":{"id":"daemon-mode/system-service","title":"System Service (Auto-Start on Boot)","description":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","sidebar":"docsSidebar"},"getting-started/installation":{"id":"getting-started/installation","title":"Installation","description":"Mercury requires Node.js 20+. Install with npm:","sidebar":"docsSidebar"},"getting-started/setup":{"id":"getting-started/setup","title":"First-Time Setup","description":"Run mercury for the first time. The onboarding wizard asks for:","sidebar":"docsSidebar"},"getting-started/starting":{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","sidebar":"docsSidebar"},"integrations/coding-workspace":{"id":"integrations/coding-workspace","title":"Coding Workspace (IDE Mode)","description":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","sidebar":"docsSidebar"},"integrations/github-companion":{"id":"integrations/github-companion","title":"GitHub Companion","description":"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury\'s built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","sidebar":"docsSidebar"},"integrations/spotify":{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","sidebar":"docsSidebar"},"integrations/sub-agents":{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","sidebar":"docsSidebar"},"integrations/telegram":{"id":"integrations/telegram","title":"Telegram","description":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress.","sidebar":"docsSidebar"},"reference/built-in-tools":{"id":"reference/built-in-tools","title":"Built-in Tools","description":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them.","sidebar":"docsSidebar"},"reference/configuration":{"id":"reference/configuration","title":"Configuration","description":"All runtime data lives in ~/.mercury/ \u2014 not in your project directory.","sidebar":"docsSidebar"},"reference/permissions":{"id":"reference/permissions","title":"Permissions","description":"Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between Ask Me and Allow All modes.","sidebar":"docsSidebar"},"reference/provider-fallback":{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","sidebar":"docsSidebar"},"reference/scheduling":{"id":"reference/scheduling","title":"Scheduling","description":"Mercury can schedule tasks using cron expressions or one-shot delays.","sidebar":"docsSidebar"},"reference/second-brain":{"id":"reference/second-brain","title":"Second Brain","description":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more.","sidebar":"docsSidebar"},"reference/skills":{"id":"reference/skills","title":"Skills","description":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","sidebar":"docsSidebar"},"releases/1.1.6":{"id":"releases/1.1.6","title":"v1.1.6","description":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","sidebar":"docsSidebar"},"releases/1.1.7":{"id":"releases/1.1.7","title":"v1.1.7","description":"Release 1.1.7 brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot.","sidebar":"docsSidebar"},"releases/releases":{"id":"releases/releases","title":"Releases","description":"This section tracks Mercury release notes by version.","sidebar":"docsSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0402ec03.24b4b9ab.js b/docs/assets/js/0402ec03.24b4b9ab.js
deleted file mode 100644
index 606077f9..00000000
--- a/docs/assets/js/0402ec03.24b4b9ab.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["351"],{6019(e,r,s){s.r(r),s.d(r,{metadata:()=>n,default:()=>h,frontMatter:()=>i,contentTitle:()=>c,toc:()=>a,assets:()=>l});var n=JSON.parse('{"id":"integrations/telegram","title":"Telegram","description":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","source":"@site/docs/integrations/telegram.mdx","sourceDirName":"integrations","slug":"/integrations/telegram","permalink":"/docs/integrations/telegram","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/telegram.mdx","tags":[],"version":"current","frontMatter":{"id":"telegram","title":"Telegram"},"sidebar":"docsSidebar","previous":{"title":"GitHub Companion","permalink":"/docs/integrations/github-companion"},"next":{"title":"Spotify Integration","permalink":"/docs/integrations/spotify"}}'),t=s(4848),d=s(8453);let i={id:"telegram",title:"Telegram"},c,l={},a=[{value:"Access Model",id:"access-model",level:2},{value:"Roles",id:"roles",level:3},{value:"CLI Commands",id:"cli-commands",level:3},{value:"In-Chat Commands",id:"in-chat-commands",level:3},{value:"Features",id:"features",level:2},{value:"Configuration",id:"configuration",level:2}];function o(e){let r={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.p,{children:"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."}),"\n",(0,t.jsx)(r.h2,{id:"access-model",children:"Access Model"}),"\n",(0,t.jsxs)(r.p,{children:["Mercury uses an ",(0,t.jsx)(r.strong,{children:"organization access model"})," with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending ",(0,t.jsx)(r.code,{children:"/start"}),", which admins can approve or reject."]}),"\n",(0,t.jsxs)(r.p,{children:[":::info First-time pairing\nWhen no admins exist yet, sending ",(0,t.jsx)(r.code,{children:"/start"})," creates a ",(0,t.jsx)(r.strong,{children:"pairing code"})," that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send ",(0,t.jsx)(r.code,{children:"/start"})," to create a pending request that admins can approve or reject.\n:::"]}),"\n",(0,t.jsx)(r.p,{children:":::warning Private chats only\nMercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored.\n:::"}),"\n",(0,t.jsx)(r.h3,{id:"roles",children:"Roles"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Role"}),(0,t.jsx)(r.th,{children:"Description"}),(0,t.jsx)(r.th,{children:"Can approve requests?"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.strong,{children:"Admin"})}),(0,t.jsx)(r.td,{children:"First user to pair. Can approve/reject access requests, promote/demote users, and reset all access."}),(0,t.jsx)(r.td,{children:"Yes"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.strong,{children:"Member"})}),(0,t.jsx)(r.td,{children:"Approved by an admin. Can send messages and receive responses."}),(0,t.jsx)(r.td,{children:"No"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.strong,{children:"Pending"})}),(0,t.jsxs)(r.td,{children:["Sent ",(0,t.jsx)(r.code,{children:"/start"})," but not yet approved. Can only see their pending status."]}),(0,t.jsx)(r.td,{children:"No"})]})]})]}),"\n",(0,t.jsx)(r.h3,{id:"cli-commands",children:"CLI Commands"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Command"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram list"})}),(0,t.jsx)(r.td,{children:"Show approved admins, members, and pending requests"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram approve <code|userId>"})}),(0,t.jsx)(r.td,{children:"Approve the first pairing code or a pending request by user ID"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram reject <userId>"})}),(0,t.jsx)(r.td,{children:"Reject a pending access request"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram remove <userId>"})}),(0,t.jsx)(r.td,{children:"Remove an approved admin or member"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram promote <userId>"})}),(0,t.jsx)(r.td,{children:"Promote a member to admin"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram demote <userId>"})}),(0,t.jsx)(r.td,{children:"Demote an admin to member (at least one admin must remain)"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"mercury telegram reset"})}),(0,t.jsx)(r.td,{children:"Clear all Telegram access (admins, members, pending). Start fresh."})]})]})]}),"\n",(0,t.jsx)(r.h3,{id:"in-chat-commands",children:"In-Chat Commands"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Command"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsxs)(r.td,{children:[(0,t.jsx)(r.code,{children:"/start"})," or ",(0,t.jsx)(r.code,{children:"/pair"})]}),(0,t.jsx)(r.td,{children:"Request access (new users) or check status (approved users)"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"/unpair"})}),(0,t.jsx)(r.td,{children:"Admin only: Reset all Telegram access for this Mercury instance"})]})]})]}),"\n",(0,t.jsx)(r.h2,{id:"features",children:"Features"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Feature"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Text streaming"}),(0,t.jsxs)(r.td,{children:["Real-time response editing with typing indicators (toggle with ",(0,t.jsx)(r.code,{children:"/stream"}),")"]})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"File uploads"}),(0,t.jsx)(r.td,{children:"Photos, audio, video, and documents auto-detected and sent with the right API"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"HTML formatting"}),(0,t.jsx)(r.td,{children:"Markdown automatically converted to Telegram-compatible HTML"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Inline keyboards"}),(0,t.jsx)(r.td,{children:"Shell command and scope approvals shown as Allow / Always / Deny buttons"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Multi-user access"}),(0,t.jsxs)(r.td,{children:["Organization model with admins and members. ",(0,t.jsx)(r.code,{children:"send_message"})," broadcasts to all approved users."]})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Bot commands menu"}),(0,t.jsx)(r.td,{children:"12 commands registered in Telegram's bot menu for quick access"})]})]})]}),"\n",(0,t.jsx)(r.h2,{id:"configuration",children:"Configuration"}),"\n",(0,t.jsxs)(r.p,{children:["Telegram is set up during ",(0,t.jsx)(r.code,{children:"mercury doctor"})," or initial onboarding. You need a bot token from ",(0,t.jsx)(r.a,{href:"https://t.me/BotFather",children:"@BotFather"}),"."]}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Variable"}),(0,t.jsx)(r.th,{children:"Description"}),(0,t.jsx)(r.th,{children:"Default"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"TELEGRAM_BOT_TOKEN"})}),(0,t.jsx)(r.td,{children:"Bot token from @BotFather"}),(0,t.jsx)(r.td,{children:"\u2014"})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"TELEGRAM_ENABLED"})}),(0,t.jsx)(r.td,{children:"Enable/disable Telegram channel"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"false"})})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"TELEGRAM_STREAMING"})}),(0,t.jsx)(r.td,{children:"Enable real-time text streaming"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"true"})})]})]})]}),"\n",(0,t.jsxs)(r.p,{children:["Type ",(0,t.jsx)(r.code,{children:"none"})," as the bot token during ",(0,t.jsx)(r.code,{children:"mercury doctor"})," to disable Telegram."]})]})}function h(e={}){let{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},8453(e,r,s){s.d(r,{R:()=>i,x:()=>c});var n=s(6540);let t={},d=n.createContext(t);function i(e){let r=n.useContext(d);return n.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),n.createElement(d.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0402ec03.cffc21b3.js b/docs/assets/js/0402ec03.cffc21b3.js
new file mode 100644
index 00000000..b1bc7f79
--- /dev/null
+++ b/docs/assets/js/0402ec03.cffc21b3.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["351"],{6019(e,s,n){n.r(s),n.d(s,{metadata:()=>r,default:()=>h,frontMatter:()=>d,contentTitle:()=>l,toc:()=>o,assets:()=>c});var r=JSON.parse('{"id":"integrations/telegram","title":"Telegram","description":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress.","source":"@site/docs/integrations/telegram.mdx","sourceDirName":"integrations","slug":"/integrations/telegram","permalink":"/docs/integrations/telegram","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/telegram.mdx","tags":[],"version":"current","frontMatter":{"id":"telegram","title":"Telegram"},"sidebar":"docsSidebar","previous":{"title":"GitHub Companion","permalink":"/docs/integrations/github-companion"},"next":{"title":"Spotify Integration","permalink":"/docs/integrations/spotify"}}'),t=n(4848),i=n(8453);let d={id:"telegram",title:"Telegram"},l,c={},o=[{value:"Access Model",id:"access-model",level:2},{value:"Roles",id:"roles",level:3},{value:"CLI Commands",id:"cli-commands",level:3},{value:"Bot Commands Menu",id:"bot-commands-menu",level:2},{value:"Real-Time Task Progress",id:"real-time-task-progress",level:2},{value:"How It Works",id:"how-it-works",level:3},{value:"What the Status Card Looks Like",id:"what-the-status-card-looks-like",level:3},{value:"Single-Message Design",id:"single-message-design",level:3},{value:"Completion",id:"completion",level:3},{value:"Permission Mode",id:"permission-mode",level:2},{value:"Ephemeral Messages",id:"ephemeral-messages",level:3},{value:"Features",id:"features",level:2},{value:"Configuration",id:"configuration",level:2}];function a(e){let s={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.p,{children:"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress."}),"\n",(0,t.jsx)(s.h2,{id:"access-model",children:"Access Model"}),"\n",(0,t.jsxs)(s.p,{children:["Mercury uses an ",(0,t.jsx)(s.strong,{children:"organization access model"})," with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending ",(0,t.jsx)(s.code,{children:"/start"}),", which admins can approve or reject."]}),"\n",(0,t.jsx)(s.admonition,{title:"First-time pairing",type:"info",children:(0,t.jsxs)(s.p,{children:["When no admins exist yet, sending ",(0,t.jsx)(s.code,{children:"/start"})," creates a ",(0,t.jsx)(s.strong,{children:"pairing code"})," that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send ",(0,t.jsx)(s.code,{children:"/start"})," to create a pending request that admins can approve or reject."]})}),"\n",(0,t.jsx)(s.admonition,{title:"Private chats only",type:"warning",children:(0,t.jsx)(s.p,{children:"Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored."})}),"\n",(0,t.jsx)(s.h3,{id:"roles",children:"Roles"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Role"}),(0,t.jsx)(s.th,{children:"Description"}),(0,t.jsx)(s.th,{children:"Can approve requests?"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"Admin"})}),(0,t.jsx)(s.td,{children:"First user to pair. Can approve/reject access requests, promote/demote users, and reset all access."}),(0,t.jsx)(s.td,{children:"Yes"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"Member"})}),(0,t.jsx)(s.td,{children:"Approved by an admin. Can send messages and receive responses."}),(0,t.jsx)(s.td,{children:"No"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"Pending"})}),(0,t.jsxs)(s.td,{children:["Sent ",(0,t.jsx)(s.code,{children:"/start"})," but not yet approved. Can only see their pending status."]}),(0,t.jsx)(s.td,{children:"No"})]})]})]}),"\n",(0,t.jsx)(s.h3,{id:"cli-commands",children:"CLI Commands"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Command"}),(0,t.jsx)(s.th,{children:"Description"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram list"})}),(0,t.jsx)(s.td,{children:"Show approved admins, members, and pending requests"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram approve <code|userId>"})}),(0,t.jsx)(s.td,{children:"Approve the first pairing code or a pending request by user ID"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram reject <userId>"})}),(0,t.jsx)(s.td,{children:"Reject a pending access request"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram remove <userId>"})}),(0,t.jsx)(s.td,{children:"Remove an approved admin or member"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram promote <userId>"})}),(0,t.jsx)(s.td,{children:"Promote a member to admin"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram demote <userId>"})}),(0,t.jsx)(s.td,{children:"Demote an admin to member (at least one admin must remain)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"mercury telegram reset"})}),(0,t.jsx)(s.td,{children:"Clear all Telegram access (admins, members, pending). Start fresh."})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"bot-commands-menu",children:"Bot Commands Menu"}),"\n",(0,t.jsx)(s.p,{children:"Mercury registers 15 commands in Telegram's bot menu for quick access:"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Command"}),(0,t.jsx)(s.th,{children:"Description"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/start"})}),(0,t.jsx)(s.td,{children:"Request access to this Mercury instance"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/help"})}),(0,t.jsx)(s.td,{children:"Show Telegram-specific command reference"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/status"})}),(0,t.jsx)(s.td,{children:"Config, budget, and uptime"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/progress"})}),(0,t.jsx)(s.td,{children:"Live status for the current task"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/stop"})}),(0,t.jsx)(s.td,{children:"Stop all agents and clear queue"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/budget"})}),(0,t.jsx)(s.td,{children:"Token budget status and management"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/stream"})}),(0,t.jsx)(s.td,{children:"Toggle text streaming on/off"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/memory"})}),(0,t.jsx)(s.td,{children:"Second brain memory"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/permissions"})}),(0,t.jsx)(s.td,{children:"Switch Ask Me / Allow All mode"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/models"})}),(0,t.jsx)(s.td,{children:"List providers or switch AI model"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/code"})}),(0,t.jsx)(s.td,{children:"Programming mode (plan / execute / off)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/agents"})}),(0,t.jsx)(s.td,{children:"List and manage sub-agents"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/bg"})}),(0,t.jsx)(s.td,{children:"Background tasks"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify"})}),(0,t.jsx)(s.td,{children:"Spotify playback controls"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/unpair"})}),(0,t.jsx)(s.td,{children:"Reset all Telegram access (admin only)"})]})]})]}),"\n",(0,t.jsx)(s.admonition,{title:"Telegram-specific help",type:"tip",children:(0,t.jsxs)(s.p,{children:["Running ",(0,t.jsx)(s.code,{children:"/help"})," on Telegram shows a clean, Telegram-formatted command reference with only Telegram-relevant commands \u2014 no CLI-only features like workspace IDE or progress views."]})}),"\n",(0,t.jsx)(s.h2,{id:"real-time-task-progress",children:"Real-Time Task Progress"}),"\n",(0,t.jsxs)(s.p,{children:["During multi-step tasks, Mercury uses a ",(0,t.jsx)(s.strong,{children:"single status card"})," that updates in place. This keeps the chat clean \u2014 you see one message that shows what's happening, not a flood of separate updates."]}),"\n",(0,t.jsx)(s.h3,{id:"how-it-works",children:"How It Works"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Step 1 begins"})," \u2014 Mercury creates a status card: ",(0,t.jsx)(s.code,{children:"\u2699\uFE0F Mercury working (step 1)"})]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Steps progress"})," \u2014 The same message is edited to show the latest steps with checkmarks"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Step 3+ (substantial task)"})," \u2014 The status card is ",(0,t.jsx)(s.strong,{children:"pinned"})," to the top of the chat so you can always see progress without scrolling"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Notices"})," \u2014 System messages like Mercury Autopilot warnings are folded into the status card instead of creating separate messages"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Task completes"})," \u2014 The status card is unpinned and deleted. The AI response and completion banner appear as fresh messages"]}),"\n"]}),"\n",(0,t.jsx)(s.h3,{id:"what-the-status-card-looks-like",children:"What the Status Card Looks Like"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"\u2699\uFE0F Mercury working (step 5)\n\n\u2705 read_file \xb7 src/index.ts\n\u2705 edit_file \xb7 src/utils.ts\n\u2705 run_command \xb7 npm test\n\u2705 read_file \xb7 package.json\n\u23F3 write_file \xb7 src/config.ts\u2026\n"})}),"\n",(0,t.jsx)(s.h3,{id:"single-message-design",children:"Single-Message Design"}),"\n",(0,t.jsxs)(s.p,{children:["During an active task, ",(0,t.jsx)(s.strong,{children:"no new messages are created"})," in the chat. Everything is consolidated into the pinned status card:"]}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Tool progress"})," \u2014 edited in place with a rolling window of the last 5 completed steps"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Autopilot warnings"})," \u2014 shown as notice lines in the status card (last 3 notices)"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"AI responses"})," \u2014 deferred until the task completes, then sent as a clean message"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Permission prompts"})," \u2014 shown as ephemeral inline keyboard messages, deleted after you respond"]}),"\n"]}),"\n",(0,t.jsx)(s.p,{children:"This means you never have to scroll up to find the progress indicator \u2014 it stays pinned at the top until the task is done."}),"\n",(0,t.jsx)(s.h3,{id:"completion",children:"Completion"}),"\n",(0,t.jsx)(s.p,{children:"When a substantial task finishes (3+ steps and 30+ seconds), Mercury sends a completion banner:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"\u2705 Task complete (8 steps \xb7 45s)\n\u263F claude-sonnet via anthropic \xb7 12.4k tokens\nBudget: \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591 67% (67.2k / 100.0k)\n\n \u2713 read_file \xb7 src/index.ts\n \u2713 edit_file \xb7 src/utils.ts\n \u2713 run_command \xb7 npm test\n"})}),"\n",(0,t.jsx)(s.h2,{id:"permission-mode",children:"Permission Mode"}),"\n",(0,t.jsx)(s.p,{children:"At the start of each Telegram session, Mercury shows an inline keyboard to choose a permission mode:"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"\u{1F512} Ask Me"})," \u2014 Mercury asks before file writes, shell commands, and scope changes. Prompts appear as inline keyboards with Allow / Always / Deny buttons."]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"\u2705 Allow All"})," \u2014 Auto-approve everything for this session. No interruptions."]}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:["Use ",(0,t.jsx)(s.code,{children:"/permissions"}),' at any time to switch modes. Choosing "Always" on any permission prompt flips to auto-approve for the rest of the session.']}),"\n",(0,t.jsx)(s.h3,{id:"ephemeral-messages",children:"Ephemeral Messages"}),"\n",(0,t.jsxs)(s.p,{children:["Permission prompts, loop-continuation prompts, and mode-selection cards are ",(0,t.jsx)(s.strong,{children:"ephemeral"})," \u2014 they're deleted automatically after you respond (or after a 2-minute timeout). This keeps the chat clean."]}),"\n",(0,t.jsx)(s.h2,{id:"features",children:"Features"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Feature"}),(0,t.jsx)(s.th,{children:"Description"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Single status card"}),(0,t.jsx)(s.td,{children:"One message edited in place during multi-step tasks \u2014 no message clutter"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Pinned progress"}),(0,t.jsx)(s.td,{children:"Status card pinned to chat top for tasks with 3+ steps"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Text streaming"}),(0,t.jsxs)(s.td,{children:["Real-time response editing with typing indicators (toggle with ",(0,t.jsx)(s.code,{children:"/stream"}),")"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"File uploads"}),(0,t.jsx)(s.td,{children:"Photos, audio, video, and documents auto-detected and sent with the right API"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"HTML formatting"}),(0,t.jsx)(s.td,{children:"Markdown automatically converted to Telegram-compatible HTML"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Inline keyboards"}),(0,t.jsx)(s.td,{children:"Permission and mode prompts shown as tappable buttons"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Ephemeral prompts"}),(0,t.jsx)(s.td,{children:"Permission and mode cards auto-deleted after response"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Completion banners"}),(0,t.jsx)(s.td,{children:"Token usage and budget stats for substantial tasks"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Multi-user access"}),(0,t.jsx)(s.td,{children:"Organization model with admins and members"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Bot commands menu"}),(0,t.jsx)(s.td,{children:"15 commands registered in Telegram's bot menu for quick access"})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"configuration",children:"Configuration"}),"\n",(0,t.jsxs)(s.p,{children:["Telegram is set up during ",(0,t.jsx)(s.code,{children:"mercury doctor"})," or initial onboarding. You need a bot token from ",(0,t.jsx)(s.a,{href:"https://t.me/BotFather",children:"@BotFather"}),"."]}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Variable"}),(0,t.jsx)(s.th,{children:"Description"}),(0,t.jsx)(s.th,{children:"Default"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"TELEGRAM_BOT_TOKEN"})}),(0,t.jsx)(s.td,{children:"Bot token from @BotFather"}),(0,t.jsx)(s.td,{children:"\u2014"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"TELEGRAM_ENABLED"})}),(0,t.jsx)(s.td,{children:"Enable/disable Telegram channel"}),(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"false"})})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"TELEGRAM_STREAMING"})}),(0,t.jsx)(s.td,{children:"Enable real-time text streaming"}),(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"true"})})]})]})]}),"\n",(0,t.jsxs)(s.p,{children:["Type ",(0,t.jsx)(s.code,{children:"none"})," as the bot token during ",(0,t.jsx)(s.code,{children:"mercury doctor"})," to disable Telegram."]})]})}function h(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453(e,s,n){n.d(s,{R:()=>d,x:()=>l});var r=n(6540);let t={},i=r.createContext(t);function d(e){let s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:d(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/09292580.13415696.js b/docs/assets/js/09292580.13415696.js
new file mode 100644
index 00000000..6350290b
--- /dev/null
+++ b/docs/assets/js/09292580.13415696.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["851"],{3131(e,s,r){r.r(s),r.d(s,{metadata:()=>n,default:()=>a,frontMatter:()=>d,contentTitle:()=>l,toc:()=>c,assets:()=>o});var n=JSON.parse('{"id":"reference/permissions","title":"Permissions","description":"Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between Ask Me and Allow All modes.","source":"@site/docs/reference/permissions.mdx","sourceDirName":"reference","slug":"/reference/permissions","permalink":"/docs/reference/permissions","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/permissions.mdx","tags":[],"version":"current","frontMatter":{"id":"permissions","title":"Permissions"},"sidebar":"docsSidebar","previous":{"title":"Configuration","permalink":"/docs/reference/configuration"},"next":{"title":"Second Brain","permalink":"/docs/reference/second-brain"}}'),i=r(4848),t=r(8453);let d={id:"permissions",title:"Permissions"},l,o={},c=[{value:"Permission Modes",id:"permission-modes",level:2},{value:"How Modes Differ",id:"how-modes-differ",level:3},{value:"&quot;Always&quot; Response",id:"always-response",level:3},{value:"Shell Command Tiers",id:"shell-command-tiers",level:2},{value:"1. Blocked (never executed)",id:"1-blocked-never-executed",level:3},{value:"2. Safe Read Commands (auto-approved in any mode)",id:"2-safe-read-commands-auto-approved-in-any-mode",level:3},{value:"3. Everything Else",id:"3-everything-else",level:3},{value:"File System Scopes",id:"file-system-scopes",level:2},{value:"Mercury Autopilot (Loop Detection)",id:"mercury-autopilot-loop-detection",level:2},{value:"How It Works",id:"how-it-works",level:3},{value:"AI Self-Check (Allow All Mode)",id:"ai-self-check-allow-all-mode",level:3},{value:"User Prompt (Ask Me Mode)",id:"user-prompt-ask-me-mode",level:3},{value:"Hard Limits",id:"hard-limits",level:3}];function h(e){let s={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.p,{children:["Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between ",(0,i.jsx)(s.strong,{children:"Ask Me"})," and ",(0,i.jsx)(s.strong,{children:"Allow All"})," modes."]}),"\n",(0,i.jsx)(s.h2,{id:"permission-modes",children:"Permission Modes"}),"\n",(0,i.jsx)(s.p,{children:"At session start, Mercury asks you to choose a permission mode:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"\u{1F512} Ask Me"})," \u2014 Mercury asks for confirmation before risky actions. Default on both CLI and Telegram."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"\u2705 Allow All"})," \u2014 Mercury auto-approves everything for this session. No interruptions. Resets on restart."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["On ",(0,i.jsx)(s.strong,{children:"CLI"}),": an arrow-key menu appears at startup before the first prompt."]}),"\n",(0,i.jsxs)(s.p,{children:["On ",(0,i.jsx)(s.strong,{children:"Telegram"}),": inline keyboard buttons appear with the first message. Use ",(0,i.jsx)(s.code,{children:"/permissions"})," to change mode at any time."]}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Scheduled tasks"})," always run in Allow All mode \u2014 filesystem access and shell commands are auto-approved."]}),"\n",(0,i.jsx)(s.h3,{id:"how-modes-differ",children:"How Modes Differ"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Action"}),(0,i.jsx)(s.th,{children:"Ask Me"}),(0,i.jsx)(s.th,{children:"Allow All"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"File reads"}),(0,i.jsx)(s.td,{children:"Auto-approved (via scope matching)"}),(0,i.jsx)(s.td,{children:"Auto-approved"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"File writes"}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Always prompts"})}),(0,i.jsx)(s.td,{children:"Auto-approved (via scope matching)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsxs)(s.td,{children:["Safe shell commands (",(0,i.jsx)(s.code,{children:"ls"}),", ",(0,i.jsx)(s.code,{children:"cat"}),", ",(0,i.jsx)(s.code,{children:"grep"}),", ",(0,i.jsx)(s.code,{children:"git status"}),")"]}),(0,i.jsx)(s.td,{children:"Auto-approved"}),(0,i.jsx)(s.td,{children:"Auto-approved"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Other shell commands"}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Prompts"})}),(0,i.jsx)(s.td,{children:"Auto-approved"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"New directory scope"}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Prompts"})}),(0,i.jsx)(s.td,{children:"Auto-approved"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Loop continuation"}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Prompts"})}),(0,i.jsx)(s.td,{children:"AI self-check (Mercury Autopilot)"})]})]})]}),"\n",(0,i.jsx)(s.h3,{id:"always-response",children:'"Always" Response'}),"\n",(0,i.jsxs)(s.p,{children:["When prompted in Ask Me mode, choosing ",(0,i.jsx)(s.strong,{children:'"Always"'})," (or pressing ",(0,i.jsx)(s.code,{children:"A"}),") flips to auto-approve for the rest of the session \u2014 equivalent to switching to Allow All mode."]}),"\n",(0,i.jsx)(s.h2,{id:"shell-command-tiers",children:"Shell Command Tiers"}),"\n",(0,i.jsx)(s.h3,{id:"1-blocked-never-executed",children:"1. Blocked (never executed)"}),"\n",(0,i.jsxs)(s.p,{children:["Commands like ",(0,i.jsx)(s.code,{children:"sudo"}),", ",(0,i.jsx)(s.code,{children:"rm -rf /"}),", ",(0,i.jsx)(s.code,{children:"mkfs"})," are never executed regardless of mode."]}),"\n",(0,i.jsx)(s.h3,{id:"2-safe-read-commands-auto-approved-in-any-mode",children:"2. Safe Read Commands (auto-approved in any mode)"}),"\n",(0,i.jsx)(s.p,{children:"Mercury maintains a whitelist of safe read-only commands that never require approval:"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.code,{children:"ls"}),", ",(0,i.jsx)(s.code,{children:"cat"}),", ",(0,i.jsx)(s.code,{children:"head"}),", ",(0,i.jsx)(s.code,{children:"tail"}),", ",(0,i.jsx)(s.code,{children:"grep"}),", ",(0,i.jsx)(s.code,{children:"rg"}),", ",(0,i.jsx)(s.code,{children:"find"}),", ",(0,i.jsx)(s.code,{children:"wc"}),", ",(0,i.jsx)(s.code,{children:"file"}),", ",(0,i.jsx)(s.code,{children:"stat"}),", ",(0,i.jsx)(s.code,{children:"which"}),", ",(0,i.jsx)(s.code,{children:"echo"}),", ",(0,i.jsx)(s.code,{children:"pwd"}),", ",(0,i.jsx)(s.code,{children:"env"}),", ",(0,i.jsx)(s.code,{children:"printenv"}),", ",(0,i.jsx)(s.code,{children:"date"}),", ",(0,i.jsx)(s.code,{children:"whoami"}),", ",(0,i.jsx)(s.code,{children:"hostname"}),", ",(0,i.jsx)(s.code,{children:"uname"}),", ",(0,i.jsx)(s.code,{children:"git status"}),", ",(0,i.jsx)(s.code,{children:"git diff"}),", ",(0,i.jsx)(s.code,{children:"git log"}),", ",(0,i.jsx)(s.code,{children:"git branch"}),", ",(0,i.jsx)(s.code,{children:"git show"}),", ",(0,i.jsx)(s.code,{children:"git remote"}),", ",(0,i.jsx)(s.code,{children:"node --version"}),", ",(0,i.jsx)(s.code,{children:"npm list"}),", ",(0,i.jsx)(s.code,{children:"npx tsc --noEmit"}),", and similar read-only operations."]}),"\n",(0,i.jsx)(s.h3,{id:"3-everything-else",children:"3. Everything Else"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Ask Me mode"}),": Prompts for approval. Approval options: Yes / No / Always."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Allow All mode"}),": Auto-approved (except blocked commands)."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Edit ",(0,i.jsx)(s.code,{children:"~/.mercury/permissions.yaml"})," to customize blocked and auto-approved command patterns. Skill elevation: skills with ",(0,i.jsx)(s.code,{children:"allowed-tools"})," in their SKILL.md get automatic approval for those tools during execution."]}),"\n",(0,i.jsx)(s.h2,{id:"file-system-scopes",children:"File System Scopes"}),"\n",(0,i.jsx)(s.p,{children:"Mercury uses directory scopes to control file access. When the agent tries to access files in a new directory:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Ask Me mode"}),": Prompts for scope approval (reads and writes)"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Allow All mode"}),": Auto-approves scope access"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Approved scopes persist for the session. The current working directory is always in scope."}),"\n",(0,i.jsx)(s.h2,{id:"mercury-autopilot-loop-detection",children:"Mercury Autopilot (Loop Detection)"}),"\n",(0,i.jsxs)(s.p,{children:["Mercury includes an intelligent loop detection system called ",(0,i.jsx)(s.strong,{children:"Mercury Autopilot"})," that prevents the agent from getting stuck in repetitive tool call patterns."]}),"\n",(0,i.jsx)(s.h3,{id:"how-it-works",children:"How It Works"}),"\n",(0,i.jsx)(s.p,{children:"Instead of simply counting repeated tool calls, Autopilot analyzes:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Parameter diversity"})," \u2014 Are the arguments changing between calls, or is it calling the same thing over and over?"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Success rate"})," \u2014 Are the calls succeeding or failing repeatedly?"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"This produces a verdict:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Verdict"}),(0,i.jsx)(s.th,{children:"Criteria"}),(0,i.jsx)(s.th,{children:"Action"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Productive"})}),(0,i.jsx)(s.td,{children:"Diversity \u2265 60%, success \u2265 70%"}),(0,i.jsx)(s.td,{children:"Continue without interruption"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Suspicious"})}),(0,i.jsx)(s.td,{children:"Between productive and stuck"}),(0,i.jsx)(s.td,{children:"Monitor (Allow All: AI self-check, Ask Me: prompt user)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Stuck"})}),(0,i.jsx)(s.td,{children:"Low diversity and/or low success"}),(0,i.jsx)(s.td,{children:"Stop the current execution path"})]})]})]}),"\n",(0,i.jsx)(s.h3,{id:"ai-self-check-allow-all-mode",children:"AI Self-Check (Allow All Mode)"}),"\n",(0,i.jsx)(s.p,{children:"In Allow All mode, when Autopilot detects suspicious patterns, it asks the AI model itself to evaluate whether it's making progress. The AI sees its recent tool calls and decides whether to continue or stop. This runs up to 3 times before Autopilot forces a stop."}),"\n",(0,i.jsx)(s.h3,{id:"user-prompt-ask-me-mode",children:"User Prompt (Ask Me Mode)"}),"\n",(0,i.jsx)(s.p,{children:"In Ask Me mode, suspicious patterns trigger a user prompt asking whether to continue. On Telegram, this appears as an inline keyboard with Continue / Stop buttons."}),"\n",(0,i.jsx)(s.h3,{id:"hard-limits",children:"Hard Limits"}),"\n",(0,i.jsx)(s.p,{children:"Regardless of mode, Mercury enforces absolute limits:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Limit"}),(0,i.jsx)(s.th,{children:"Value"}),(0,i.jsx)(s.th,{children:"Description"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Max steps per task"}),(0,i.jsx)(s.td,{children:"25"}),(0,i.jsx)(s.td,{children:"Normal tool call limit"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Absolute max"}),(0,i.jsx)(s.td,{children:"75"}),(0,i.jsx)(s.td,{children:"Hard ceiling (never exceeded)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Failed absolute max"}),(0,i.jsx)(s.td,{children:"20"}),(0,i.jsx)(s.td,{children:"Max steps if all are failing"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Max self-checks"}),(0,i.jsx)(s.td,{children:"3"}),(0,i.jsx)(s.td,{children:"AI self-check attempts before forced stop"})]})]})]}),"\n",(0,i.jsxs)(s.p,{children:["All Autopilot messages are branded with ",(0,i.jsx)(s.code,{children:"\u263F Mercury Autopilot"})," for easy identification."]})]})}function a(e={}){let{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,r){r.d(s,{R:()=>d,x:()=>l});var n=r(6540);let i={},t=n.createContext(i);function d(e){let s=n.useContext(t);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),n.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/09292580.3faae294.js b/docs/assets/js/09292580.3faae294.js
deleted file mode 100644
index d5389f28..00000000
--- a/docs/assets/js/09292580.3faae294.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["851"],{3131(e,s,n){n.r(s),n.d(s,{metadata:()=>r,default:()=>m,frontMatter:()=>t,contentTitle:()=>c,toc:()=>a,assets:()=>l});var r=JSON.parse('{"id":"reference/permissions","title":"Permissions","description":"Mercury has a three-tier permission system for shell commands:","source":"@site/docs/reference/permissions.mdx","sourceDirName":"reference","slug":"/reference/permissions","permalink":"/docs/reference/permissions","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/permissions.mdx","tags":[],"version":"current","frontMatter":{"id":"permissions","title":"Permissions"},"sidebar":"docsSidebar","previous":{"title":"Configuration","permalink":"/docs/reference/configuration"},"next":{"title":"Second Brain","permalink":"/docs/reference/second-brain"}}'),o=n(4848),i=n(8453);let t={id:"permissions",title:"Permissions"},c,l={},a=[{value:"Permission Modes",id:"permission-modes",level:2}];function d(e){let s={code:"code",h2:"h2",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.p,{children:"Mercury has a three-tier permission system for shell commands:"}),"\n",(0,o.jsxs)(s.ol,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Blocked"})," \u2014 Commands like ",(0,o.jsx)(s.code,{children:"sudo"}),", ",(0,o.jsx)(s.code,{children:"rm -rf /"}),", ",(0,o.jsx)(s.code,{children:"mkfs"})," are never executed"]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Auto-approved"})," \u2014 Safe commands like ",(0,o.jsx)(s.code,{children:"ls"}),", ",(0,o.jsx)(s.code,{children:"cat"}),", ",(0,o.jsx)(s.code,{children:"git status"})," run without asking"]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"Pending approval"})," \u2014 Unknown commands pause and ask you. Say ",(0,o.jsx)(s.strong,{children:'"always"'})," to permanently approve a command type"]}),"\n"]}),"\n",(0,o.jsxs)(s.p,{children:["Edit ",(0,o.jsx)(s.code,{children:"~/.mercury/permissions.yaml"})," to customize. Skill elevation: skills with ",(0,o.jsx)(s.code,{children:"allowed-tools"})," in their SKILL.md get automatic approval for those tools during execution."]}),"\n",(0,o.jsx)(s.h2,{id:"permission-modes",children:"Permission Modes"}),"\n",(0,o.jsx)(s.p,{children:"At session start, Mercury asks you to choose a permission mode:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"\u{1F512} Ask Me"})," \u2014 Mercury asks for confirmation before file writes, shell commands that need approval, and scope changes. Default on both CLI and Telegram."]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"\u2705 Allow All"})," \u2014 Mercury auto-approves all directory scopes, all shell commands (except blocked), and loop-continuation prompts. No interruptions during the session. Resets on restart."]}),"\n"]}),"\n",(0,o.jsxs)(s.p,{children:["On ",(0,o.jsx)(s.strong,{children:"CLI"}),": an arrow-key menu appears at startup before the first prompt."]}),"\n",(0,o.jsxs)(s.p,{children:["On ",(0,o.jsx)(s.strong,{children:"Telegram"}),": inline keyboard buttons appear with the first message. Use ",(0,o.jsx)(s.code,{children:"/permissions"})," to change mode at any time."]}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Scheduled tasks"})," always run in Allow All mode \u2014 filesystem access and shell commands are auto-approved. You receive a notification before each task executes."]})]})}function m(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>t,x:()=>c});var r=n(6540);let o={},i=r.createContext(o);function t(e){let s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:t(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/115f7d00.a3a82bc0.js b/docs/assets/js/115f7d00.a3a82bc0.js
deleted file mode 100644
index ef34d024..00000000
--- a/docs/assets/js/115f7d00.a3a82bc0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["618"],{4176(e,n,r){r.r(n),r.d(n,{metadata:()=>s,default:()=>h,frontMatter:()=>d,contentTitle:()=>c,toc:()=>o,assets:()=>l});var s=JSON.parse('{"id":"reference/second-brain","title":"Second Brain","description":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more.","source":"@site/docs/reference/second-brain.mdx","sourceDirName":"reference","slug":"/reference/second-brain","permalink":"/docs/reference/second-brain","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/second-brain.mdx","tags":[],"version":"current","frontMatter":{"id":"second-brain","title":"Second Brain"},"sidebar":"docsSidebar","previous":{"title":"Permissions","permalink":"/docs/reference/permissions"},"next":{"title":"Provider Fallback","permalink":"/docs/reference/provider-fallback"}}'),i=r(4848),t=r(8453);let d={id:"second-brain",title:"Second Brain"},c,l={},o=[{value:"How it works",id:"how-it-works",level:2},{value:"Memory Types",id:"memory-types",level:2},{value:"Conflict Resolution",id:"conflict-resolution",level:2},{value:"Evidence Kinds",id:"evidence-kinds",level:2},{value:"Managing Memory",id:"managing-memory",level:2},{value:"Enable / Disable",id:"enable--disable",level:2}];function a(e){let n={code:"code",h2:"h2",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more."}),"\n",(0,i.jsx)(n.h2,{id:"how-it-works",children:"How it works"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Extraction"})," \u2014 After each conversation, Mercury pulls 0\u20133 facts and stores them with type, confidence, importance, and durability scores."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Retrieval"})," \u2014 Before each message, the top 5 relevant memories (within a 900-char budget) are injected into context. Mercury references them naturally."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Consolidation"})," \u2014 Every 60 minutes, Mercury builds a profile summary, an active-state summary, and generates ",(0,i.jsx)(n.code,{children:"reflection"})," memories from detected patterns."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Pruning"})," \u2014 Active-scope memories stale after 21 days. Inferred memories decay. Low-confidence durable memories are dismissed after 120 days. Memories reinforced 3+ times are promoted to durable."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"memory-types",children:"Memory Types"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Scope"}),(0,i.jsx)(n.th,{children:"What it stores"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"identity"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"Who you are \u2014 name, role, background"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"preference"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"What you like and dislike"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"goal"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"What you're working toward"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"project"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"What you're building"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"habit"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"Behavioral patterns and routines"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"decision"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"Decisions and choices you've made"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"constraint"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"Rules and constraints you follow"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"relationship"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"People and connections"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"episode"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"Specific events and experiences"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"reflection"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"System-generated insights from patterns"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"conflict-resolution",children:"Conflict Resolution"}),"\n",(0,i.jsx)(n.p,{children:'When Mercury detects opposing memories (e.g. "prefers TypeScript" vs "prefers Python"), the higher-confidence one wins. If equal, the newer one wins. Negation mismatches ("likes X" vs "does not like X") are detected and resolved automatically.'}),"\n",(0,i.jsx)(n.h2,{id:"evidence-kinds",children:"Evidence Kinds"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"direct"})," \u2014 Explicitly stated by you (highest confidence)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"inferred"})," \u2014 Pattern Mercury detected (decays over time)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"manual"})," \u2014 Added via ",(0,i.jsx)(n.code,{children:"/memory"})," command"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"system"})," \u2014 Auto-generated reflections from consolidation"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"managing-memory",children:"Managing Memory"}),"\n",(0,i.jsxs)(n.p,{children:["Use ",(0,i.jsx)(n.code,{children:"/memory"})," in any channel:"]}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Action"}),(0,i.jsx)(n.th,{children:"CLI"}),(0,i.jsx)(n.th,{children:"Telegram"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Overview"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Overview"}),(0,i.jsx)(n.td,{children:"Inline button: \u{1F4CB} Overview"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Recent memories"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Recent"}),(0,i.jsx)(n.td,{children:"Inline button: \u{1F50D} Recent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Search"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Search"}),(0,i.jsx)(n.td,{children:"Not available (ask Mercury to search)"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Pause learning"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Pause"}),(0,i.jsx)(n.td,{children:"Inline button: \u23F8 Pause"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Resume learning"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Resume"}),(0,i.jsx)(n.td,{children:"Inline button: \u25B6 Resume"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Clear all"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Clear (with confirmation)"}),(0,i.jsx)(n.td,{children:"Inline button: \u{1F5D1} Clear \u2192 Yes"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"enable--disable",children:"Enable / Disable"}),"\n",(0,i.jsxs)(n.p,{children:["Second Brain is ",(0,i.jsx)(n.strong,{children:"enabled by default"}),". To disable it:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Environment variable: ",(0,i.jsx)(n.code,{children:"SECOND_BRAIN_ENABLED=false"})]}),"\n",(0,i.jsxs)(n.li,{children:["Config file: set ",(0,i.jsx)(n.code,{children:"memory.secondBrain.enabled: false"})," in ",(0,i.jsx)(n.code,{children:"~/.mercury/mercury.yaml"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite."}),"\n",(0,i.jsxs)(n.p,{children:["All data is stored locally in ",(0,i.jsx)(n.code,{children:"~/.mercury/memory/second-brain/second-brain.db"})," (SQLite). Nothing leaves your machine."]})]})}function h(e={}){let{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453(e,n,r){r.d(n,{R:()=>d,x:()=>c});var s=r(6540);let i={},t=s.createContext(i);function d(e){let n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/115f7d00.dd38af3a.js b/docs/assets/js/115f7d00.dd38af3a.js
new file mode 100644
index 00000000..d6855a63
--- /dev/null
+++ b/docs/assets/js/115f7d00.dd38af3a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["618"],{4176(e,n,r){r.r(n),r.d(n,{metadata:()=>s,default:()=>h,frontMatter:()=>d,contentTitle:()=>l,toc:()=>o,assets:()=>c});var s=JSON.parse('{"id":"reference/second-brain","title":"Second Brain","description":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more.","source":"@site/docs/reference/second-brain.mdx","sourceDirName":"reference","slug":"/reference/second-brain","permalink":"/docs/reference/second-brain","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/second-brain.mdx","tags":[],"version":"current","frontMatter":{"id":"second-brain","title":"Second Brain"},"sidebar":"docsSidebar","previous":{"title":"Permissions","permalink":"/docs/reference/permissions"},"next":{"title":"Provider Fallback","permalink":"/docs/reference/provider-fallback"}}'),i=r(4848),t=r(8453);let d={id:"second-brain",title:"Second Brain"},l,c={},o=[{value:"How it works",id:"how-it-works",level:2},{value:"Memory Types",id:"memory-types",level:2},{value:"Conflict Resolution",id:"conflict-resolution",level:2},{value:"Evidence Kinds",id:"evidence-kinds",level:2},{value:"Managing Memory",id:"managing-memory",level:2},{value:"Enable / Disable",id:"enable--disable",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2},{value:"Native module version mismatch",id:"native-module-version-mismatch",level:3}];function a(e){let n={code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more."}),"\n",(0,i.jsx)(n.h2,{id:"how-it-works",children:"How it works"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Extraction"})," \u2014 After each conversation, Mercury pulls 0\u20133 facts and stores them with type, confidence, importance, and durability scores."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Retrieval"})," \u2014 Before each message, the top 5 relevant memories (within a 900-char budget) are injected into context. Mercury references them naturally."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Consolidation"})," \u2014 Every 60 minutes, Mercury builds a profile summary, an active-state summary, and generates ",(0,i.jsx)(n.code,{children:"reflection"})," memories from detected patterns."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Pruning"})," \u2014 Active-scope memories stale after 21 days. Inferred memories decay. Low-confidence durable memories are dismissed after 120 days. Memories reinforced 3+ times are promoted to durable."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"memory-types",children:"Memory Types"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Type"}),(0,i.jsx)(n.th,{children:"Scope"}),(0,i.jsx)(n.th,{children:"What it stores"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"identity"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"Who you are \u2014 name, role, background"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"preference"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"What you like and dislike"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"goal"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"What you're working toward"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"project"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"What you're building"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"habit"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"Behavioral patterns and routines"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"decision"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"Decisions and choices you've made"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"constraint"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"Rules and constraints you follow"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"relationship"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"People and connections"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"episode"})}),(0,i.jsx)(n.td,{children:"active"}),(0,i.jsx)(n.td,{children:"Specific events and experiences"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"reflection"})}),(0,i.jsx)(n.td,{children:"durable"}),(0,i.jsx)(n.td,{children:"System-generated insights from patterns"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"conflict-resolution",children:"Conflict Resolution"}),"\n",(0,i.jsx)(n.p,{children:'When Mercury detects opposing memories (e.g. "prefers TypeScript" vs "prefers Python"), the higher-confidence one wins. If equal, the newer one wins. Negation mismatches ("likes X" vs "does not like X") are detected and resolved automatically.'}),"\n",(0,i.jsx)(n.h2,{id:"evidence-kinds",children:"Evidence Kinds"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"direct"})," \u2014 Explicitly stated by you (highest confidence)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"inferred"})," \u2014 Pattern Mercury detected (decays over time)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"manual"})," \u2014 Added via ",(0,i.jsx)(n.code,{children:"/memory"})," command"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"system"})," \u2014 Auto-generated reflections from consolidation"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"managing-memory",children:"Managing Memory"}),"\n",(0,i.jsxs)(n.p,{children:["Use ",(0,i.jsx)(n.code,{children:"/memory"})," in any channel:"]}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Action"}),(0,i.jsx)(n.th,{children:"CLI"}),(0,i.jsx)(n.th,{children:"Telegram"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Overview"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Overview"}),(0,i.jsx)(n.td,{children:"Inline button: \u{1F4CB} Overview"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Recent memories"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Recent"}),(0,i.jsx)(n.td,{children:"Inline button: \u{1F50D} Recent"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Search"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Search"}),(0,i.jsx)(n.td,{children:"Not available (ask Mercury to search)"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Pause learning"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Pause"}),(0,i.jsx)(n.td,{children:"Inline button: \u23F8 Pause"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Resume learning"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Resume"}),(0,i.jsx)(n.td,{children:"Inline button: \u25B6 Resume"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"Clear all"}),(0,i.jsx)(n.td,{children:"Arrow-key menu \u2192 Clear (with confirmation)"}),(0,i.jsx)(n.td,{children:"Inline button: \u{1F5D1} Clear \u2192 Yes"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"enable--disable",children:"Enable / Disable"}),"\n",(0,i.jsxs)(n.p,{children:["Second Brain is ",(0,i.jsx)(n.strong,{children:"enabled by default"}),". To disable it:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Environment variable: ",(0,i.jsx)(n.code,{children:"SECOND_BRAIN_ENABLED=false"})]}),"\n",(0,i.jsxs)(n.li,{children:["Config file: set ",(0,i.jsx)(n.code,{children:"memory.secondBrain.enabled: false"})," in ",(0,i.jsx)(n.code,{children:"~/.mercury/mercury.yaml"})]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite."}),"\n",(0,i.jsxs)(n.p,{children:["All data is stored locally in ",(0,i.jsx)(n.code,{children:"~/.mercury/memory/second-brain/second-brain.db"})," (SQLite). Nothing leaves your machine."]}),"\n",(0,i.jsx)(n.h2,{id:"troubleshooting",children:"Troubleshooting"}),"\n",(0,i.jsx)(n.h3,{id:"native-module-version-mismatch",children:"Native module version mismatch"}),"\n",(0,i.jsxs)(n.p,{children:["If you see ",(0,i.jsx)(n.code,{children:"NODE_MODULE_VERSION"})," mismatch errors in logs, the ",(0,i.jsx)(n.code,{children:"better-sqlite3"})," native addon was compiled against a different Node.js version than your runtime. Fix with:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"npm rebuild better-sqlite3\n"})}),"\n",(0,i.jsxs)(n.p,{children:["When ",(0,i.jsx)(n.code,{children:"better-sqlite3"})," fails to load, Second Brain silently falls back to disabled \u2014 memory extraction and consolidation will not run. Check daemon logs (",(0,i.jsx)(n.code,{children:"mercury logs"}),") for SQLite-related errors if memories aren't being stored."]})]})}function h(e={}){let{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453(e,n,r){r.d(n,{R:()=>d,x:()=>l});var s=r(6540);let i={},t=s.createContext(i);function d(e){let n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/13fe4b11.75febe83.js b/docs/assets/js/13fe4b11.75febe83.js
new file mode 100644
index 00000000..ed168159
--- /dev/null
+++ b/docs/assets/js/13fe4b11.75febe83.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["461"],{7489(e,i,n){n.r(i),n.d(i,{metadata:()=>t,default:()=>h,frontMatter:()=>l,contentTitle:()=>o,toc:()=>d,assets:()=>a});var t=JSON.parse('{"id":"releases/1.1.7","title":"v1.1.7","description":"Release 1.1.7 brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot.","source":"@site/docs/releases/1.1.7.mdx","sourceDirName":"releases","slug":"/releases/1.1.7","permalink":"/docs/releases/1.1.7","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.7.mdx","tags":[],"version":"current","frontMatter":{"id":"1.1.7","title":"v1.1.7"},"sidebar":"docsSidebar","previous":{"title":"Releases","permalink":"/docs/releases/"},"next":{"title":"v1.1.6","permalink":"/docs/releases/1.1.6"}}'),s=n(4848),r=n(8453);let l={id:"1.1.7",title:"v1.1.7"},o,a={},d=[{value:"Highlights",id:"highlights",level:2},{value:"New Providers",id:"new-providers",level:2},{value:"Mercury Autopilot (Loop Detection)",id:"mercury-autopilot-loop-detection",level:2},{value:"Real-Time Progress &amp; Completion",id:"real-time-progress--completion",level:2},{value:"CLI / TUI Improvements",id:"cli--tui-improvements",level:2},{value:"Telegram",id:"telegram",level:2},{value:"Permissions &amp; Safety",id:"permissions--safety",level:2},{value:"Background Tasks",id:"background-tasks",level:2},{value:"Documentation &amp; Website",id:"documentation--website",level:2},{value:"Notes",id:"notes",level:2}];function c(e){let i={code:"code",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.p,{children:["Release ",(0,s.jsx)(i.code,{children:"1.1.7"})," brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot."]}),"\n",(0,s.jsx)(i.h2,{id:"highlights",children:"Highlights"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"ChatGPT Web provider"})," \u2014 use your ChatGPT Plus/Pro subscription directly, with OAuth device flow authentication."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"GitHub Copilot provider"})," \u2014 authenticate via GitHub OAuth and use Copilot models as a Mercury provider."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Mercury Autopilot"})," \u2014 AI-based loop detection that analyzes parameter diversity and success rates to distinguish productive work from stuck loops, with auto-abort capability."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Real-time progress system"})," \u2014 live status cards with step tracking, elapsed timers, and collapsed tool execution history."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Completion banners"})," \u2014 task summaries with elapsed time, step count, model used, and token usage/budget metrics."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Interactive Killipi mascot"})," \u2014 hero centerpiece on the landing page with cursor tracking, expressions, and ambient glow effects."]}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"new-providers",children:"New Providers"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:["Added ",(0,s.jsx)(i.strong,{children:"ChatGPT Web"})," provider with full OAuth device flow. Authenticate with your ChatGPT Plus or Pro subscription and use it as a Mercury backend."]}),"\n",(0,s.jsxs)(i.li,{children:["Added ",(0,s.jsx)(i.strong,{children:"GitHub Copilot"})," provider with OAuth device flow and Copilot token exchange."]}),"\n",(0,s.jsx)(i.li,{children:"Moved ChatGPT Plus/Pro OAuth option under the OpenAI provider group during onboarding."}),"\n",(0,s.jsx)(i.li,{children:"Fixed ChatGPT Web inclusion in the configured providers list and default selector."}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"mercury-autopilot-loop-detection",children:"Mercury Autopilot (Loop Detection)"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsx)(i.li,{children:"Implemented AI-based loop detection with auto-abort capability."}),"\n",(0,s.jsxs)(i.li,{children:["Replaced inline tool loop detection with a dedicated ",(0,s.jsx)(i.code,{children:"ToolCallLoopDetector"})," module."]}),"\n",(0,s.jsx)(i.li,{children:"Smart repetition analysis evaluates parameter diversity and success rate to classify work as productive, suspicious, or stuck."}),"\n",(0,s.jsx)(i.li,{children:"Added strict tool usage guidelines to the system prompt to reduce unnecessary repetition."}),"\n",(0,s.jsx)(i.li,{children:"Increased tool loop tolerance thresholds to avoid false positives on legitimate multi-step tasks."}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"real-time-progress--completion",children:"Real-Time Progress & Completion"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:["New progress tracking system with ",(0,s.jsx)(i.code,{children:"/progress"})," command and foreground heartbeat alerts."]}),"\n",(0,s.jsx)(i.li,{children:'Live status bar displays a "processing" label before the first tool step occurs.'}),"\n",(0,s.jsx)(i.li,{children:"Tool steps are hidden while the agent is in thinking state, shown only when actively executing."}),"\n",(0,s.jsx)(i.li,{children:"Collapsed tool execution history tracked and displayed in agent progress notifications."}),"\n",(0,s.jsx)(i.li,{children:"Completion banners now include elapsed time, step count, and token usage/budget metrics."}),"\n",(0,s.jsx)(i.li,{children:"Completion banners are constrained to substantial tasks \u2014 minor step-based interactions no longer trigger them."}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"cli--tui-improvements",children:"CLI / TUI Improvements"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Slash command suggestions"})," \u2014 type ",(0,s.jsx)(i.code,{children:"/"})," and get autocomplete suggestions with arrow-key navigation and Enter selection."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Multi-line input"})," \u2014 Shift+Enter for new lines (later rebound to Ctrl+N)."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Input cursor support"})," \u2014 proper cursor positioning in the TUI input field."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Choice prompt selection"})," \u2014 interactive prompts for CLI agent interactions."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Scrollable Agent Output panel"})," \u2014 replaces the old static chat view in the workspace."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Workspace focus management"})," \u2014 keyboard navigation between panels with scrolling and chat toggling."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"View toggle"})," rebound to Ctrl+T with improved input sanitization."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Dynamic thinking status indicators"})," in the UI header."]}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"telegram",children:"Telegram"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsx)(i.li,{children:"Implemented Telegram-specific task lifecycle with message deferral and structured help documentation."}),"\n",(0,s.jsx)(i.li,{children:"Ephemeral message tracking and cleanup \u2014 permission prompts and transient messages auto-delete after handling."}),"\n",(0,s.jsx)(i.li,{children:"Telegram help command now shows a clean, Telegram-formatted reference with only Telegram-relevant commands."}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"permissions--safety",children:"Permissions & Safety"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Interactive write approval"})," \u2014 file write operations now prompt with a clear approval flow."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Safe read-only allowlist"})," \u2014 shell commands like ",(0,s.jsx)(i.code,{children:"ls"}),", ",(0,s.jsx)(i.code,{children:"cat"}),", ",(0,s.jsx)(i.code,{children:"find"}),", ",(0,s.jsx)(i.code,{children:"grep"}),", ",(0,s.jsx)(i.code,{children:"git status"}),", ",(0,s.jsx)(i.code,{children:"git log"}),", and ",(0,s.jsx)(i.code,{children:"git diff"})," are auto-approved without prompting."]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Persistent plan tracking"})," and read-only tool restrictions for programming mode."]}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"background-tasks",children:"Background Tasks"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:["Human-readable background task IDs (e.g., ",(0,s.jsx)(i.code,{children:"task-alpha"}),", ",(0,s.jsx)(i.code,{children:"task-bravo"}),") replace opaque numeric IDs."]}),"\n",(0,s.jsxs)(i.li,{children:["Mass task termination support via ",(0,s.jsx)(i.code,{children:"/bg cancel all"}),"."]}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"documentation--website",children:"Documentation & Website"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsx)(i.li,{children:"Full visual redesign of the landing page with updated color palette and refined layout."}),"\n",(0,s.jsx)(i.li,{children:"Interactive Killipi mascot added to the hero section \u2014 eyes follow cursor, click for expressions, ambient particle effects."}),"\n",(0,s.jsxs)(i.li,{children:["Fixed Docusaurus admonition rendering \u2014 updated all ",(0,s.jsx)(i.code,{children:":::tip"}),", ",(0,s.jsx)(i.code,{children:":::info"}),", ",(0,s.jsx)(i.code,{children:":::warning"})," blocks to use the v3 directive label syntax (",(0,s.jsx)(i.code,{children:":::type[Title]"}),")."]}),"\n",(0,s.jsx)(i.li,{children:"Fixed mobile sidebar visibility in dark mode with explicit background and text color overrides."}),"\n",(0,s.jsx)(i.li,{children:"Expanded documentation for sub-agents, Spotify integration, autopilot, and provider configuration."}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"notes",children:"Notes"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsx)(i.li,{children:"This release includes 35 commits with +3,829 lines of new source code across 25 files."}),"\n",(0,s.jsx)(i.li,{children:"New keyboard shortcut for multi-line input: Ctrl+N (changed from Shift+Enter)."}),"\n",(0,s.jsx)(i.li,{children:"View toggle shortcut changed to Ctrl+T."}),"\n"]})]})}function h(e={}){let{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},8453(e,i,n){n.d(i,{R:()=>l,x:()=>o});var t=n(6540);let s={},r=t.createContext(s);function l(e){let i=t.useContext(r);return t.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),t.createElement(r.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/15bc3129.6f468cff.js b/docs/assets/js/15bc3129.6f468cff.js
new file mode 100644
index 00000000..89a523bc
--- /dev/null
+++ b/docs/assets/js/15bc3129.6f468cff.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["724"],{4415(e,n,s){s.r(n),s.d(n,{metadata:()=>i,default:()=>h,frontMatter:()=>l,contentTitle:()=>c,toc:()=>t,assets:()=>o});var i=JSON.parse('{"id":"releases/1.1.6","title":"v1.1.6","description":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","source":"@site/docs/releases/1.1.6.mdx","sourceDirName":"releases","slug":"/releases/1.1.6","permalink":"/docs/releases/1.1.6","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.6.mdx","tags":[],"version":"current","frontMatter":{"id":"1.1.6","title":"v1.1.6"},"sidebar":"docsSidebar","previous":{"title":"v1.1.7","permalink":"/docs/releases/1.1.7"}}'),d=s(4848),r=s(8453);let l={id:"1.1.6",title:"v1.1.6"},c,o={},t=[{value:"Highlights",id:"highlights",level:2},{value:"CLI/TUI Improvements",id:"clitui-improvements",level:2},{value:"Workspace + Coding",id:"workspace--coding",level:2},{value:"Background Tasks + Sub-Agents",id:"background-tasks--sub-agents",level:2},{value:"Spotify",id:"spotify",level:2},{value:"Docs",id:"docs",level:2},{value:"Notes",id:"notes",level:2}];function a(e){let n={code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.p,{children:["Release ",(0,d.jsx)(n.code,{children:"1.1.6"})," focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."]}),"\n",(0,d.jsx)(n.h2,{id:"highlights",children:"Highlights"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"New Ink-based interactive TUI with improved startup, status, and activity views."}),"\n",(0,d.jsx)(n.li,{children:"Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation."}),"\n",(0,d.jsxs)(n.li,{children:["Background task system for long-running shell and agent work (",(0,d.jsx)(n.code,{children:"/bg ..."}),") with live status."]}),"\n",(0,d.jsxs)(n.li,{children:["Sub-agent lifecycle integration with background tracking and coding delegation (",(0,d.jsx)(n.code,{children:"/code agent <task>"}),")."]}),"\n",(0,d.jsx)(n.li,{children:"Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art."}),"\n",(0,d.jsxs)(n.li,{children:["New runtime model switching commands (",(0,d.jsx)(n.code,{children:"/models"}),", ",(0,d.jsx)(n.code,{children:"/models use <provider>"}),")."]}),"\n",(0,d.jsxs)(n.li,{children:["New platform diagnostics command (",(0,d.jsx)(n.code,{children:"mercury doctor --platform"}),")."]}),"\n",(0,d.jsxs)(n.li,{children:["Default seeded ",(0,d.jsx)(n.code,{children:"web-search"})," skill for fresh installs."]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"clitui-improvements",children:"CLI/TUI Improvements"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"Added minimal/detailed activity views and updated controls."}),"\n",(0,d.jsx)(n.li,{children:"Improved streaming responsiveness and markdown rendering stability."}),"\n",(0,d.jsxs)(n.li,{children:["Added coding shortcuts:","\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Ctrl+P"})," plan"]}),"\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Ctrl+X"})," execute"]}),"\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Esc"})," / ",(0,d.jsx)(n.code,{children:"Ctrl+Q"})," exit workspace"]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.li,{children:"Improved startup permission picker behavior and one-step confirm flow."}),"\n",(0,d.jsx)(n.li,{children:"Added raw-mode watchdog to improve terminal input reliability across environments."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"workspace--coding",children:"Workspace + Coding"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Introduced ",(0,d.jsx)(n.code,{children:"/ws"})," command family with open/refresh/stage/commit/undo/exit."]}),"\n",(0,d.jsx)(n.li,{children:"Added dedicated coding workspace docs page and updated command references."}),"\n",(0,d.jsx)(n.li,{children:"Added automatic handoff of interrupted long tasks to background workers."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"background-tasks--sub-agents",children:"Background Tasks + Sub-Agents"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"BackgroundTaskManager"})," integration into agent lifecycle."]}),"\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"/bg current"})," to move active work to background."]}),"\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"/bg list"}),", ",(0,d.jsx)(n.code,{children:"/bg <id>"}),", ",(0,d.jsx)(n.code,{children:"/bg cancel <id>"}),", ",(0,d.jsx)(n.code,{children:"/bg clear"})," for operational control."]}),"\n",(0,d.jsx)(n.li,{children:"Added supervisor lifecycle hooks so agent progress/completion is reflected in background board."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"spotify",children:"Spotify"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"Added Spotify Deck-style panel and clearer action feedback."}),"\n",(0,d.jsxs)(n.li,{children:["Added keyboard shortcuts in player mode (",(0,d.jsx)(n.code,{children:"N"}),", ",(0,d.jsx)(n.code,{children:"P"}),", ",(0,d.jsx)(n.code,{children:"+"}),", ",(0,d.jsx)(n.code,{children:"-"}),", ",(0,d.jsx)(n.code,{children:"Z"}),", ",(0,d.jsx)(n.code,{children:"Esc"}),")."]}),"\n",(0,d.jsx)(n.li,{children:"Added separate volume up/down controls."}),"\n",(0,d.jsxs)(n.li,{children:["Added safe-gated inline album art support (",(0,d.jsx)(n.code,{children:"MERCURY_SPOTIFY_ART=1"}),", iTerm local sessions)."]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"docs",children:"Docs"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Expanded Docusaurus docs for:","\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"coding workspace mode"}),"\n",(0,d.jsx)(n.li,{children:"sub-agents + background tasks"}),"\n",(0,d.jsx)(n.li,{children:"platform diagnostics"}),"\n",(0,d.jsx)(n.li,{children:"Spotify player shortcuts and album art gating"}),"\n",(0,d.jsxs)(n.li,{children:["default ",(0,d.jsx)(n.code,{children:"web-search"})," skill"]}),"\n",(0,d.jsx)(n.li,{children:"Docker status guidance (no first-party Docker assets shipped in repo)"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"notes",children:"Notes"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"This release includes broad UX/system changes across TUI, background execution, and docs."}),"\n",(0,d.jsxs)(n.li,{children:["For provider/model management, use ",(0,d.jsx)(n.code,{children:"mercury doctor"})," to configure and ",(0,d.jsx)(n.code,{children:"/models"})," to switch session model."]}),"\n"]})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>c});var i=s(6540);let d={},r=i.createContext(d);function l(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/15bc3129.bf770dad.js b/docs/assets/js/15bc3129.bf770dad.js
deleted file mode 100644
index 98f6f134..00000000
--- a/docs/assets/js/15bc3129.bf770dad.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["724"],{4415(e,n,s){s.r(n),s.d(n,{metadata:()=>i,default:()=>h,frontMatter:()=>l,contentTitle:()=>c,toc:()=>t,assets:()=>o});var i=JSON.parse('{"id":"releases/1.1.6","title":"v1.1.6","description":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","source":"@site/docs/releases/1.1.6.mdx","sourceDirName":"releases","slug":"/releases/1.1.6","permalink":"/docs/releases/1.1.6","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.6.mdx","tags":[],"version":"current","frontMatter":{"id":"1.1.6","title":"v1.1.6"},"sidebar":"docsSidebar","previous":{"title":"Releases","permalink":"/docs/releases/"}}'),d=s(4848),r=s(8453);let l={id:"1.1.6",title:"v1.1.6"},c,o={},t=[{value:"Highlights",id:"highlights",level:2},{value:"CLI/TUI Improvements",id:"clitui-improvements",level:2},{value:"Workspace + Coding",id:"workspace--coding",level:2},{value:"Background Tasks + Sub-Agents",id:"background-tasks--sub-agents",level:2},{value:"Spotify",id:"spotify",level:2},{value:"Docs",id:"docs",level:2},{value:"Notes",id:"notes",level:2}];function a(e){let n={code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.p,{children:["Release ",(0,d.jsx)(n.code,{children:"1.1.6"})," focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."]}),"\n",(0,d.jsx)(n.h2,{id:"highlights",children:"Highlights"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"New Ink-based interactive TUI with improved startup, status, and activity views."}),"\n",(0,d.jsx)(n.li,{children:"Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation."}),"\n",(0,d.jsxs)(n.li,{children:["Background task system for long-running shell and agent work (",(0,d.jsx)(n.code,{children:"/bg ..."}),") with live status."]}),"\n",(0,d.jsxs)(n.li,{children:["Sub-agent lifecycle integration with background tracking and coding delegation (",(0,d.jsx)(n.code,{children:"/code agent <task>"}),")."]}),"\n",(0,d.jsx)(n.li,{children:"Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art."}),"\n",(0,d.jsxs)(n.li,{children:["New runtime model switching commands (",(0,d.jsx)(n.code,{children:"/models"}),", ",(0,d.jsx)(n.code,{children:"/models use <provider>"}),")."]}),"\n",(0,d.jsxs)(n.li,{children:["New platform diagnostics command (",(0,d.jsx)(n.code,{children:"mercury doctor --platform"}),")."]}),"\n",(0,d.jsxs)(n.li,{children:["Default seeded ",(0,d.jsx)(n.code,{children:"web-search"})," skill for fresh installs."]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"clitui-improvements",children:"CLI/TUI Improvements"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"Added minimal/detailed activity views and updated controls."}),"\n",(0,d.jsx)(n.li,{children:"Improved streaming responsiveness and markdown rendering stability."}),"\n",(0,d.jsxs)(n.li,{children:["Added coding shortcuts:","\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Ctrl+P"})," plan"]}),"\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Ctrl+X"})," execute"]}),"\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Esc"})," / ",(0,d.jsx)(n.code,{children:"Ctrl+Q"})," exit workspace"]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.li,{children:"Improved startup permission picker behavior and one-step confirm flow."}),"\n",(0,d.jsx)(n.li,{children:"Added raw-mode watchdog to improve terminal input reliability across environments."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"workspace--coding",children:"Workspace + Coding"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Introduced ",(0,d.jsx)(n.code,{children:"/ws"})," command family with open/refresh/stage/commit/undo/exit."]}),"\n",(0,d.jsx)(n.li,{children:"Added dedicated coding workspace docs page and updated command references."}),"\n",(0,d.jsx)(n.li,{children:"Added automatic handoff of interrupted long tasks to background workers."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"background-tasks--sub-agents",children:"Background Tasks + Sub-Agents"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"BackgroundTaskManager"})," integration into agent lifecycle."]}),"\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"/bg current"})," to move active work to background."]}),"\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"/bg list"}),", ",(0,d.jsx)(n.code,{children:"/bg <id>"}),", ",(0,d.jsx)(n.code,{children:"/bg cancel <id>"}),", ",(0,d.jsx)(n.code,{children:"/bg clear"})," for operational control."]}),"\n",(0,d.jsx)(n.li,{children:"Added supervisor lifecycle hooks so agent progress/completion is reflected in background board."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"spotify",children:"Spotify"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"Added Spotify Deck-style panel and clearer action feedback."}),"\n",(0,d.jsxs)(n.li,{children:["Added keyboard shortcuts in player mode (",(0,d.jsx)(n.code,{children:"N"}),", ",(0,d.jsx)(n.code,{children:"P"}),", ",(0,d.jsx)(n.code,{children:"+"}),", ",(0,d.jsx)(n.code,{children:"-"}),", ",(0,d.jsx)(n.code,{children:"Z"}),", ",(0,d.jsx)(n.code,{children:"Esc"}),")."]}),"\n",(0,d.jsx)(n.li,{children:"Added separate volume up/down controls."}),"\n",(0,d.jsxs)(n.li,{children:["Added safe-gated inline album art support (",(0,d.jsx)(n.code,{children:"MERCURY_SPOTIFY_ART=1"}),", iTerm local sessions)."]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"docs",children:"Docs"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Expanded Docusaurus docs for:","\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"coding workspace mode"}),"\n",(0,d.jsx)(n.li,{children:"sub-agents + background tasks"}),"\n",(0,d.jsx)(n.li,{children:"platform diagnostics"}),"\n",(0,d.jsx)(n.li,{children:"Spotify player shortcuts and album art gating"}),"\n",(0,d.jsxs)(n.li,{children:["default ",(0,d.jsx)(n.code,{children:"web-search"})," skill"]}),"\n",(0,d.jsx)(n.li,{children:"Docker status guidance (no first-party Docker assets shipped in repo)"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"notes",children:"Notes"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"This release includes broad UX/system changes across TUI, background execution, and docs."}),"\n",(0,d.jsxs)(n.li,{children:["For provider/model management, use ",(0,d.jsx)(n.code,{children:"mercury doctor"})," to configure and ",(0,d.jsx)(n.code,{children:"/models"})," to switch session model."]}),"\n"]})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>c});var i=s(6540);let d={},r=i.createContext(d);function l(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1df93b7f.65399833.js b/docs/assets/js/1df93b7f.65399833.js
deleted file mode 100644
index 6cd56f22..00000000
--- a/docs/assets/js/1df93b7f.65399833.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["452"],{5146(e,t,s){s.r(t),s.d(t,{default:()=>d});var l=s(4848),a=s(6540),i=s(5310),n=s(3572);let r=[{type:"prompt",text:"You: "},{type:"input",text:"install skill from https://example.com/daily-digest.md"},{type:"tool",text:" [Using: install_skill]"},{type:"output",text:' Skill "daily-digest" installed successfully.'},{type:"prompt",text:"You: "},{type:"input",text:"schedule daily-digest every day at 9am"},{type:"tool",text:" [Using: schedule_task]"},{type:"output",text:" Task scheduled: daily-digest (cron: 0 9 * * *)"},{type:"prompt",text:"You: "},{type:"input",text:"fetch latest repos of hotheadhacker"},{type:"tool",text:" [Using: fetch_url]"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Here are the latest repositories by hotheadhacker: **sekond-brain** (updated today), **no-as-a-service** (7.1k stars)..."}],c=[{type:"prompt",text:"You: "},{type:"input",text:"read the package.json and tell me the deps"},{type:"tool",text:" [Using: read_file]"},{type:"prompt",text:"You: "},{type:"input",text:"edit the version to 0.2.0"},{type:"tool",text:" [Using: edit_file]"},{type:"output",text:' Successfully replaced "0.1.0" with "0.2.0" in package.json'},{type:"prompt",text:"You: "},{type:"input",text:"commit that change"},{type:"tool",text:" [Using: git_add, git_commit]"},{type:"output",text:' [git add package.json] [git commit -m "bump version to 0.2.0"]'},{type:"prompt",text:"You: "},{type:"input",text:"send me the package.json file"},{type:"tool",text:" [Using: send_file]"},{type:"output",text:" File sent: package.json (1.2KB)"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Done! I've read the package.json, updated the version, committed the change, and sent you the file. Anything else?"}];function o(e,t,s){let l=0,a=0,i=null;function n(t,l,r){let c=r||s;a>=t.length?l():(i&&(i.textContent+=t[a]),a++,e.scrollTop=e.scrollHeight,setTimeout(()=>n(t,l,r),c))}!function r(){if(l>=t.length)return;let c=t[l];if("prompt"===c.type){let t=document.createElement("span");t.className="lp-prompt",t.textContent=c.text,e.appendChild(t),l++,r();return}if("input"===c.type){(i=document.createElement("span")).style.color="#f0f0f0",e.appendChild(i),a=0,n(c.text,()=>{e.appendChild(document.createElement("br")),l++,r()});return}if("tool"===c.type){let t=document.createElement("span");t.className="lp-tool",t.textContent=c.text,e.appendChild(t),e.appendChild(document.createElement("br")),l++,setTimeout(r,2*s);return}if("output"===c.type){let t=document.createElement("span");t.className="lp-output",t.textContent=c.text,e.appendChild(t),e.appendChild(document.createElement("br")),l++,setTimeout(r,s);return}if("agent"===c.type){let t=document.createElement("span");t.className="lp-agent",t.textContent=c.text,e.appendChild(t),l++,r();return}if("stream"===c.type){(i=document.createElement("span")).style.color="#f0f0f0",e.appendChild(i),a=0,n(c.text,()=>{e.appendChild(document.createElement("br")),l++;let t=document.createElement("span");t.className="lp-cursor",e.appendChild(t)},1.5*s);return}l++,r()}()}function d(){let e=(0,a.useRef)(null),t=(0,a.useRef)(null),[s,d]=a.useState(""),[p,m]=a.useState(!1);return(0,a.useEffect)(()=>{fetch("https://api.github.com/repos/cosmicstack-labs/mercury-agent").then(e=>e.json()).then(e=>{if(null!=e.stargazers_count){let t=e.stargazers_count;d(t>=1e3?`${(t/1e3).toFixed(1).replace(/\.0$/,"")}k`:String(t))}}).catch(()=>{})},[]),(0,a.useEffect)(()=>{let s=e.current,l=t.current,a=s?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(a.unobserve(e.target),o(s,r,25))})},{threshold:.3}):null,i=l?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i.unobserve(e.target),o(l,c,18))})},{threshold:.3}):null;return s&&a&&a.observe(s),l&&i&&i.observe(l),()=>{a&&a.disconnect(),i&&i.disconnect()}},[]),(0,a.useEffect)(()=>{let e=document.querySelectorAll(".lp-reveal"),t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("lp-revealed"),t.unobserve(e.target))})},{threshold:.15});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n.A,{children:[(0,l.jsx)("title",{children:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack"}),(0,l.jsx)("meta",{name:"description",content:"The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling."}),(0,l.jsx)("meta",{property:"og:title",content:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails"}),(0,l.jsx)("meta",{property:"og:description",content:"The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram."}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:url",content:"https://mercury.cosmicstack.org"}),(0,l.jsx)("meta",{property:"og:image",content:"https://mercury.cosmicstack.org/img/card.png"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails"}),(0,l.jsx)("meta",{name:"twitter:image",content:"https://mercury.cosmicstack.org/img/card.png"})]}),(0,l.jsxs)("div",{className:"lp-page",children:[(0,l.jsx)("nav",{className:"lp-nav",children:(0,l.jsxs)("div",{className:"lp-nav-inner",children:[(0,l.jsx)(i.A,{to:"/",className:"lp-nav-logo",children:"\u263F Mercury"}),(0,l.jsxs)("div",{className:`lp-nav-links ${p?"lp-nav-links-open":""}`,children:[(0,l.jsx)(i.A,{to:"/#features",onClick:()=>m(!1),children:"Features"}),(0,l.jsx)(i.A,{to:"/#how-it-works",onClick:()=>m(!1),children:"Install"}),(0,l.jsx)(i.A,{to:"/#demo",onClick:()=>m(!1),children:"Demo"}),(0,l.jsx)(i.A,{to:"/#capabilities",onClick:()=>m(!1),children:"Capabilities"}),(0,l.jsx)(i.A,{to:"/#github",onClick:()=>m(!1),children:"GitHub"}),(0,l.jsx)(i.A,{to:"/#compare",onClick:()=>m(!1),children:"Compare"}),(0,l.jsx)(i.A,{to:"/docs",onClick:()=>m(!1),children:"Docs"})]}),(0,l.jsxs)("div",{className:"lp-nav-right",children:[(0,l.jsxs)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",className:"lp-github-btn",target:"_blank",rel:"noopener",children:[(0,l.jsx)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"currentColor",style:{verticalAlign:"-2px"},children:(0,l.jsx)("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})}),(0,l.jsxs)("span",{className:"lp-github-btn-count",children:[s," \u2B50"]})]}),(0,l.jsx)("button",{className:"lp-nav-toggle",onClick:()=>m(!p),"aria-label":"Menu",children:"\u2630"})]})]})}),(0,l.jsxs)("section",{className:"lp-hero",children:[(0,l.jsx)("div",{className:"lp-hero-bg"}),(0,l.jsxs)("div",{className:"lp-container lp-hero-content",children:[(0,l.jsx)("pre",{className:"lp-hero-ascii","aria-hidden":"true",children:` __ _____________ ________ ________ __
- / |/ / ____/ __ \\/ ____/ / / / __ \\ \\/ /
- / /|_/ / __/ / /_/ / / / / / / /_/ /\\ /
- / / / / /___/ _, _/ /___/ /_/ / _, _/ / /
-/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/`}),(0,l.jsx)("p",{className:"lp-hero-tagline",children:"Soul-driven. Token-efficient. Always on."}),(0,l.jsx)("p",{className:"lp-hero-sub",children:"Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and hardened permissions. Runs 24/7 from your terminal or Telegram."}),(0,l.jsxs)("div",{className:"lp-hero-actions",children:[(0,l.jsx)(i.A,{href:"#how-it-works",className:"lp-btn lp-btn-primary",children:"Get Started"}),(0,l.jsx)(i.A,{href:"#demo",className:"lp-btn lp-btn-secondary",children:"See it in action"}),(0,l.jsx)(i.A,{to:"/docs",className:"lp-btn lp-btn-secondary",children:"Read Docs"})]}),(0,l.jsx)("div",{className:"lp-hero-install",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsxs)("div",{className:"lp-terminal-window lp-hero-terminal",children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"terminal"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:e})]})]})]}),(0,l.jsx)("section",{id:"features",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Built Different"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Not another chatbot. An orchestrator that works for you."}),(0,l.jsx)("div",{className:"lp-features-grid",children:[{icon:"\u263F",title:"Soul-Driven Identity",desc:"Mercury isn't a blank slate. Its personality is defined by markdown soul files \u2014 soul.md, persona.md, taste.md, heartbeat.md \u2014 that you control."},{icon:"\u26A1",title:"Token-Efficient",desc:"Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%."},{icon:"\u267E",title:"Always On",desc:"Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash."},{icon:"\u{1F4E1}",title:"Multi-Channel",desc:"CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access."},{icon:"\u{1F916}",title:"Sub-Agents",desc:"Spawn parallel AI agents for concurrent tasks. Mercury orchestrates \u2014 research, code, and review run simultaneously. Non-blocking: keep chatting while agents work."},{icon:"\u{1F3B5}",title:"Spotify Integration",desc:"Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue \u2014 all through natural language."},{icon:"\u{1F9E9}",title:"Skill System",desc:"Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks."},{icon:"\u{1F6E1}",title:"Permission Hardened",desc:"Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-feature-card lp-reveal",children:[(0,l.jsx)("div",{className:"lp-feature-icon",children:e.icon}),(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"second-brain",className:"lp-section lp-section-alt",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"\u{1F9E0} Second Brain"}),(0,l.jsxs)("p",{className:"lp-section-sub",children:["Most AI agents forget everything when you close the chat. Mercury ",(0,l.jsx)("em",{children:"remembers"})," \u2014 automatically, privately, and with surgical precision."]}),(0,l.jsx)("div",{className:"lp-brain-grid",children:[{title:"Learns Automatically",desc:"After each conversation, Mercury extracts facts about you \u2014 your preferences, goals, projects, habits, relationships, and decisions."},{title:"Recalls What Matters",desc:"Only memories relevant to the current conversation are injected \u2014 up to 5 facts within a 900-character budget."},{title:"Resolves Conflicts",desc:"When Mercury detects a contradiction, the higher-confidence memory wins. No stale data."},{title:"10 Memory Types",desc:"Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection \u2014 each scored by confidence, importance, and durability."},{title:"Auto-Consolidation",desc:"Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects."},{title:"You Stay in Control",desc:"/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite \u2014 nothing leaves."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-brain-card lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"how-it-works",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Up and Running in 60 Seconds"}),(0,l.jsx)("div",{className:"lp-steps",children:[{num:1,title:"Install",cmd:"npm i -g @cosmicstack/mercury-agent",desc:"Or use npx @cosmicstack/mercury-agent \u2014 no install needed."},{num:2,title:"Setup",cmd:"mercury",desc:"First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram."},{num:3,title:"Run",cmd:"mercury start",desc:"Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-step lp-reveal",children:[(0,l.jsx)("div",{className:"lp-step-number",children:e.num}),(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("div",{className:"lp-terminal-inline",children:(0,l.jsx)("code",{children:e.cmd})}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"demo",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"See It Work"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"A real Mercury session \u2014 tool calls, streaming, files, and scheduling."}),(0,l.jsxs)("div",{className:"lp-terminal-window",style:{maxWidth:760,margin:"0 auto"},children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"mercury"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:t})]})]})}),(0,l.jsx)("section",{id:"capabilities",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"31 Built-In Tools"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Plus extensible skills, scheduling, and memory."}),(0,l.jsx)("div",{className:"lp-caps-grid",children:[{title:"\u{1F4C2} Filesystem",items:["read_file \u2014 Read file contents","write_file \u2014 Write to existing file","create_file \u2014 Create new files (+ dirs)","edit_file \u2014 Search & replace text","list_dir \u2014 List directory contents","delete_file \u2014 Delete a file","send_file \u2014 Send file to user","approve_scope \u2014 Request directory access"]},{title:"\u{1F4AC} Messaging",items:["send_message \u2014 Send a message to approved Telegram recipients"]},{title:"\u{1F41A} Shell",items:["run_command \u2014 Execute shell commands","cd \u2014 Change working directory","approve_command \u2014 Permanently approve a command"]},{title:"\u{1F4E6} Git",items:["git_status \u2014 Working tree status","git_diff \u2014 Show file changes","git_log \u2014 Commit history","git_add \u2014 Stage files","git_commit \u2014 Create commits","git_push \u2014 Push to remote"]},{title:"\u{1F419} GitHub",items:["create_pr \u2014 Create pull requests","review_pr \u2014 Review PRs + post comments","list_issues \u2014 List & filter issues","create_issue \u2014 Create new issues","github_api \u2014 Raw API access","Co-authored-by on every commit"]},{title:"\u{1F3B5} Spotify",items:["spotify_search \u2014 Search tracks, artists, albums, playlists","spotify_play \u2014 Play on your devices","spotify_pause/next/previous \u2014 Playback controls","spotify_now_playing \u2014 What's playing + progress bar","spotify_devices \u2014 List & select devices","spotify_like/top_tracks/playlists \u2014 Library access","spotify_volume/shuffle/repeat/queue \u2014 Full player control"]},{title:"\u{1F916} Sub-Agents",items:["delegate_task \u2014 Spawn parallel AI agents","list_agents \u2014 Monitor running agents","stop_agent \u2014 Halt a specific agent","/agents \u2014 See all agents + status","/halt \u2014 Emergency stop all agents","File locks for concurrent safety","Auto-concurrency from CPU/RAM"]},{title:"\u{1F9E9} Skills",items:["install_skill \u2014 Install from URL or content","list_skills \u2014 Show installed skills","use_skill \u2014 Invoke a skill"]},{title:"\u23F0 Scheduler",items:["schedule_task \u2014 Cron or one-shot tasks","list_scheduled_tasks \u2014 View all tasks","cancel_scheduled_task \u2014 Cancel a task"]},{title:"\u{1F4CA} System",items:["budget_status \u2014 Check token budget"]},{title:"\u{1F9E0} Memory",items:["Short-term \u2014 Recent conversation per channel","Long-term \u2014 Auto-extracted facts with dedup","Episodic \u2014 Timestamped interaction log"]}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-cap-group lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("ul",{children:e.items.map((e,t)=>(0,l.jsx)("li",{children:e},t))})]},t))})]})}),(0,l.jsx)("section",{id:"compare",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Honest Comparison"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"We built Mercury because nothing else did all of this."}),(0,l.jsx)("div",{className:"lp-compare-table lp-reveal",children:(0,l.jsxs)("table",{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"Feature"}),(0,l.jsx)("th",{className:"lp-highlight",children:"Mercury"}),(0,l.jsx)("th",{children:"Open Interpreter"}),(0,l.jsx)("th",{children:"Claude Code"})]})}),(0,l.jsx)("tbody",{children:[["Soul / Persona System","4 markdown files","Custom instructions","CLAUDE.md"],["Token Budget","Daily budget + override","\u2014","\u2014"],["Multi-Channel","CLI + Telegram + more","All","All"],["Sub-Agents","Parallel AI workers, non-blocking","\u2014","\u2014"],["Spotify Integration","Native playback + DJ mode","\u2014","\u2014"],["Skill System","Install, invoke, schedule","\u2014","\u2014"],["Cron + Delayed Scheduling","Persisted, auto-restore","\u2014","\u2014"],["Permission Hardening","Blocklist + scope + approval","Confirmation prompts","Permission prompts"],["GitHub Companion","PRs, issues, co-authored commits","\u2014","\u2014"],["Proactive Notifications","Heartbeat + task alerts","\u2014","\u2014"],["Auto Fact Extraction","With dedup","\u2014","\u2014"],["Provider Fallback","Auto with last-successful","Manual config","Anthropic only"],["File Upload (Telegram)","Auto type detection","\u2014","\u2014"],["Streaming Output","Real-time text stream","Real-time text stream","Real-time text stream"],["Headless / 24-7","Built-in","\u2014","\u2014"],["Language","TypeScript / Node.js","Python","TypeScript / Node.js"],["Open Source","MIT","LGPL-2.1","Source-available"]].map((e,t)=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[0]}),(0,l.jsx)("td",{className:"lp-highlight",children:e[1]}),(0,l.jsx)("td",{className:"\u2014"===e[2]?"lp-no":"lp-partial",children:e[2]}),(0,l.jsx)("td",{className:"\u2014"===e[3]?"lp-no":"lp-partial",children:e[3]})]},t))})]})})]})}),(0,l.jsx)("section",{id:"architecture",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Under the Hood"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Minimal runtime, maximum capability."}),(0,l.jsx)("div",{className:"lp-arch-grid",children:[{label:"Core",value:"TypeScript + Node.js 18+",desc:"ESM, tsup build, SQLite-backed second brain"},{label:"AI SDK",value:"Vercel AI SDK v6",desc:"streamText + generateText, 10-step agentic loop"},{label:"Sub-Agents",value:"Same-process async coroutines",desc:"Parallel task delegation, file locks, resource-aware concurrency"},{label:"Spotify",value:"Native Web API integration",desc:"OAuth2 auth, 14 tools, DJ mode skill, Premium + free support"},{label:"Providers",value:"DeepSeek \xb7 OpenAI \xb7 Anthropic \xb7 Grok \xb7 Ollama Cloud \xb7 Ollama Local",desc:"Validated onboarding, model discovery, and fallback with last-successful tracking"},{label:"Memory",value:"JSONL + SQLite",desc:"Short-term, long-term, episodic + second brain"},{label:"Telegram",value:"grammY",desc:"Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads"},{label:"Runtime Data",value:"~/.mercury/",desc:"Config, soul, memory, permissions, skills, schedules \u2014 all in your home dir"}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-arch-card lp-reveal",children:[(0,l.jsx)("div",{className:"lp-arch-label",children:e.label}),(0,l.jsx)("div",{className:"lp-arch-value",children:e.value}),(0,l.jsx)("div",{className:"lp-arch-desc",children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"providers",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Supported Providers"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Pick one or stack them all. Mercury falls back automatically."}),(0,l.jsx)("div",{className:"lp-provider-grid lp-reveal",children:[{name:"DeepSeek",desc:"Default provider. Cost-effective with strong reasoning."},{name:"OpenAI",desc:"GPT-4o-mini, GPT-4o, o3. Industry standard."},{name:"Anthropic",desc:"Claude Sonnet, Haiku, Opus. Nuanced reasoning."},{name:"Grok (xAI)",desc:"xAI's models. OpenAI-compatible endpoint."},{name:"Ollama Cloud",desc:"Remote Ollama models via API. No local setup."},{name:"Ollama Local",desc:"On your machine. Zero API cost, fully private."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-provider-card",children:[(0,l.jsx)("div",{className:"lp-provider-logo",children:"\u26A1"}),(0,l.jsxs)("div",{className:"lp-provider-info",children:[(0,l.jsx)("h3",{children:e.name}),(0,l.jsx)("p",{children:e.desc})]})]},t))}),(0,l.jsx)("div",{className:"lp-provider-note",children:(0,l.jsx)("p",{children:"More providers on the way \u2014 Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints."})})]})}),(0,l.jsx)("section",{id:"cta",className:"lp-section lp-cta-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Ready to Deploy Your Agent?"}),(0,l.jsx)("div",{className:"lp-cta-terminal",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsx)("p",{className:"lp-cta-sub",children:"That's it. 60 seconds to your own AI agent with GitHub companion."}),(0,l.jsxs)("div",{className:"lp-cta-links",children:[(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",target:"_blank",rel:"noopener",children:"GitHub \u2192"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",target:"_blank",rel:"noopener",children:"Report an Issue \u2192"})]})]})}),(0,l.jsx)("footer",{className:"lp-footer",children:(0,l.jsxs)("div",{className:"lp-container lp-footer-inner",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"lp-footer-logo",children:"\u263F Mercury"}),(0,l.jsx)("span",{className:"lp-footer-tagline",children:"by Cosmic Stack"})]}),(0,l.jsxs)("div",{className:"lp-footer-links",children:[(0,l.jsx)(i.A,{to:"/docs",children:"Docs"}),(0,l.jsx)("a",{href:"https://mercury.cosmicstack.org",children:"mercury.cosmicstack.org"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",children:"GitHub"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",children:"Issues"})]})]})})]})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1df93b7f.c92dab9a.js b/docs/assets/js/1df93b7f.c92dab9a.js
new file mode 100644
index 00000000..7b0069d3
--- /dev/null
+++ b/docs/assets/js/1df93b7f.c92dab9a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["452"],{9735(e,s,t){t.r(s),t.d(s,{default:()=>p});var l=t(4848),i=t(6540),a=t(5310),r=t(3572);function n(){let e=(0,i.useRef)(null),[s,t]=(0,i.useState)({x:0,y:0}),[a,r]=(0,i.useState)("idle"),[n,c]=(0,i.useState)(!1),[o,d]=(0,i.useState)(1),p=(0,i.useRef)(null),h=(0,i.useRef)(null),[m,u]=(0,i.useState)(!1),x=(0,i.useCallback)(s=>{let l=e.current;if(!l)return;let i=l.getBoundingClientRect(),n=i.left+i.width/2,c=i.top+i.height/2,o=s.clientX-n,d=s.clientY-c,h=Math.sqrt(o*o+d*d),m=Math.min(h/300,1);t({x:o/(h||1)*6*m,y:d/(h||1)*6*m}),p.current&&clearTimeout(p.current),"sleepy"===a&&r("idle"),p.current=setTimeout(()=>{r("sleepy")},8e3)},[a]),j=(0,i.useCallback)(s=>{let l=s.touches[0];if(!l||!e.current)return;let i=e.current.getBoundingClientRect(),a=i.left+i.width/2,r=i.top+i.height/2,n=l.clientX-a,c=l.clientY-r,o=Math.sqrt(n*n+c*c),d=Math.min(o/300,1);t({x:n/(o||1)*6*d,y:c/(o||1)*6*d})},[]);return(0,i.useEffect)(()=>(window.addEventListener("mousemove",x),window.addEventListener("touchmove",j,{passive:!0}),()=>{window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",j)}),[x,j]),(0,i.useEffect)(()=>(h.current=setInterval(()=>{.3>Math.random()&&(u(!0),setTimeout(()=>u(!1),150))},2500),()=>{h.current&&clearInterval(h.current)}),[]),(0,i.useEffect)(()=>(p.current=setTimeout(()=>{r("sleepy")},8e3),()=>{p.current&&clearTimeout(p.current)}),[]),(0,l.jsxs)("div",{className:`killipi-container ${n?"killipi-hovered":""}`,ref:e,onClick:()=>{let e=["happy","surprised","wink"];r(e[Math.floor(Math.random()*e.length)]),d(1.08),setTimeout(()=>d(1),200),setTimeout(()=>r("idle"),2e3)},onMouseEnter:()=>{c(!0),"sleepy"===a&&r("surprised")},onMouseLeave:()=>{c(!1),t({x:0,y:0})},style:{transform:`scale(${o})`},role:"img","aria-label":"Killipi \u2014 Mercury's mascot. Click to interact!",children:[(0,l.jsx)("div",{className:"killipi-glow killipi-glow-1"}),(0,l.jsx)("div",{className:"killipi-glow killipi-glow-2"}),(0,l.jsx)("div",{className:"killipi-particles",children:Array.from({length:8}).map((e,s)=>(0,l.jsx)("div",{className:"killipi-particle",style:{"--particle-angle":`${45*s}deg`,"--particle-delay":`${.4*s}s`}},s))}),(0,l.jsxs)("svg",{className:"killipi-svg",viewBox:"60 55 80 100",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsxs)("defs",{children:[(0,l.jsx)("filter",{id:"killipi-shadow",children:(0,l.jsx)("feDropShadow",{dx:"0",dy:"2",stdDeviation:"3",floodColor:"rgba(0,212,255,0.3)"})}),(0,l.jsxs)("radialGradient",{id:"killipi-face-gradient",cx:"50%",cy:"40%",r:"50%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"var(--killipi-face-highlight)"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"var(--killipi-face-bg)"})]})]}),(0,l.jsx)("path",{d:"M 80 78 Q 76 60 87 72",stroke:"var(--killipi-stroke)",strokeWidth:"2",fill:"var(--killipi-face-bg)",strokeLinecap:"round"}),(0,l.jsx)("path",{d:"M 120 78 Q 124 60 113 72",stroke:"var(--killipi-stroke)",strokeWidth:"2",fill:"var(--killipi-face-bg)",strokeLinecap:"round"}),(0,l.jsx)("circle",{cx:"100",cy:"100",r:"30",fill:"url(#killipi-face-gradient)",stroke:"var(--killipi-stroke)",strokeWidth:"2",className:"killipi-outer-ring"}),(()=>{let e=90+s.x,t=98+s.y,i=110+s.x,r=98+s.y;if(m&&"sleepy"!==a&&"wink"!==a)return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("line",{x1:e-4,y1:t,x2:e+4,y2:t,stroke:"var(--killipi-feature)",strokeWidth:"2",strokeLinecap:"round"}),(0,l.jsx)("line",{x1:i-4,y1:r,x2:i+4,y2:r,stroke:"var(--killipi-feature)",strokeWidth:"2",strokeLinecap:"round"})]});switch(a){case"happy":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:`M${e-5},${t+1} Q${e},${t-5} ${e+5},${t+1}`,stroke:"var(--killipi-feature)",strokeWidth:"2.2",fill:"none",strokeLinecap:"round"}),(0,l.jsx)("path",{d:`M${i-5},${r+1} Q${i},${r-5} ${i+5},${r+1}`,stroke:"var(--killipi-feature)",strokeWidth:"2.2",fill:"none",strokeLinecap:"round"})]});case"surprised":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("circle",{cx:e,cy:t,r:"5",fill:"var(--killipi-feature)"}),(0,l.jsx)("circle",{cx:i,cy:r,r:"5",fill:"var(--killipi-feature)"}),(0,l.jsx)("circle",{cx:e+1.5,cy:t-1.5,r:"1.5",fill:"var(--killipi-bg)"}),(0,l.jsx)("circle",{cx:i+1.5,cy:r-1.5,r:"1.5",fill:"var(--killipi-bg)"})]});case"wink":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("circle",{cx:e,cy:t,r:"3.5",fill:"var(--killipi-feature)"}),(0,l.jsx)("path",{d:`M${i-5},${r} Q${i},${r-5} ${i+5},${r}`,stroke:"var(--killipi-feature)",strokeWidth:"2.2",fill:"none",strokeLinecap:"round"})]});case"sleepy":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:`M${e-4},${t} Q${e},${t+3} ${e+4},${t}`,stroke:"var(--killipi-feature)",strokeWidth:"2",fill:"none",strokeLinecap:"round"}),(0,l.jsx)("path",{d:`M${i-4},${r} Q${i},${r+3} ${i+4},${r}`,stroke:"var(--killipi-feature)",strokeWidth:"2",fill:"none",strokeLinecap:"round"})]});default:return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("circle",{cx:e,cy:t,r:"3.5",fill:"var(--killipi-feature)"}),(0,l.jsx)("circle",{cx:i,cy:r,r:"3.5",fill:"var(--killipi-feature)"})]})}})(),(()=>{let e=110+.3*s.y,t=100+.3*s.x;switch(a){case"happy":return(0,l.jsx)("path",{d:`M${t-8},${e} Q${t},${e+10} ${t+8},${e}`,stroke:"var(--killipi-feature)",strokeWidth:"2",fill:"none",strokeLinecap:"round"});case"surprised":return(0,l.jsx)("ellipse",{cx:t,cy:e+3,rx:"4",ry:"5",stroke:"var(--killipi-feature)",strokeWidth:"2",fill:"none"});case"wink":return(0,l.jsx)("path",{d:`M${t-6},${e+1} Q${t},${e+7} ${t+6},${e+1}`,stroke:"var(--killipi-feature)",strokeWidth:"2",fill:"none",strokeLinecap:"round"});case"sleepy":return(0,l.jsx)("path",{d:`M${t-5},${e+2} L${t+5},${e+2}`,stroke:"var(--killipi-feature)",strokeWidth:"2",strokeLinecap:"round"});default:return(0,l.jsx)("path",{d:`M${t-5},${e+1} Q${t},${e+6} ${t+5},${e+1}`,stroke:"var(--killipi-feature)",strokeWidth:"2",fill:"none",strokeLinecap:"round"})}})(),(0,l.jsx)("line",{x1:"100",y1:"130",x2:"100",y2:"148",stroke:"var(--killipi-stroke)",strokeWidth:"2"}),(0,l.jsx)("line",{x1:"93",y1:"140",x2:"107",y2:"140",stroke:"var(--killipi-stroke)",strokeWidth:"2",strokeLinecap:"round"})]}),(0,l.jsxs)("div",{className:"killipi-label",children:["sleepy"===a&&(0,l.jsx)("span",{className:"killipi-status",children:"zzz..."}),"happy"===a&&(0,l.jsx)("span",{className:"killipi-status killipi-status-happy",children:":D"}),"surprised"===a&&(0,l.jsx)("span",{className:"killipi-status killipi-status-surprised",children:"!"}),"wink"===a&&(0,l.jsx)("span",{className:"killipi-status killipi-status-wink",children:";)"})]})]})}let c=[{type:"prompt",text:"> "},{type:"input",text:"refactor the auth module to use JWT and add tests"},{type:"status",text:" \u2699\uFE0F Mercury working (step 1)"},{type:"tool",text:" \u2705 read_file \xb7 src/auth/handler.ts"},{type:"tool",text:" \u2705 read_file \xb7 src/auth/middleware.ts"},{type:"tool",text:" \u2705 edit_file \xb7 src/auth/handler.ts"},{type:"tool",text:" \u2705 create_file \xb7 src/auth/jwt.ts"},{type:"tool",text:" \u2705 create_file \xb7 tests/auth.test.ts"},{type:"tool",text:" \u2705 run_command \xb7 npm test"},{type:"output",text:" Tests: 8 passed, 0 failed"},{type:"completion",text:" \u2705 Task complete (6 steps \xb7 34s) \xb7 claude-sonnet \xb7 8.2k tokens"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Done. Replaced session-based auth with JWT. Created jwt.ts with sign/verify helpers and added 8 tests covering token generation, expiry, and middleware validation."}],o=[{type:"prompt",text:"> "},{type:"input",text:"research the best pagination strategies, then implement cursor-based pagination for our API"},{type:"output",text:" \u{1F916} Multi-agent mode activated."},{type:"output",text:" Agent a1: researching pagination strategies"},{type:"output",text:" Agent a2: implementing cursor-based pagination"},{type:"tool",text:" \u{1F504} a1: fetch_url, fetch_url, read_file"},{type:"tool",text:" \u{1F504} a2: read_file, edit_file, create_file"},{type:"completion",text:" \u2705 a1 completed (12.3s) \u2014 3 strategies compared"},{type:"completion",text:" \u2705 a2 completed (18.7s) \u2014 cursor pagination added to 4 endpoints"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Both agents are done. a1 found that cursor-based is optimal for our use case (confirmed by a2's implementation). Want me to review the changes?"}];function d(e,s,t){let l=0,i=0,a=null;function r(s,l,n){let c=n||t;i>=s.length?l():(a&&(a.textContent+=s[i]),i++,e.scrollTop=e.scrollHeight,setTimeout(()=>r(s,l,n),c))}!function n(){if(l>=s.length)return;let c=s[l];if("prompt"===c.type){let s=document.createElement("span");s.className="lp-prompt",s.textContent=c.text,e.appendChild(s),l++,n();return}if("input"===c.type){(a=document.createElement("span")).className="lp-input-text",e.appendChild(a),i=0,r(c.text,()=>{e.appendChild(document.createElement("br")),l++,n()});return}if("tool"===c.type){let s=document.createElement("span");s.className="lp-tool",s.textContent=c.text,e.appendChild(s),e.appendChild(document.createElement("br")),l++,setTimeout(n,3*t);return}if("status"===c.type){let s=document.createElement("span");s.className="lp-status",s.textContent=c.text,e.appendChild(s),e.appendChild(document.createElement("br")),l++,setTimeout(n,2*t);return}if("output"===c.type){let s=document.createElement("span");s.className="lp-output",s.textContent=c.text,e.appendChild(s),e.appendChild(document.createElement("br")),l++,setTimeout(n,2*t);return}if("autopilot"===c.type){let s=document.createElement("span");s.className="lp-autopilot",s.textContent=c.text,e.appendChild(s),e.appendChild(document.createElement("br")),l++,setTimeout(n,4*t);return}if("completion"===c.type){let s=document.createElement("span");s.className="lp-completion",s.textContent=c.text,e.appendChild(s),e.appendChild(document.createElement("br")),l++,setTimeout(n,3*t);return}if("agent"===c.type){let s=document.createElement("span");s.className="lp-agent",s.textContent=c.text,e.appendChild(s),l++,n();return}if("stream"===c.type){(a=document.createElement("span")).className="lp-stream-text",e.appendChild(a),i=0,r(c.text,()=>{e.appendChild(document.createElement("br")),l++;let s=document.createElement("span");s.className="lp-cursor",e.appendChild(s)},1.2*t);return}l++,n()}()}function p(){let e=(0,i.useRef)(null),s=(0,i.useRef)(null),[t,p]=i.useState(""),[h,m]=i.useState(!1);return(0,i.useEffect)(()=>{fetch("https://api.github.com/repos/cosmicstack-labs/mercury-agent").then(e=>e.json()).then(e=>{if(null!=e.stargazers_count){let s=e.stargazers_count;p(s>=1e3?`${(s/1e3).toFixed(1).replace(/\.0$/,"")}k`:String(s))}}).catch(()=>{})},[]),(0,i.useEffect)(()=>{let t=e.current,l=s.current,i=t?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i.unobserve(e.target),d(t,c,22))})},{threshold:.3}):null,a=l?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(a.unobserve(e.target),d(l,o,20))})},{threshold:.3}):null;return t&&i&&i.observe(t),l&&a&&a.observe(l),()=>{i&&i.disconnect(),a&&a.disconnect()}},[]),(0,i.useEffect)(()=>{let e=document.querySelectorAll(".lp-reveal"),s=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("lp-revealed"),s.unobserve(e.target))})},{threshold:.15});return e.forEach(e=>s.observe(e)),()=>s.disconnect()},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(r.A,{children:[(0,l.jsx)("title",{children:"Mercury \u2014 AI Agent That Thinks, Acts, and Asks Permission"}),(0,l.jsx)("meta",{name:"description",content:"An AI coding agent with real-time progress, multi-agent orchestration, intelligent loop detection, and hardened permissions. Runs 24/7 from CLI or Telegram."}),(0,l.jsx)("meta",{property:"og:title",content:"Mercury \u2014 AI Agent That Thinks, Acts, and Asks Permission"}),(0,l.jsx)("meta",{property:"og:description",content:"An AI coding agent with real-time progress, multi-agent orchestration, and hardened permissions. Runs 24/7 from CLI or Telegram."}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:url",content:"https://mercury.cosmicstack.org"}),(0,l.jsx)("meta",{property:"og:image",content:"https://mercury.cosmicstack.org/img/card.png"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:"Mercury \u2014 AI Agent That Thinks, Acts, and Asks Permission"}),(0,l.jsx)("meta",{name:"twitter:image",content:"https://mercury.cosmicstack.org/img/card.png"})]}),(0,l.jsxs)("div",{className:"lp-page",children:[(0,l.jsx)("nav",{className:"lp-nav",children:(0,l.jsxs)("div",{className:"lp-nav-inner",children:[(0,l.jsxs)(a.A,{to:"/",className:"lp-nav-logo",children:[(0,l.jsx)("span",{className:"lp-nav-logo-icon",children:"\u263F"})," Mercury"]}),(0,l.jsxs)("div",{className:`lp-nav-links ${h?"lp-nav-links-open":""}`,children:[(0,l.jsx)(a.A,{to:"/#pillars",onClick:()=>m(!1),children:"Features"}),(0,l.jsx)(a.A,{to:"/#live-demo",onClick:()=>m(!1),children:"Demo"}),(0,l.jsx)(a.A,{to:"/#channels",onClick:()=>m(!1),children:"Channels"}),(0,l.jsx)(a.A,{to:"/#agents",onClick:()=>m(!1),children:"Multi-Agent"}),(0,l.jsx)(a.A,{to:"/#compare",onClick:()=>m(!1),children:"Compare"}),(0,l.jsx)(a.A,{to:"/docs",onClick:()=>m(!1),children:"Docs"})]}),(0,l.jsxs)("div",{className:"lp-nav-right",children:[(0,l.jsxs)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",className:"lp-github-btn",target:"_blank",rel:"noopener",children:[(0,l.jsx)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"currentColor",children:(0,l.jsx)("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})}),t&&(0,l.jsx)("span",{className:"lp-github-btn-count",children:t})]}),(0,l.jsx)("button",{className:"lp-nav-toggle",onClick:()=>m(!h),"aria-label":"Menu",children:"\u2630"})]})]})}),(0,l.jsxs)("section",{className:"lp-hero",children:[(0,l.jsx)("div",{className:"lp-hero-mesh"}),(0,l.jsx)("div",{className:"lp-hero-glow"}),(0,l.jsxs)("div",{className:"lp-container lp-hero-content",children:[(0,l.jsx)(n,{}),(0,l.jsxs)("h1",{className:"lp-hero-title",children:["The AI agent that",(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"lp-hero-highlight",children:"thinks, acts, and asks."})]}),(0,l.jsx)("p",{className:"lp-hero-sub",children:"Multi-agent orchestration. Real-time progress. Intelligent loop detection. 40+ tools. Permission guardrails. Runs 24/7 from your terminal or Telegram."}),(0,l.jsxs)("div",{className:"lp-hero-actions",children:[(0,l.jsx)(a.A,{href:"#live-demo",className:"lp-btn lp-btn-primary",children:"See It Work"}),(0,l.jsx)(a.A,{to:"/docs",className:"lp-btn lp-btn-secondary",children:"Get Started"})]}),(0,l.jsx)("div",{className:"lp-hero-install",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})})]})]}),(0,l.jsx)("section",{id:"pillars",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Built Different"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Three principles that define Mercury."}),(0,l.jsxs)("div",{className:"lp-pillars",children:[(0,l.jsxs)("div",{className:"lp-pillar lp-reveal",children:[(0,l.jsx)("div",{className:"lp-pillar-icon",children:(0,l.jsxs)("svg",{viewBox:"0 0 24 24",width:"32",height:"32",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,l.jsx)("path",{d:"M12 6v6l4 2"})]})}),(0,l.jsx)("h3",{children:"Thinks"}),(0,l.jsx)("p",{className:"lp-pillar-lead",children:"Mercury doesn't just execute. It orchestrates."}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:"Spawns parallel sub-agents for concurrent tasks"}),(0,l.jsx)("li",{children:"Mercury Autopilot detects stuck loops by analyzing parameter diversity and success rates"}),(0,l.jsx)("li",{children:"AI self-check in Allow All mode \u2014 the model evaluates its own progress"}),(0,l.jsx)("li",{children:"25-step agentic loop with graduated escalation"})]})]}),(0,l.jsxs)("div",{className:"lp-pillar lp-reveal",children:[(0,l.jsx)("div",{className:"lp-pillar-icon",children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",width:"32",height:"32",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,l.jsx)("path",{d:"M13 2L3 14h9l-1 8 10-12h-9l1-8z"})})}),(0,l.jsx)("h3",{children:"Acts"}),(0,l.jsx)("p",{className:"lp-pillar-lead",children:"40+ built-in tools. Zero configuration."}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:"Filesystem, shell, git, GitHub PRs and issues"}),(0,l.jsx)("li",{children:"Spotify playback, search, playlists, and DJ mode"}),(0,l.jsx)("li",{children:"Markdown skill system with scheduling and elevation"}),(0,l.jsx)("li",{children:"Real-time progress with completion banners and token stats"})]})]}),(0,l.jsxs)("div",{className:"lp-pillar lp-reveal",children:[(0,l.jsx)("div",{className:"lp-pillar-icon",children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",width:"32",height:"32",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,l.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})})}),(0,l.jsx)("h3",{children:"Asks"}),(0,l.jsx)("p",{className:"lp-pillar-lead",children:"Full control. Nothing happens without your say."}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:"Ask Me mode: prompts for every write, command, and scope change"}),(0,l.jsx)("li",{children:"Allow All mode: auto-approve with AI self-monitoring"}),(0,l.jsx)("li",{children:"Safe command whitelist \u2014 reads never prompt"}),(0,l.jsx)("li",{children:"Directory scoping with per-session memory"})]})]})]})]})}),(0,l.jsx)("section",{id:"live-demo",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Watch Mercury Work"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"A real multi-step coding task with tool calls, progress tracking, and completion stats."}),(0,l.jsxs)("div",{className:"lp-terminal-window lp-terminal-hero",children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"mercury"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:e})]})]})}),(0,l.jsx)("section",{id:"task-flow",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Real-Time Task Intelligence"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Mercury shows you exactly what's happening, when it's happening."}),(0,l.jsx)("div",{className:"lp-flow-timeline lp-reveal",children:[{step:"1",label:"Message",desc:"You send a task. Mercury begins working."},{step:"2",label:"Status Card",desc:"A single message appears showing live progress. On Telegram, it pins to the top."},{step:"3",label:"Tool Steps",desc:"Each tool call updates the card in place \u2014 read, edit, run, create. Last 5 steps visible."},{step:"4",label:"Autopilot",desc:"If Mercury detects a loop, it analyzes diversity and success rate. Productive work continues; stuck patterns stop."},{step:"5",label:"Complete",desc:"Status card deleted. AI response + completion banner with token stats and budget usage."}].map((e,s)=>(0,l.jsxs)("div",{className:"lp-flow-step",children:[(0,l.jsx)("div",{className:"lp-flow-dot",children:e.step}),(0,l.jsxs)("div",{className:"lp-flow-content",children:[(0,l.jsx)("h4",{children:e.label}),(0,l.jsx)("p",{children:e.desc})]})]},s))})]})}),(0,l.jsx)("section",{id:"channels",className:"lp-section lp-section-alt",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Two Channels, One Agent"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Same capabilities. Different interfaces. Both real-time."}),(0,l.jsxs)("div",{className:"lp-channels-grid lp-reveal",children:[(0,l.jsxs)("div",{className:"lp-channel-card",children:[(0,l.jsxs)("div",{className:"lp-channel-header",children:[(0,l.jsxs)("span",{className:"lp-channel-icon",children:[">","_"]}),(0,l.jsx)("h3",{children:"CLI"})]}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:"Ink-based TUI with live progress view"}),(0,l.jsx)("li",{children:"Slash command autocomplete with arrow navigation"}),(0,l.jsx)("li",{children:"Workspace IDE mode with file explorer and git panel"}),(0,l.jsx)("li",{children:"Keyboard shortcuts: Ctrl+B (background), Ctrl+T (view), Ctrl+P (plan)"}),(0,l.jsx)("li",{children:"Multi-line input, input history, streaming output"}),(0,l.jsx)("li",{children:"Interactive Spotify player with seek and volume"})]})]}),(0,l.jsxs)("div",{className:"lp-channel-card",children:[(0,l.jsxs)("div",{className:"lp-channel-header",children:[(0,l.jsx)("span",{className:"lp-channel-icon",children:"\u2708"}),(0,l.jsx)("h3",{children:"Telegram"})]}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:"Single pinned status card \u2014 one message shows all progress"}),(0,l.jsx)("li",{children:"Ephemeral permission prompts (auto-deleted after response)"}),(0,l.jsx)("li",{children:"15 bot commands registered in the menu"}),(0,l.jsx)("li",{children:"Inline keyboards for permissions and mode selection"}),(0,l.jsx)("li",{children:"File uploads with auto-type detection"}),(0,l.jsx)("li",{children:"Organization access model with admin/member roles"})]})]})]})]})}),(0,l.jsx)("section",{id:"agents",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Multi-Agent Orchestration"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Mercury spawns parallel agents. You keep chatting."}),(0,l.jsxs)("div",{className:"lp-terminal-window",style:{maxWidth:760,margin:"0 auto"},children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"mercury \u2014 multi-agent"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:s})]}),(0,l.jsx)("div",{className:"lp-agent-features lp-reveal",children:[{title:"Parallel Execution",desc:"Multiple tasks run simultaneously in isolated context windows."},{title:"File Locks",desc:"Reader-writer locks prevent concurrent write conflicts between agents."},{title:"Resource-Aware",desc:"Max concurrent agents auto-detected from CPU and RAM."},{title:"Non-Blocking",desc:"Keep chatting while agents work. Get notified when they finish."}].map((e,s)=>(0,l.jsxs)("div",{className:"lp-agent-feature",children:[(0,l.jsx)("h4",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},s))})]})}),(0,l.jsx)("section",{id:"autopilot",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Mercury Autopilot"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Intelligent loop detection that knows the difference between working hard and going in circles."}),(0,l.jsxs)("div",{className:"lp-autopilot-grid lp-reveal",children:[(0,l.jsxs)("div",{className:"lp-autopilot-card",children:[(0,l.jsx)("div",{className:"lp-autopilot-verdict lp-verdict-productive",children:"Productive"}),(0,l.jsxs)("p",{children:["High parameter diversity (",">"," 60%) and success rate (",">"," 70%). Mercury continues without interruption."]})]}),(0,l.jsxs)("div",{className:"lp-autopilot-card",children:[(0,l.jsx)("div",{className:"lp-autopilot-verdict lp-verdict-suspicious",children:"Suspicious"}),(0,l.jsx)("p",{children:"Moderate repetition detected. In Allow All: AI self-check evaluates progress. In Ask Me: prompts you."})]}),(0,l.jsxs)("div",{className:"lp-autopilot-card",children:[(0,l.jsx)("div",{className:"lp-autopilot-verdict lp-verdict-stuck",children:"Stuck"}),(0,l.jsx)("p",{children:"Low diversity and high failure rate. Mercury stops the current execution path automatically."})]})]})]})}),(0,l.jsx)("section",{id:"memory",className:"lp-section lp-section-alt",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Second Brain"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Mercury remembers \u2014 automatically, privately, and with surgical precision."}),(0,l.jsx)("div",{className:"lp-brain-grid",children:[{title:"Learns Automatically",desc:"After each conversation, Mercury extracts facts \u2014 preferences, goals, projects, habits, decisions."},{title:"Recalls What Matters",desc:"Only relevant memories injected \u2014 up to 5 facts within a 900-character budget per request."},{title:"Resolves Conflicts",desc:"When Mercury detects a contradiction, the higher-confidence memory wins. No stale data."},{title:"10 Memory Types",desc:"Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection."},{title:"Auto-Consolidation",desc:"Hourly synthesis of profile summaries and reflections from detected patterns."},{title:"Fully Local",desc:"All data stays on your machine in SQLite. /memory gives you overview, search, pause, and clear."}].map((e,s)=>(0,l.jsxs)("div",{className:"lp-brain-card lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},s))})]})}),(0,l.jsx)("section",{id:"providers",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Any Provider. Automatic Fallback."}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Configure one or stack them all. Mercury falls back automatically and tracks which provider last succeeded."}),(0,l.jsx)("div",{className:"lp-provider-grid lp-reveal",children:[{name:"ChatGPT Web",desc:"Use your ChatGPT Plus/Pro subscription. OAuth login, no API key.",badge:"NEW"},{name:"GitHub Copilot",desc:"Your Copilot subscription \u2014 access OpenAI, Anthropic, and Google models.",badge:"NEW"},{name:"DeepSeek",desc:"Cost-effective with strong reasoning. Default provider."},{name:"OpenAI",desc:"GPT-4o-mini, GPT-4o, o3. Industry standard."},{name:"Anthropic",desc:"Claude Sonnet, Haiku, Opus. Nuanced reasoning."},{name:"Grok (xAI)",desc:"xAI's models via OpenAI-compatible endpoint."},{name:"Ollama Cloud",desc:"Remote Ollama models via API. No local setup."},{name:"Ollama Local",desc:"On your machine. Zero cost, fully private."}].map((e,s)=>(0,l.jsxs)("div",{className:"lp-provider-card",children:[(0,l.jsxs)("h4",{children:[e.name," ",e.badge&&(0,l.jsx)("span",{className:"lp-provider-badge",children:e.badge})]}),(0,l.jsx)("p",{children:e.desc})]},s))}),(0,l.jsx)("div",{className:"lp-provider-note",children:(0,l.jsxs)("p",{children:["API key or OAuth \u2014 your choice. ChatGPT Web and GitHub Copilot authenticate through your browser. Switch models mid-session with ",(0,l.jsx)("code",{children:"/models use"}),"."]})})]})}),(0,l.jsx)("section",{id:"compare",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Honest Comparison"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"We built Mercury because nothing else did all of this."}),(0,l.jsx)("div",{className:"lp-compare-table lp-reveal",children:(0,l.jsxs)("table",{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"Feature"}),(0,l.jsx)("th",{className:"lp-highlight",children:"Mercury"}),(0,l.jsx)("th",{children:"Open Interpreter"}),(0,l.jsx)("th",{children:"Claude Code"})]})}),(0,l.jsx)("tbody",{children:[["Multi-Agent Orchestration","Parallel workers + file locks","\u2014","\u2014"],["Loop Detection (Autopilot)","Diversity + success analysis","\u2014","\u2014"],["Real-Time Progress","Single edited status card + pin","\u2014","\u2014"],["Permission Modes","Ask Me / Allow All + safe whitelist","Confirmation prompts","Permission prompts"],["Telegram Integration","Inline keyboards, pinned progress, org access","\u2014","\u2014"],["Token Budget","Daily budget + override + color-coded stats","\u2014","\u2014"],["Spotify Integration","Native playback + DJ mode + 14 tools","\u2014","\u2014"],["Skill System","Install, invoke, schedule with elevation","\u2014","\u2014"],["Soul / Persona System","4 markdown files","Custom instructions","CLAUDE.md"],["GitHub Companion","PRs, issues, co-authored commits","\u2014","\u2014"],["Provider Fallback","Auto with last-successful tracking","Manual config","Anthropic only"],["Second Brain","Auto-extract, 10 types, conflict resolution","\u2014","\u2014"],["Workspace IDE","File explorer, git panel, keyboard shortcuts","\u2014","\u2014"],["24/7 Headless","Daemon + system service + cron scheduling","\u2014","\u2014"],["Open Source","MIT","LGPL-2.1","Source-available"]].map((e,s)=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[0]}),(0,l.jsx)("td",{className:"lp-highlight",children:e[1]}),(0,l.jsx)("td",{className:"\u2014"===e[2]?"lp-no":"lp-partial",children:e[2]}),(0,l.jsx)("td",{className:"\u2014"===e[3]?"lp-no":"lp-partial",children:e[3]})]},s))})]})})]})}),(0,l.jsx)("section",{id:"install",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Up and Running in 60 Seconds"}),(0,l.jsxs)("div",{className:"lp-install-steps",children:[(0,l.jsxs)("div",{className:"lp-install-step lp-reveal",children:[(0,l.jsx)("div",{className:"lp-install-num",children:"1"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{children:"Install"}),(0,l.jsx)("div",{className:"lp-terminal-inline",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent"})})]})]}),(0,l.jsxs)("div",{className:"lp-install-step lp-reveal",children:[(0,l.jsx)("div",{className:"lp-install-num",children:"2"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{children:"Setup"}),(0,l.jsx)("div",{className:"lp-terminal-inline",children:(0,l.jsx)("code",{children:"mercury"})}),(0,l.jsx)("p",{children:"Onboarding wizard: choose providers, validate keys, pair Telegram."})]})]}),(0,l.jsxs)("div",{className:"lp-install-step lp-reveal",children:[(0,l.jsx)("div",{className:"lp-install-num",children:"3"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{children:"Run"}),(0,l.jsx)("div",{className:"lp-terminal-inline",children:(0,l.jsx)("code",{children:"mercury up"})}),(0,l.jsx)("p",{children:"Starts as a daemon. Auto-restarts on crash. Runs 24/7."})]})]})]})]})}),(0,l.jsx)("section",{id:"cta",className:"lp-section lp-cta-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Deploy Your Agent"}),(0,l.jsx)("div",{className:"lp-cta-terminal",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsx)("p",{className:"lp-cta-sub",children:"60 seconds to your own AI agent."}),(0,l.jsxs)("div",{className:"lp-cta-links",children:[(0,l.jsx)(a.A,{to:"/docs",children:"Documentation"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",target:"_blank",rel:"noopener",children:"GitHub"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",target:"_blank",rel:"noopener",children:"Report an Issue"})]})]})}),(0,l.jsx)("footer",{className:"lp-footer",children:(0,l.jsxs)("div",{className:"lp-container lp-footer-inner",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"lp-footer-logo",children:"\u263F Mercury"}),(0,l.jsx)("span",{className:"lp-footer-tagline",children:"by Cosmic Stack"})]}),(0,l.jsxs)("div",{className:"lp-footer-links",children:[(0,l.jsx)(a.A,{to:"/docs",children:"Docs"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",children:"GitHub"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",children:"Issues"})]})]})})]})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2b538913.7da960c2.js b/docs/assets/js/2b538913.7da960c2.js
deleted file mode 100644
index 344d17a7..00000000
--- a/docs/assets/js/2b538913.7da960c2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["283"],{15(e,s,n){n.r(s),n.d(s,{metadata:()=>r,default:()=>a,frontMatter:()=>l,contentTitle:()=>c,toc:()=>d,assets:()=>o});var r=JSON.parse('{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","source":"@site/docs/integrations/spotify.mdx","sourceDirName":"integrations","slug":"/integrations/spotify","permalink":"/docs/integrations/spotify","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx","tags":[],"version":"current","frontMatter":{"id":"spotify","title":"Spotify Integration"},"sidebar":"docsSidebar","previous":{"title":"Telegram","permalink":"/docs/integrations/telegram"},"next":{"title":"Coding Workspace (IDE Mode)","permalink":"/docs/integrations/coding-workspace"}}'),i=n(4848),t=n(8453);let l={id:"spotify",title:"Spotify Integration"},c,o={},d=[{value:"Setup",id:"setup",level:2},{value:"Step 1: Create a Spotify Developer App",id:"step-1-create-a-spotify-developer-app",level:3},{value:"Step 2: Configure Mercury",id:"step-2-configure-mercury",level:3},{value:"Step 3: Connect Your Spotify Account",id:"step-3-connect-your-spotify-account",level:3},{value:"Commands",id:"commands",level:2},{value:"Spotify Tools",id:"spotify-tools",level:2},{value:"Read-only (works on free accounts)",id:"read-only-works-on-free-accounts",level:3},{value:"Playback control (requires Spotify Premium)",id:"playback-control-requires-spotify-premium",level:3},{value:"Using It",id:"using-it",level:2},{value:"Interactive Player (CLI)",id:"interactive-player-cli",level:2},{value:"DJ Mode",id:"dj-mode",level:2},{value:"Player shortcuts",id:"player-shortcuts",level:3},{value:"Optional inline album art",id:"optional-inline-album-art",level:3},{value:"Managing Devices",id:"managing-devices",level:2},{value:"Token Management",id:"token-management",level:2},{value:"Disconnecting",id:"disconnecting",level:3},{value:"Security",id:"security",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}];function h(e){let s={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.p,{children:'Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'}),"\n",(0,i.jsxs)(s.p,{children:[":::info Spotify Premium\nRead-only features (search, top tracks, playlists, now playing) work on ",(0,i.jsx)(s.strong,{children:"free"})," Spotify accounts. ",(0,i.jsx)(s.strong,{children:"Playback control"})," (play, pause, skip, volume, shuffle, repeat, queue) requires a ",(0,i.jsx)(s.strong,{children:"Spotify Premium"})," subscription \u2014 this is a Spotify API limitation, not a Mercury restriction.\n:::"]}),"\n",(0,i.jsx)(s.h2,{id:"setup",children:"Setup"}),"\n",(0,i.jsx)(s.h3,{id:"step-1-create-a-spotify-developer-app",children:"Step 1: Create a Spotify Developer App"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Go to ",(0,i.jsx)(s.a,{href:"https://developer.spotify.com/dashboard",children:"developer.spotify.com/dashboard"})]}),"\n",(0,i.jsx)(s.li,{children:"Log in with your Spotify account"}),"\n",(0,i.jsxs)(s.li,{children:["Click ",(0,i.jsx)(s.strong,{children:'"Create app"'})]}),"\n",(0,i.jsxs)(s.li,{children:["Fill in:","\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"App name"}),": ",(0,i.jsx)(s.code,{children:"Mercury"})," (or anything you like)"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"App description"}),": ",(0,i.jsx)(s.code,{children:"Mercury Agent Spotify Integration"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Redirect URI"}),": ",(0,i.jsx)(s.code,{children:"http://127.0.0.1:8888/callback"})," \u2014 this must match exactly"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["Click ",(0,i.jsx)(s.strong,{children:"Save"})]}),"\n",(0,i.jsxs)(s.li,{children:["On the app's settings page, copy the ",(0,i.jsx)(s.strong,{children:"Client ID"})," and ",(0,i.jsx)(s.strong,{children:"Client Secret"})]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:[":::tip Development Mode\nWhen your Spotify Developer app is in ",(0,i.jsx)(s.strong,{children:"development mode"})," (the default), you can grant access to up to ",(0,i.jsx)(s.strong,{children:"25 users"}),". Go to your app's settings \u2192 ",(0,i.jsx)(s.strong,{children:"User Management"})," \u2192 add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request ",(0,i.jsx)(s.strong,{children:"extended quota"})," from Spotify.\n:::"]}),"\n",(0,i.jsx)(s.h3,{id:"step-2-configure-mercury",children:"Step 2: Configure Mercury"}),"\n",(0,i.jsxs)(s.p,{children:["Run ",(0,i.jsx)(s.code,{children:"mercury doctor"})," (or ",(0,i.jsx)(s.code,{children:"mercury setup"})," for first-time setup):"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,i.jsxs)(s.p,{children:["When prompted for Spotify, choose ",(0,i.jsx)(s.strong,{children:"Yes"})," and enter:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Spotify Client ID"})," \u2014 paste the Client ID from Step 1"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Spotify Client Secret"})," \u2014 paste the Client Secret from Step 1"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Press Enter on any other field to keep its current value. After setup, you'll see:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"Spotify: not connected \u2014 run /spotify auth to link your account\n"})}),"\n",(0,i.jsx)(s.h3,{id:"step-3-connect-your-spotify-account",children:"Step 3: Connect Your Spotify Account"}),"\n",(0,i.jsx)(s.p,{children:"Start Mercury and run:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify auth\n"})}),"\n",(0,i.jsx)(s.p,{children:"Choose your authorization method:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Method"}),(0,i.jsx)(s.th,{children:"When to use"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsxs)(s.td,{children:[(0,i.jsx)(s.strong,{children:"Open browser"})," (recommended)"]}),(0,i.jsx)(s.td,{children:"When Mercury is running locally on your machine"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Paste authorization code"})}),(0,i.jsx)(s.td,{children:"When browser auto-open fails, or via SSH"})]})]})]}),"\n",(0,i.jsxs)(s.p,{children:["For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the ",(0,i.jsx)(s.code,{children:"code"})," parameter from the redirect URL:"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify code <paste-your-code-here>\n"})}),"\n",(0,i.jsx)(s.p,{children:"After successful auth, Mercury shows:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"Spotify: connected as YourName\n"})}),"\n",(0,i.jsx)(s.h2,{id:"commands",children:"Commands"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Command"}),(0,i.jsx)(s.th,{children:"Description"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify"})}),(0,i.jsx)(s.td,{children:"Show connection status, account name, plan, and active device"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify auth"})}),(0,i.jsx)(s.td,{children:"Start OAuth flow (browser or manual code)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify code <code>"})}),(0,i.jsx)(s.td,{children:"Complete auth with a pasted authorization code"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify logout"})}),(0,i.jsx)(s.td,{children:"Disconnect Spotify and clear saved tokens"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify player"})}),(0,i.jsx)(s.td,{children:"Interactive player with arrow-key controls (CLI only)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify devices"})}),(0,i.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify device <id>"})}),(0,i.jsx)(s.td,{children:"Set active device"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify now"})}),(0,i.jsx)(s.td,{children:"Show what is currently playing"})]})]})]}),"\n",(0,i.jsx)(s.h2,{id:"spotify-tools",children:"Spotify Tools"}),"\n",(0,i.jsx)(s.p,{children:"These are the tools Mercury uses when you talk about music:"}),"\n",(0,i.jsx)(s.h3,{id:"read-only-works-on-free-accounts",children:"Read-only (works on free accounts)"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Tool"}),(0,i.jsx)(s.th,{children:"What it does"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_search"})}),(0,i.jsx)(s.td,{children:"Search tracks, artists, albums, playlists"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_now_playing"})}),(0,i.jsx)(s.td,{children:"Show what's currently playing"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_devices"})}),(0,i.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_top_tracks"})}),(0,i.jsx)(s.td,{children:"Get your top tracks (time_range: short/medium/long term)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_playlists"})}),(0,i.jsx)(s.td,{children:"Get your playlists"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_like"})}),(0,i.jsx)(s.td,{children:"Save a track to your library"})]})]})]}),"\n",(0,i.jsx)(s.h3,{id:"playback-control-requires-spotify-premium",children:"Playback control (requires Spotify Premium)"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Tool"}),(0,i.jsx)(s.th,{children:"What it does"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_play"})}),(0,i.jsx)(s.td,{children:"Play a track, album, or playlist on a device"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_pause"})}),(0,i.jsx)(s.td,{children:"Pause playback"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_next"})}),(0,i.jsx)(s.td,{children:"Skip to next track"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_previous"})}),(0,i.jsx)(s.td,{children:"Skip to previous track"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_volume"})}),(0,i.jsx)(s.td,{children:"Set volume (0-100)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_shuffle"})}),(0,i.jsx)(s.td,{children:"Toggle shuffle on/off"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_repeat"})}),(0,i.jsx)(s.td,{children:"Set repeat mode (off, track, context)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_queue"})}),(0,i.jsx)(s.td,{children:"Add a track to the playback queue"})]})]})]}),"\n",(0,i.jsx)(s.h2,{id:"using-it",children:"Using It"}),"\n",(0,i.jsx)(s.p,{children:"Just talk to Mercury naturally about music:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"You say"}),(0,i.jsx)(s.th,{children:"Mercury does"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"play some chill music"'}),(0,i.jsx)(s.td,{children:'Searches "lo-fi chill", picks tracks, plays on your device'})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"what are my top tracks?"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_top_tracks"}),", shows results"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"skip this song"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_next"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"pause"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_pause"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"play my playlist Road Trip"'}),(0,i.jsx)(s.td,{children:"Searches your playlists, plays the match"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"set volume to 50"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_volume(50)"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"what\'s playing?"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_now_playing"}),", shows artist \u2014 track + progress bar"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"add this to my queue"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_queue"})," with current track"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"shuffle on"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_shuffle(true)"})]})]})]})]}),"\n",(0,i.jsx)(s.h2,{id:"interactive-player-cli",children:"Interactive Player (CLI)"}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.code,{children:"/spotify player"})," command launches an interactive arrow-key player in your terminal:"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:" \u25B6 Play/Pause \u25C0 Previous \u25B6\u25B6 Next\n \u{1F50A} Volume \u{1F500} Shuffle \u{1F501} Repeat\n \u{1F50D} Search \u{1F4CB} Queue \u2715 Exit\n"})}),"\n",(0,i.jsx)(s.p,{children:"Every action shows real-time feedback with track info and a progress bar."}),"\n",(0,i.jsx)(s.h2,{id:"dj-mode",children:"DJ Mode"}),"\n",(0,i.jsxs)(s.p,{children:["Mercury's Spotify flow supports a practical ",(0,i.jsx)(s.strong,{children:"DJ mode"})," pattern in conversation and in the CLI player:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Queue songs while current playback continues"}),"\n",(0,i.jsx)(s.li,{children:"Skip/recover quickly with next/previous controls"}),"\n",(0,i.jsx)(s.li,{children:"Adjust energy with volume/shuffle/repeat in-session"}),"\n",(0,i.jsxs)(s.li,{children:["Keep steering by prompts like:","\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:'"Queue 3 upbeat tracks"'}),"\n",(0,i.jsx)(s.li,{children:'"Skip this and play something calmer"'}),"\n",(0,i.jsx)(s.li,{children:'"Keep this vibe for the next 20 minutes"'}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Use ",(0,i.jsx)(s.code,{children:"/spotify player"})," for hands-on control, or use natural-language prompts to keep the set moving."]}),"\n",(0,i.jsx)(s.h3,{id:"player-shortcuts",children:"Player shortcuts"}),"\n",(0,i.jsx)(s.p,{children:"Inside the Spotify player (CLI):"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"N"})," \u2192 next track"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"P"})," \u2192 previous track"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"+"})," / ",(0,i.jsx)(s.code,{children:"-"})," \u2192 volume up/down by 10%"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"Z"})," \u2192 refresh now playing"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"Esc"})," \u2192 exit player"]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"optional-inline-album-art",children:"Optional inline album art"}),"\n",(0,i.jsx)(s.p,{children:"Mercury supports inline album art as a progressive enhancement (text UI remains the default)."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Enable with: ",(0,i.jsx)(s.code,{children:"MERCURY_SPOTIFY_ART=1"})]}),"\n",(0,i.jsx)(s.li,{children:"Currently rendered only in local iTerm sessions"}),"\n",(0,i.jsx)(s.li,{children:"Automatically falls back to text-only view in SSH/mobile/light terminals"}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"managing-devices",children:"Managing Devices"}),"\n",(0,i.jsxs)(s.p,{children:["Spotify plays on ",(0,i.jsx)(s.strong,{children:"your devices"})," \u2014 phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available:"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify devices\n"})}),"\n",(0,i.jsx)(s.p,{children:"If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify device <device-id>\n"})}),"\n",(0,i.jsx)(s.p,{children:"The device ID persists across sessions \u2014 Mercury remembers your preferred device."}),"\n",(0,i.jsx)(s.h2,{id:"token-management",children:"Token Management"}),"\n",(0,i.jsxs)(s.p,{children:["Mercury stores your Spotify tokens in ",(0,i.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Access token"})," \u2014 short-lived, auto-refreshed"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Refresh token"})," \u2014 long-lived, used to get new access tokens"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Account info"})," \u2014 display name, user ID, plan (Premium/Free)"]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run ",(0,i.jsx)(s.code,{children:"/spotify auth"})," again."]}),"\n",(0,i.jsx)(s.h3,{id:"disconnecting",children:"Disconnecting"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify logout\n"})}),"\n",(0,i.jsxs)(s.p,{children:["This clears all tokens and account info. Run ",(0,i.jsx)(s.code,{children:"/spotify auth"})," to reconnect later."]}),"\n",(0,i.jsx)(s.h2,{id:"security",children:"Security"}),"\n",(0,i.jsxs)(s.p,{children:[":::warning Client credentials\nYour Spotify Client ID and Client Secret are stored in ",(0,i.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),". They are only used to authenticate with Spotify's API from your machine \u2014 never shared externally. Treat this file like any other credential.\n:::"]}),"\n",(0,i.jsx)(s.p,{children:"Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints."}),"\n",(0,i.jsx)(s.h2,{id:"troubleshooting",children:"Troubleshooting"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Issue"}),(0,i.jsx)(s.th,{children:"Solution"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"Spotify Premium is required" error'}),(0,i.jsx)(s.td,{children:"You need Premium for playback control. Read-only features still work on free accounts."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"403 errors on play/pause/skip"}),(0,i.jsx)(s.td,{children:"Your account is on Spotify's free tier. Playback APIs are Premium-only."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"No active device"'}),(0,i.jsx)(s.td,{children:"Open Spotify on your phone/computer, play any song, then try again."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Browser doesn't open for auth"}),(0,i.jsxs)(s.td,{children:["Use the manual code flow: ",(0,i.jsx)(s.code,{children:"/spotify auth"}),' \u2192 choose "Paste code"']})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Token expired after long idle"}),(0,i.jsxs)(s.td,{children:["Run ",(0,i.jsx)(s.code,{children:"/spotify auth"})," to get fresh tokens"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Account name not showing"}),(0,i.jsxs)(s.td,{children:["Run ",(0,i.jsx)(s.code,{children:"/spotify"})," and Mercury will fetch it live from Spotify's API"]})]})]})]})]})}function a(e={}){let{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>l,x:()=>c});var r=n(6540);let i={},t=r.createContext(i);function l(e){let s=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2b538913.f406be7c.js b/docs/assets/js/2b538913.f406be7c.js
new file mode 100644
index 00000000..f775116e
--- /dev/null
+++ b/docs/assets/js/2b538913.f406be7c.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["283"],{15(e,s,n){n.r(s),n.d(s,{metadata:()=>r,default:()=>a,frontMatter:()=>l,contentTitle:()=>c,toc:()=>d,assets:()=>o});var r=JSON.parse('{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","source":"@site/docs/integrations/spotify.mdx","sourceDirName":"integrations","slug":"/integrations/spotify","permalink":"/docs/integrations/spotify","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx","tags":[],"version":"current","frontMatter":{"id":"spotify","title":"Spotify Integration"},"sidebar":"docsSidebar","previous":{"title":"Telegram","permalink":"/docs/integrations/telegram"},"next":{"title":"Coding Workspace (IDE Mode)","permalink":"/docs/integrations/coding-workspace"}}'),i=n(4848),t=n(8453);let l={id:"spotify",title:"Spotify Integration"},c,o={},d=[{value:"Setup",id:"setup",level:2},{value:"Step 1: Create a Spotify Developer App",id:"step-1-create-a-spotify-developer-app",level:3},{value:"Step 2: Configure Mercury",id:"step-2-configure-mercury",level:3},{value:"Step 3: Connect Your Spotify Account",id:"step-3-connect-your-spotify-account",level:3},{value:"Commands",id:"commands",level:2},{value:"Spotify Tools",id:"spotify-tools",level:2},{value:"Read-only (works on free accounts)",id:"read-only-works-on-free-accounts",level:3},{value:"Playback control (requires Spotify Premium)",id:"playback-control-requires-spotify-premium",level:3},{value:"Using It",id:"using-it",level:2},{value:"Interactive Player (CLI)",id:"interactive-player-cli",level:2},{value:"DJ Mode",id:"dj-mode",level:2},{value:"Player shortcuts",id:"player-shortcuts",level:3},{value:"Optional inline album art",id:"optional-inline-album-art",level:3},{value:"Managing Devices",id:"managing-devices",level:2},{value:"Token Management",id:"token-management",level:2},{value:"Disconnecting",id:"disconnecting",level:3},{value:"Security",id:"security",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}];function h(e){let s={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.p,{children:'Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'}),"\n",(0,i.jsx)(s.admonition,{title:"Spotify Premium",type:"info",children:(0,i.jsxs)(s.p,{children:["Read-only features (search, top tracks, playlists, now playing) work on ",(0,i.jsx)(s.strong,{children:"free"})," Spotify accounts. ",(0,i.jsx)(s.strong,{children:"Playback control"})," (play, pause, skip, volume, shuffle, repeat, queue) requires a ",(0,i.jsx)(s.strong,{children:"Spotify Premium"})," subscription \u2014 this is a Spotify API limitation, not a Mercury restriction."]})}),"\n",(0,i.jsx)(s.h2,{id:"setup",children:"Setup"}),"\n",(0,i.jsx)(s.h3,{id:"step-1-create-a-spotify-developer-app",children:"Step 1: Create a Spotify Developer App"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Go to ",(0,i.jsx)(s.a,{href:"https://developer.spotify.com/dashboard",children:"developer.spotify.com/dashboard"})]}),"\n",(0,i.jsx)(s.li,{children:"Log in with your Spotify account"}),"\n",(0,i.jsxs)(s.li,{children:["Click ",(0,i.jsx)(s.strong,{children:'"Create app"'})]}),"\n",(0,i.jsxs)(s.li,{children:["Fill in:","\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"App name"}),": ",(0,i.jsx)(s.code,{children:"Mercury"})," (or anything you like)"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"App description"}),": ",(0,i.jsx)(s.code,{children:"Mercury Agent Spotify Integration"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Redirect URI"}),": ",(0,i.jsx)(s.code,{children:"http://127.0.0.1:8888/callback"})," \u2014 this must match exactly"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["Click ",(0,i.jsx)(s.strong,{children:"Save"})]}),"\n",(0,i.jsxs)(s.li,{children:["On the app's settings page, copy the ",(0,i.jsx)(s.strong,{children:"Client ID"})," and ",(0,i.jsx)(s.strong,{children:"Client Secret"})]}),"\n"]}),"\n",(0,i.jsx)(s.admonition,{title:"Development Mode",type:"tip",children:(0,i.jsxs)(s.p,{children:["When your Spotify Developer app is in ",(0,i.jsx)(s.strong,{children:"development mode"})," (the default), you can grant access to up to ",(0,i.jsx)(s.strong,{children:"25 users"}),". Go to your app's settings \u2192 ",(0,i.jsx)(s.strong,{children:"User Management"})," \u2192 add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request ",(0,i.jsx)(s.strong,{children:"extended quota"})," from Spotify."]})}),"\n",(0,i.jsx)(s.h3,{id:"step-2-configure-mercury",children:"Step 2: Configure Mercury"}),"\n",(0,i.jsxs)(s.p,{children:["Run ",(0,i.jsx)(s.code,{children:"mercury doctor"})," (or ",(0,i.jsx)(s.code,{children:"mercury setup"})," for first-time setup):"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,i.jsxs)(s.p,{children:["When prompted for Spotify, choose ",(0,i.jsx)(s.strong,{children:"Yes"})," and enter:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Spotify Client ID"})," \u2014 paste the Client ID from Step 1"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Spotify Client Secret"})," \u2014 paste the Client Secret from Step 1"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Press Enter on any other field to keep its current value. After setup, you'll see:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"Spotify: not connected \u2014 run /spotify auth to link your account\n"})}),"\n",(0,i.jsx)(s.h3,{id:"step-3-connect-your-spotify-account",children:"Step 3: Connect Your Spotify Account"}),"\n",(0,i.jsx)(s.p,{children:"Start Mercury and run:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify auth\n"})}),"\n",(0,i.jsx)(s.p,{children:"Choose your authorization method:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Method"}),(0,i.jsx)(s.th,{children:"When to use"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsxs)(s.td,{children:[(0,i.jsx)(s.strong,{children:"Open browser"})," (recommended)"]}),(0,i.jsx)(s.td,{children:"When Mercury is running locally on your machine"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Paste authorization code"})}),(0,i.jsx)(s.td,{children:"When browser auto-open fails, or via SSH"})]})]})]}),"\n",(0,i.jsxs)(s.p,{children:["For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the ",(0,i.jsx)(s.code,{children:"code"})," parameter from the redirect URL:"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify code <paste-your-code-here>\n"})}),"\n",(0,i.jsx)(s.p,{children:"After successful auth, Mercury shows:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"Spotify: connected as YourName\n"})}),"\n",(0,i.jsx)(s.h2,{id:"commands",children:"Commands"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Command"}),(0,i.jsx)(s.th,{children:"Description"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify"})}),(0,i.jsx)(s.td,{children:"Show connection status, account name, plan, and active device"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify auth"})}),(0,i.jsx)(s.td,{children:"Start OAuth flow (browser or manual code)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify code <code>"})}),(0,i.jsx)(s.td,{children:"Complete auth with a pasted authorization code"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify logout"})}),(0,i.jsx)(s.td,{children:"Disconnect Spotify and clear saved tokens"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify player"})}),(0,i.jsx)(s.td,{children:"Interactive player with arrow-key controls (CLI only)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify devices"})}),(0,i.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify device <id>"})}),(0,i.jsx)(s.td,{children:"Set active device"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"/spotify now"})}),(0,i.jsx)(s.td,{children:"Show what is currently playing"})]})]})]}),"\n",(0,i.jsx)(s.h2,{id:"spotify-tools",children:"Spotify Tools"}),"\n",(0,i.jsx)(s.p,{children:"These are the tools Mercury uses when you talk about music:"}),"\n",(0,i.jsx)(s.h3,{id:"read-only-works-on-free-accounts",children:"Read-only (works on free accounts)"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Tool"}),(0,i.jsx)(s.th,{children:"What it does"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_search"})}),(0,i.jsx)(s.td,{children:"Search tracks, artists, albums, playlists"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_now_playing"})}),(0,i.jsx)(s.td,{children:"Show what's currently playing"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_devices"})}),(0,i.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_top_tracks"})}),(0,i.jsx)(s.td,{children:"Get your top tracks (time_range: short/medium/long term)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_playlists"})}),(0,i.jsx)(s.td,{children:"Get your playlists"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_like"})}),(0,i.jsx)(s.td,{children:"Save a track to your library"})]})]})]}),"\n",(0,i.jsx)(s.h3,{id:"playback-control-requires-spotify-premium",children:"Playback control (requires Spotify Premium)"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Tool"}),(0,i.jsx)(s.th,{children:"What it does"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_play"})}),(0,i.jsx)(s.td,{children:"Play a track, album, or playlist on a device"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_pause"})}),(0,i.jsx)(s.td,{children:"Pause playback"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_next"})}),(0,i.jsx)(s.td,{children:"Skip to next track"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_previous"})}),(0,i.jsx)(s.td,{children:"Skip to previous track"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_volume"})}),(0,i.jsx)(s.td,{children:"Set volume (0-100)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_shuffle"})}),(0,i.jsx)(s.td,{children:"Toggle shuffle on/off"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_repeat"})}),(0,i.jsx)(s.td,{children:"Set repeat mode (off, track, context)"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"spotify_queue"})}),(0,i.jsx)(s.td,{children:"Add a track to the playback queue"})]})]})]}),"\n",(0,i.jsx)(s.h2,{id:"using-it",children:"Using It"}),"\n",(0,i.jsx)(s.p,{children:"Just talk to Mercury naturally about music:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"You say"}),(0,i.jsx)(s.th,{children:"Mercury does"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"play some chill music"'}),(0,i.jsx)(s.td,{children:'Searches "lo-fi chill", picks tracks, plays on your device'})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"what are my top tracks?"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_top_tracks"}),", shows results"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"skip this song"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_next"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"pause"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_pause"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"play my playlist Road Trip"'}),(0,i.jsx)(s.td,{children:"Searches your playlists, plays the match"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"set volume to 50"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_volume(50)"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"what\'s playing?"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_now_playing"}),", shows artist \u2014 track + progress bar"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"add this to my queue"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_queue"})," with current track"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"shuffle on"'}),(0,i.jsxs)(s.td,{children:["Calls ",(0,i.jsx)(s.code,{children:"spotify_shuffle(true)"})]})]})]})]}),"\n",(0,i.jsx)(s.h2,{id:"interactive-player-cli",children:"Interactive Player (CLI)"}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.code,{children:"/spotify player"})," command launches an interactive arrow-key player in your terminal:"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:" \u25B6 Play/Pause \u25C0 Previous \u25B6\u25B6 Next\n \u{1F50A} Volume \u{1F500} Shuffle \u{1F501} Repeat\n \u{1F50D} Search \u{1F4CB} Queue \u2715 Exit\n"})}),"\n",(0,i.jsx)(s.p,{children:"Every action shows real-time feedback with track info and a progress bar."}),"\n",(0,i.jsx)(s.h2,{id:"dj-mode",children:"DJ Mode"}),"\n",(0,i.jsxs)(s.p,{children:["Mercury's Spotify flow supports a practical ",(0,i.jsx)(s.strong,{children:"DJ mode"})," pattern in conversation and in the CLI player:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Queue songs while current playback continues"}),"\n",(0,i.jsx)(s.li,{children:"Skip/recover quickly with next/previous controls"}),"\n",(0,i.jsx)(s.li,{children:"Adjust energy with volume/shuffle/repeat in-session"}),"\n",(0,i.jsxs)(s.li,{children:["Keep steering by prompts like:","\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:'"Queue 3 upbeat tracks"'}),"\n",(0,i.jsx)(s.li,{children:'"Skip this and play something calmer"'}),"\n",(0,i.jsx)(s.li,{children:'"Keep this vibe for the next 20 minutes"'}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Use ",(0,i.jsx)(s.code,{children:"/spotify player"})," for hands-on control, or use natural-language prompts to keep the set moving."]}),"\n",(0,i.jsx)(s.h3,{id:"player-shortcuts",children:"Player shortcuts"}),"\n",(0,i.jsx)(s.p,{children:"Inside the Spotify player (CLI):"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"N"})," \u2192 next track"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"P"})," \u2192 previous track"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"+"})," / ",(0,i.jsx)(s.code,{children:"-"})," \u2192 volume up/down by 10%"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"Z"})," \u2192 refresh now playing"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"Esc"})," \u2192 exit player"]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"optional-inline-album-art",children:"Optional inline album art"}),"\n",(0,i.jsx)(s.p,{children:"Mercury supports inline album art as a progressive enhancement (text UI remains the default)."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Enable with: ",(0,i.jsx)(s.code,{children:"MERCURY_SPOTIFY_ART=1"})]}),"\n",(0,i.jsx)(s.li,{children:"Currently rendered only in local iTerm sessions"}),"\n",(0,i.jsx)(s.li,{children:"Automatically falls back to text-only view in SSH/mobile/light terminals"}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"managing-devices",children:"Managing Devices"}),"\n",(0,i.jsxs)(s.p,{children:["Spotify plays on ",(0,i.jsx)(s.strong,{children:"your devices"})," \u2014 phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available:"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify devices\n"})}),"\n",(0,i.jsx)(s.p,{children:"If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify device <device-id>\n"})}),"\n",(0,i.jsx)(s.p,{children:"The device ID persists across sessions \u2014 Mercury remembers your preferred device."}),"\n",(0,i.jsx)(s.h2,{id:"token-management",children:"Token Management"}),"\n",(0,i.jsxs)(s.p,{children:["Mercury stores your Spotify tokens in ",(0,i.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Access token"})," \u2014 short-lived, auto-refreshed"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Refresh token"})," \u2014 long-lived, used to get new access tokens"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Account info"})," \u2014 display name, user ID, plan (Premium/Free)"]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run ",(0,i.jsx)(s.code,{children:"/spotify auth"})," again."]}),"\n",(0,i.jsx)(s.h3,{id:"disconnecting",children:"Disconnecting"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{children:"/spotify logout\n"})}),"\n",(0,i.jsxs)(s.p,{children:["This clears all tokens and account info. Run ",(0,i.jsx)(s.code,{children:"/spotify auth"})," to reconnect later."]}),"\n",(0,i.jsx)(s.h2,{id:"security",children:"Security"}),"\n",(0,i.jsx)(s.admonition,{title:"Client credentials",type:"warning",children:(0,i.jsxs)(s.p,{children:["Your Spotify Client ID and Client Secret are stored in ",(0,i.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),". They are only used to authenticate with Spotify's API from your machine \u2014 never shared externally. Treat this file like any other credential."]})}),"\n",(0,i.jsx)(s.p,{children:"Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints."}),"\n",(0,i.jsx)(s.h2,{id:"troubleshooting",children:"Troubleshooting"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Issue"}),(0,i.jsx)(s.th,{children:"Solution"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"Spotify Premium is required" error'}),(0,i.jsx)(s.td,{children:"You need Premium for playback control. Read-only features still work on free accounts."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"403 errors on play/pause/skip"}),(0,i.jsx)(s.td,{children:"Your account is on Spotify's free tier. Playback APIs are Premium-only."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:'"No active device"'}),(0,i.jsx)(s.td,{children:"Open Spotify on your phone/computer, play any song, then try again."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Browser doesn't open for auth"}),(0,i.jsxs)(s.td,{children:["Use the manual code flow: ",(0,i.jsx)(s.code,{children:"/spotify auth"}),' \u2192 choose "Paste code"']})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Token expired after long idle"}),(0,i.jsxs)(s.td,{children:["Run ",(0,i.jsx)(s.code,{children:"/spotify auth"})," to get fresh tokens"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Account name not showing"}),(0,i.jsxs)(s.td,{children:["Run ",(0,i.jsx)(s.code,{children:"/spotify"})," and Mercury will fetch it live from Spotify's API"]})]})]})]})]})}function a(e={}){let{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>l,x:()=>c});var r=n(6540);let i={},t=r.createContext(i);function l(e){let s=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/37a27735.62cbe913.js b/docs/assets/js/37a27735.62cbe913.js
deleted file mode 100644
index 95fa0d75..00000000
--- a/docs/assets/js/37a27735.62cbe913.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["263"],{7175(e,r,n){n.r(r),n.d(r,{metadata:()=>d,default:()=>h,frontMatter:()=>t,contentTitle:()=>c,toc:()=>o,assets:()=>l});var d=JSON.parse('{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","source":"@site/docs/reference/provider-fallback.mdx","sourceDirName":"reference","slug":"/reference/provider-fallback","permalink":"/docs/reference/provider-fallback","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx","tags":[],"version":"current","frontMatter":{"id":"provider-fallback","title":"Provider Fallback"},"sidebar":"docsSidebar","previous":{"title":"Second Brain","permalink":"/docs/reference/second-brain"},"next":{"title":"Scheduling","permalink":"/docs/reference/scheduling"}}'),i=n(4848),s=n(8453);let t={id:"provider-fallback",title:"Provider Fallback"},c,l={},o=[{value:"Session Model Switching",id:"session-model-switching",level:2},{value:"Supported Providers",id:"supported-providers",level:2},{value:"Configuring Providers",id:"configuring-providers",level:2}];function a(e){let r={code:"code",h2:"h2",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.p,{children:"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."}),"\n",(0,i.jsx)(r.h2,{id:"session-model-switching",children:"Session Model Switching"}),"\n",(0,i.jsx)(r.p,{children:"You can switch the active provider/model at runtime without restarting Mercury:"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"/models"})," \u2014 shows configured providers and current active model"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"/models use <provider>"})," \u2014 switches the active session model"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"/models doctor"})," \u2014 points to setup flow for adding/configuring providers"]}),"\n"]}),"\n",(0,i.jsxs)(r.p,{children:["This is a session-level switch for the running process. Use ",(0,i.jsx)(r.code,{children:"mercury doctor"})," to change persisted defaults."]}),"\n",(0,i.jsx)(r.h2,{id:"supported-providers",children:"Supported Providers"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Provider"}),(0,i.jsx)(r.th,{children:"Default Model"}),(0,i.jsx)(r.th,{children:"API Key"}),(0,i.jsx)(r.th,{children:"Configuration"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"DeepSeek"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"deepseek-chat"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"DEEPSEEK_API_KEY"})}),(0,i.jsx)(r.td,{children:"Default provider, cost-effective"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"OpenAI"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-4o-mini"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OPENAI_API_KEY"})}),(0,i.jsx)(r.td,{children:"GPT-4o-mini, GPT-4o, o3, etc."})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Anthropic"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"claude-sonnet-4-20250514"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"ANTHROPIC_API_KEY"})}),(0,i.jsx)(r.td,{children:"Claude Sonnet, Haiku, Opus"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Grok (xAI)"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"grok-4"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"GROK_API_KEY"})}),(0,i.jsx)(r.td,{children:"OpenAI-compatible endpoint"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Ollama Cloud"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-oss:120b"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OLLAMA_CLOUD_API_KEY"})}),(0,i.jsx)(r.td,{children:"Remote Ollama models via API"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Ollama Local"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-oss:20b"})}),(0,i.jsx)(r.td,{children:"No key needed"}),(0,i.jsx)(r.td,{children:"Local Ollama instance (127.0.0.1:11434)"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"OpenAI Compatible"})}),(0,i.jsx)(r.td,{children:"Configurable"}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OPENAI_COMPAT_API_KEY"})}),(0,i.jsx)(r.td,{children:"Any OpenAI-compatible server"})]})]})]}),"\n",(0,i.jsx)(r.h2,{id:"configuring-providers",children:"Configuring Providers"}),"\n",(0,i.jsxs)(r.p,{children:["Run ",(0,i.jsx)(r.code,{children:"mercury doctor"})," and enter API keys for the providers you want to use. You can also set environment variables directly or edit ",(0,i.jsx)(r.code,{children:"~/.mercury/mercury.yaml"}),"."]}),"\n",(0,i.jsxs)(r.p,{children:[":::tip Environment variables\nEach provider has env vars for its API key, base URL, and model. For example, DeepSeek uses ",(0,i.jsx)(r.code,{children:"DEEPSEEK_API_KEY"}),", ",(0,i.jsx)(r.code,{children:"DEEPSEEK_BASE_URL"}),", and ",(0,i.jsx)(r.code,{children:"DEEPSEEK_MODEL"}),". Ollama Local requires no API key \u2014 just set ",(0,i.jsx)(r.code,{children:"OLLAMA_LOCAL_ENABLED=true"})," and ",(0,i.jsx)(r.code,{children:"OLLAMA_LOCAL_MODEL"})," to your preferred local model.\n:::"]}),"\n",(0,i.jsx)(r.p,{children:":::warning More providers coming\nGoogle Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.\n:::"})]})}function h(e={}){let{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453(e,r,n){n.d(r,{R:()=>t,x:()=>c});var d=n(6540);let i={},s=d.createContext(i);function t(e){let r=d.useContext(s);return d.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),d.createElement(s.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/37a27735.753bc700.js b/docs/assets/js/37a27735.753bc700.js
new file mode 100644
index 00000000..1250df33
--- /dev/null
+++ b/docs/assets/js/37a27735.753bc700.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["263"],{7175(e,i,r){r.r(i),r.d(i,{metadata:()=>n,default:()=>a,frontMatter:()=>l,contentTitle:()=>t,toc:()=>c,assets:()=>o});var n=JSON.parse('{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","source":"@site/docs/reference/provider-fallback.mdx","sourceDirName":"reference","slug":"/reference/provider-fallback","permalink":"/docs/reference/provider-fallback","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx","tags":[],"version":"current","frontMatter":{"id":"provider-fallback","title":"Provider Fallback"},"sidebar":"docsSidebar","previous":{"title":"Second Brain","permalink":"/docs/reference/second-brain"},"next":{"title":"Scheduling","permalink":"/docs/reference/scheduling"}}'),s=r(4848),d=r(8453);let l={id:"provider-fallback",title:"Provider Fallback"},t,o={},c=[{value:"Session Model Switching",id:"session-model-switching",level:2},{value:"Supported Providers",id:"supported-providers",level:2},{value:"API Key Providers",id:"api-key-providers",level:3},{value:"OAuth Providers (No API Key Needed)",id:"oauth-providers-no-api-key-needed",level:3},{value:"ChatGPT Web (ChatGPT Plus/Pro)",id:"chatgpt-web-chatgpt-pluspro",level:2},{value:"Setup",id:"setup",level:3},{value:"How It Works",id:"how-it-works",level:3},{value:"Available Models",id:"available-models",level:3},{value:"Environment Variables",id:"environment-variables",level:3},{value:"GitHub Copilot",id:"github-copilot",level:2},{value:"Setup",id:"setup-1",level:3},{value:"How It Works",id:"how-it-works-1",level:3},{value:"Available Models",id:"available-models-1",level:3},{value:"Environment Variables",id:"environment-variables-1",level:3},{value:"Configuring Providers",id:"configuring-providers",level:2}];function h(e){let i={admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."}),"\n",(0,s.jsx)(i.h2,{id:"session-model-switching",children:"Session Model Switching"}),"\n",(0,s.jsx)(i.p,{children:"You can switch the active provider/model at runtime without restarting Mercury:"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.code,{children:"/models"})," \u2014 shows configured providers and current active model"]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.code,{children:"/models use <provider>"})," \u2014 switches the active session model"]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.code,{children:"/models doctor"})," \u2014 points to setup flow for adding/configuring providers"]}),"\n"]}),"\n",(0,s.jsxs)(i.p,{children:["This is a session-level switch for the running process. Use ",(0,s.jsx)(i.code,{children:"mercury doctor"})," to change persisted defaults."]}),"\n",(0,s.jsx)(i.h2,{id:"supported-providers",children:"Supported Providers"}),"\n",(0,s.jsx)(i.h3,{id:"api-key-providers",children:"API Key Providers"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Provider"}),(0,s.jsx)(i.th,{children:"Default Model"}),(0,s.jsx)(i.th,{children:"API Key"}),(0,s.jsx)(i.th,{children:"Configuration"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"DeepSeek"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"deepseek-chat"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"DEEPSEEK_API_KEY"})}),(0,s.jsx)(i.td,{children:"Default provider, cost-effective"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"OpenAI"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-4o-mini"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"OPENAI_API_KEY"})}),(0,s.jsx)(i.td,{children:"GPT-4o-mini, GPT-4o, o3, etc."})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"Anthropic"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"claude-sonnet-4-20250514"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"ANTHROPIC_API_KEY"})}),(0,s.jsx)(i.td,{children:"Claude Sonnet, Haiku, Opus"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"Grok (xAI)"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"grok-4"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"GROK_API_KEY"})}),(0,s.jsx)(i.td,{children:"OpenAI-compatible endpoint"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"Ollama Cloud"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-oss:120b"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"OLLAMA_CLOUD_API_KEY"})}),(0,s.jsx)(i.td,{children:"Remote Ollama models via API"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"Ollama Local"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-oss:20b"})}),(0,s.jsx)(i.td,{children:"No key needed"}),(0,s.jsx)(i.td,{children:"Local Ollama instance (127.0.0.1:11434)"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"OpenAI Compatible"})}),(0,s.jsx)(i.td,{children:"Configurable"}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"OPENAI_COMPAT_API_KEY"})}),(0,s.jsx)(i.td,{children:"Any OpenAI-compatible server"})]})]})]}),"\n",(0,s.jsx)(i.h3,{id:"oauth-providers-no-api-key-needed",children:"OAuth Providers (No API Key Needed)"}),"\n",(0,s.jsx)(i.p,{children:"These providers authenticate through your browser using OAuth device flow \u2014 no API key required."}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Provider"}),(0,s.jsx)(i.th,{children:"Default Model"}),(0,s.jsx)(i.th,{children:"Subscription Required"}),(0,s.jsx)(i.th,{children:"Configuration"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"ChatGPT Web"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-5.4-mini"})}),(0,s.jsx)(i.td,{children:"ChatGPT Plus or Pro"}),(0,s.jsx)(i.td,{children:"Uses your ChatGPT subscription"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.strong,{children:"GitHub Copilot"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-4o"})}),(0,s.jsx)(i.td,{children:"GitHub Copilot"}),(0,s.jsx)(i.td,{children:"Uses your Copilot subscription"})]})]})]}),"\n",(0,s.jsx)(i.h2,{id:"chatgpt-web-chatgpt-pluspro",children:"ChatGPT Web (ChatGPT Plus/Pro)"}),"\n",(0,s.jsx)(i.p,{children:"Use your existing ChatGPT Plus or Pro subscription as a Mercury provider. No API key or separate billing \u2014 it runs through the same backend as chatgpt.com."}),"\n",(0,s.jsx)(i.h3,{id:"setup",children:"Setup"}),"\n",(0,s.jsxs)(i.ol,{children:["\n",(0,s.jsxs)(i.li,{children:["Run ",(0,s.jsx)(i.code,{children:"mercury doctor"})," (or first-time ",(0,s.jsx)(i.code,{children:"mercury"})," setup)"]}),"\n",(0,s.jsxs)(i.li,{children:["Select ",(0,s.jsx)(i.strong,{children:"OpenAI"})," from the provider list"]}),"\n",(0,s.jsxs)(i.li,{children:["Choose ",(0,s.jsx)(i.strong,{children:"ChatGPT Plus/Pro (OAuth \u2014 use your subscription)"})]}),"\n",(0,s.jsx)(i.li,{children:"A browser window opens \u2014 sign in with your OpenAI account and enter the device code shown in the terminal"}),"\n",(0,s.jsx)(i.li,{children:"Mercury fetches available models from your account and lets you pick a default"}),"\n"]}),"\n",(0,s.jsx)(i.h3,{id:"how-it-works",children:"How It Works"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsx)(i.li,{children:"Authenticates via OpenAI's device flow OAuth (same flow used by the Codex CLI)"}),"\n",(0,s.jsxs)(i.li,{children:["Uses the ChatGPT Responses API at ",(0,s.jsx)(i.code,{children:"chatgpt.com/backend-api/codex"})]}),"\n",(0,s.jsxs)(i.li,{children:["Session tokens are stored locally at ",(0,s.jsx)(i.code,{children:"~/.mercury/chatgpt-session.json"})]}),"\n",(0,s.jsx)(i.li,{children:"Access tokens auto-refresh when they expire \u2014 no manual re-authentication needed"}),"\n"]}),"\n",(0,s.jsx)(i.h3,{id:"available-models",children:"Available Models"}),"\n",(0,s.jsx)(i.p,{children:"Models are fetched from your account. Typical models available on the codex endpoint include:"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.code,{children:"gpt-5.5"}),", ",(0,s.jsx)(i.code,{children:"gpt-5.4"}),", ",(0,s.jsx)(i.code,{children:"gpt-5.4-mini"}),", ",(0,s.jsx)(i.code,{children:"gpt-5.3-codex"}),", ",(0,s.jsx)(i.code,{children:"gpt-5.2"})]}),"\n"]}),"\n",(0,s.jsx)(i.admonition,{title:"Not all ChatGPT models are supported",type:"warning",children:(0,s.jsxs)(i.p,{children:["Only models available on the codex/responses endpoint work with this provider. Some models like ",(0,s.jsx)(i.code,{children:"gpt-4o"}),", ",(0,s.jsx)(i.code,{children:"o3"}),", and ",(0,s.jsx)(i.code,{children:"o4-mini"})," are not available through this endpoint."]})}),"\n",(0,s.jsx)(i.h3,{id:"environment-variables",children:"Environment Variables"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Variable"}),(0,s.jsx)(i.th,{children:"Default"}),(0,s.jsx)(i.th,{children:"Description"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"CHATGPT_WEB_ENABLED"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"false"})}),(0,s.jsx)(i.td,{children:"Enable the ChatGPT Web provider"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"CHATGPT_WEB_MODEL"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-5.4-mini"})}),(0,s.jsx)(i.td,{children:"Default model to use"})]})]})]}),"\n",(0,s.jsx)(i.h2,{id:"github-copilot",children:"GitHub Copilot"}),"\n",(0,s.jsx)(i.p,{children:"Use your GitHub Copilot subscription as a Mercury provider. Authenticates through GitHub OAuth and accesses models through the Copilot API."}),"\n",(0,s.jsx)(i.h3,{id:"setup-1",children:"Setup"}),"\n",(0,s.jsxs)(i.ol,{children:["\n",(0,s.jsxs)(i.li,{children:["Run ",(0,s.jsx)(i.code,{children:"mercury doctor"})," (or first-time ",(0,s.jsx)(i.code,{children:"mercury"})," setup)"]}),"\n",(0,s.jsxs)(i.li,{children:["Select ",(0,s.jsx)(i.strong,{children:"GitHub Copilot"})," from the provider list"]}),"\n",(0,s.jsx)(i.li,{children:"A browser window opens \u2014 sign in with your GitHub account and enter the device code shown in the terminal"}),"\n",(0,s.jsx)(i.li,{children:"Mercury fetches available models from the Copilot API and lets you pick a default"}),"\n"]}),"\n",(0,s.jsx)(i.h3,{id:"how-it-works-1",children:"How It Works"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsx)(i.li,{children:"Authenticates via GitHub's device flow OAuth"}),"\n",(0,s.jsx)(i.li,{children:"Exchanges the GitHub token for a short-lived Copilot API token (auto-refreshed every ~30 minutes)"}),"\n",(0,s.jsx)(i.li,{children:"Uses the Copilot API endpoint with OpenAI-compatible requests"}),"\n",(0,s.jsxs)(i.li,{children:["Session stored locally at ",(0,s.jsx)(i.code,{children:"~/.mercury/github-session.json"})]}),"\n",(0,s.jsx)(i.li,{children:"GitHub OAuth tokens don't expire \u2014 they remain valid until revoked on github.com"}),"\n"]}),"\n",(0,s.jsx)(i.h3,{id:"available-models-1",children:"Available Models"}),"\n",(0,s.jsx)(i.p,{children:"Models are fetched dynamically from the Copilot API. Typical models include:"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.code,{children:"claude-sonnet-4.6"}),", ",(0,s.jsx)(i.code,{children:"gpt-4o"}),", ",(0,s.jsx)(i.code,{children:"gpt-5.4"}),", ",(0,s.jsx)(i.code,{children:"claude-opus-4.6"}),", ",(0,s.jsx)(i.code,{children:"gpt-4.1"}),", ",(0,s.jsx)(i.code,{children:"gpt-4o-mini"}),", ",(0,s.jsx)(i.code,{children:"gemini-3.1-pro-preview"})]}),"\n"]}),"\n",(0,s.jsx)(i.admonition,{title:"Multi-vendor models through one subscription",type:"tip",children:(0,s.jsx)(i.p,{children:"GitHub Copilot provides access to models from OpenAI, Anthropic, and Google \u2014 all through a single subscription. This makes it one of the most versatile provider options."})}),"\n",(0,s.jsx)(i.h3,{id:"environment-variables-1",children:"Environment Variables"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Variable"}),(0,s.jsx)(i.th,{children:"Default"}),(0,s.jsx)(i.th,{children:"Description"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"GITHUB_COPILOT_ENABLED"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"false"})}),(0,s.jsx)(i.td,{children:"Enable the GitHub Copilot provider"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"GITHUB_COPILOT_MODEL"})}),(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"gpt-4o"})}),(0,s.jsx)(i.td,{children:"Default model to use"})]})]})]}),"\n",(0,s.jsx)(i.admonition,{title:"Copilot subscription required",type:"info",children:(0,s.jsx)(i.p,{children:'GitHub Copilot must be active on your GitHub account. If the Copilot token exchange fails, Mercury will show: "Is GitHub Copilot enabled for your account?"'})}),"\n",(0,s.jsx)(i.h2,{id:"configuring-providers",children:"Configuring Providers"}),"\n",(0,s.jsxs)(i.p,{children:["Run ",(0,s.jsx)(i.code,{children:"mercury doctor"})," and enter API keys for the providers you want to use. For OAuth providers (ChatGPT Web, GitHub Copilot), the setup flow opens your browser for authentication \u2014 no keys to copy/paste."]}),"\n",(0,s.jsxs)(i.p,{children:["You can also set environment variables directly or edit ",(0,s.jsx)(i.code,{children:"~/.mercury/mercury.yaml"}),"."]}),"\n",(0,s.jsx)(i.admonition,{title:"Environment variables",type:"tip",children:(0,s.jsxs)(i.p,{children:["Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses ",(0,s.jsx)(i.code,{children:"DEEPSEEK_API_KEY"}),", ",(0,s.jsx)(i.code,{children:"DEEPSEEK_BASE_URL"}),", and ",(0,s.jsx)(i.code,{children:"DEEPSEEK_MODEL"}),". Ollama Local requires no API key \u2014 just set ",(0,s.jsx)(i.code,{children:"OLLAMA_LOCAL_ENABLED=true"})," and ",(0,s.jsx)(i.code,{children:"OLLAMA_LOCAL_MODEL"})," to your preferred local model."]})})]})}function a(e={}){let{wrapper:i}={...(0,d.R)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8453(e,i,r){r.d(i,{R:()=>l,x:()=>t});var n=r(6540);let s={},d=n.createContext(s);function l(e){let i=n.useContext(d);return n.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function t(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),n.createElement(d.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/449e68eb.a000495f.js b/docs/assets/js/449e68eb.a000495f.js
new file mode 100644
index 00000000..c980d365
--- /dev/null
+++ b/docs/assets/js/449e68eb.a000495f.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["871"],{810(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>u,frontMatter:()=>o,contentTitle:()=>a,toc:()=>d,assets:()=>c});var n=JSON.parse('{"id":"getting-started/setup","title":"First-Time Setup","description":"Run mercury for the first time. The onboarding wizard asks for:","source":"@site/docs/getting-started/setup.mdx","sourceDirName":"getting-started","slug":"/getting-started/setup","permalink":"/docs/getting-started/setup","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/setup.mdx","tags":[],"version":"current","frontMatter":{"id":"setup","title":"First-Time Setup"},"sidebar":"docsSidebar","previous":{"title":"Installation","permalink":"/docs/"},"next":{"title":"Starting Mercury","permalink":"/docs/getting-started/starting"}}'),s=r(4848),i=r(8453);let o={id:"setup",title:"First-Time Setup"},a,c={},d=[];function l(e){let t={admonition:"admonition",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.p,{children:["Run ",(0,s.jsx)(t.code,{children:"mercury"})," for the first time. The onboarding wizard asks for:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Your name"})," \u2014 used by the agent to address you"]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Agent name"}),' \u2014 defaults to "Mercury", customize it']}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"LLM providers"})," \u2014 choose one or more: DeepSeek, OpenAI, Anthropic, Grok, Ollama Cloud, Ollama Local, or OpenAI Compatible"]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Model selection"})," \u2014 after each valid key, Mercury fetches recommended chat models and lets you choose a default"]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Telegram bot token"})," \u2014 optional, for remote access in private 1:1 chats"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text."}),"\n",(0,s.jsxs)(t.p,{children:["If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send ",(0,s.jsx)(t.code,{children:"/start"})," to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup."]}),"\n",(0,s.jsxs)(t.p,{children:["All config is stored in ",(0,s.jsx)(t.code,{children:"~/.mercury/"})," \u2014 nothing in your project directory."]}),"\n",(0,s.jsx)(t.admonition,{title:"Masked keys",type:"info",children:(0,s.jsxs)(t.p,{children:["When reconfiguring with ",(0,s.jsx)(t.code,{children:"mercury doctor"}),", existing API keys are shown masked like ",(0,s.jsx)(t.code,{children:"sk-x\u2022\u2022\u2022\u20224f2a"}),". Press Enter to keep the current value, or paste a new key to replace it."]})})]})}function u(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453(e,t,r){r.d(t,{R:()=>o,x:()=>a});var n=r(6540);let s={},i=n.createContext(s);function o(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/449e68eb.a5b08cae.js b/docs/assets/js/449e68eb.a5b08cae.js
deleted file mode 100644
index 036e8d37..00000000
--- a/docs/assets/js/449e68eb.a5b08cae.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["871"],{810(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>u,frontMatter:()=>o,contentTitle:()=>a,toc:()=>d,assets:()=>c});var n=JSON.parse('{"id":"getting-started/setup","title":"First-Time Setup","description":"Run mercury for the first time. The onboarding wizard asks for:","source":"@site/docs/getting-started/setup.mdx","sourceDirName":"getting-started","slug":"/getting-started/setup","permalink":"/docs/getting-started/setup","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/setup.mdx","tags":[],"version":"current","frontMatter":{"id":"setup","title":"First-Time Setup"},"sidebar":"docsSidebar","previous":{"title":"Installation","permalink":"/docs/"},"next":{"title":"Starting Mercury","permalink":"/docs/getting-started/starting"}}'),s=r(4848),i=r(8453);let o={id:"setup",title:"First-Time Setup"},a,c={},d=[];function l(e){let t={code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.p,{children:["Run ",(0,s.jsx)(t.code,{children:"mercury"})," for the first time. The onboarding wizard asks for:"]}),"\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Your name"})," \u2014 used by the agent to address you"]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Agent name"}),' \u2014 defaults to "Mercury", customize it']}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"LLM providers"})," \u2014 choose one or more: DeepSeek, OpenAI, Anthropic, Grok, Ollama Cloud, Ollama Local, or OpenAI Compatible"]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Model selection"})," \u2014 after each valid key, Mercury fetches recommended chat models and lets you choose a default"]}),"\n",(0,s.jsxs)(t.li,{children:[(0,s.jsx)(t.strong,{children:"Telegram bot token"})," \u2014 optional, for remote access in private 1:1 chats"]}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text."}),"\n",(0,s.jsxs)(t.p,{children:["If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send ",(0,s.jsx)(t.code,{children:"/start"})," to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup."]}),"\n",(0,s.jsxs)(t.p,{children:["All config is stored in ",(0,s.jsx)(t.code,{children:"~/.mercury/"})," \u2014 nothing in your project directory."]}),"\n",(0,s.jsxs)(t.p,{children:[":::info Masked keys\nWhen reconfiguring with ",(0,s.jsx)(t.code,{children:"mercury doctor"}),", existing API keys are shown masked like ",(0,s.jsx)(t.code,{children:"sk-x\u2022\u2022\u2022\u20224f2a"}),". Press Enter to keep the current value, or paste a new key to replace it.\n:::"]})]})}function u(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453(e,t,r){r.d(t,{R:()=>o,x:()=>a});var n=r(6540);let s={},i=n.createContext(s);function o(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/47fe99a6.b4bdb3a9.js b/docs/assets/js/47fe99a6.b4bdb3a9.js
new file mode 100644
index 00000000..855c3aa4
--- /dev/null
+++ b/docs/assets/js/47fe99a6.b4bdb3a9.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["713"],{2361(e,i,t){t.r(i),t.d(i,{metadata:()=>n,default:()=>h,frontMatter:()=>o,contentTitle:()=>a,toc:()=>l,assets:()=>c});var n=JSON.parse('{"id":"integrations/github-companion","title":"GitHub Companion","description":"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury\'s built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","source":"@site/docs/integrations/github-companion.mdx","sourceDirName":"integrations","slug":"/integrations/github-companion","permalink":"/docs/integrations/github-companion","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/github-companion.mdx","tags":[],"version":"current","frontMatter":{"id":"github-companion","title":"GitHub Companion"},"sidebar":"docsSidebar","previous":{"title":"Platform-Specific Guide","permalink":"/docs/daemon-mode/platform-guide"},"next":{"title":"Telegram","permalink":"/docs/integrations/telegram"}}'),s=t(4848),r=t(8453);let o={id:"github-companion",title:"GitHub Companion"},a,c={},l=[{value:"Why set up GitHub?",id:"why-set-up-github",level:2},{value:"Setup",id:"setup",level:2},{value:"1. GitHub username",id:"1-github-username",level:3},{value:"2. Co-authored-by (automatic)",id:"2-co-authored-by-automatic",level:3},{value:"3. GitHub PAT (Personal Access Token)",id:"3-github-pat-personal-access-token",level:3},{value:"4. Default repo (optional)",id:"4-default-repo-optional",level:3},{value:"GitHub Tools",id:"github-tools",level:2},{value:"Co-Authored Commits",id:"co-authored-commits",level:2},{value:"Security",id:"security",level:2}];function d(e){let i={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.p,{children:"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."}),"\n",(0,s.jsx)(i.admonition,{title:"Conditional availability",type:"info",children:(0,s.jsxs)(i.p,{children:["GitHub tools ",(0,s.jsxs)(i.strong,{children:["only appear when ",(0,s.jsx)(i.code,{children:"GITHUB_TOKEN"})," is configured"]})," via ",(0,s.jsx)(i.code,{children:"mercury doctor"}),". Without a token, these tools are not registered and won't be available in conversation."]})}),"\n",(0,s.jsx)(i.h2,{id:"why-set-up-github",children:"Why set up GitHub?"}),"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Co-authored commits"})," \u2014 Mercury's avatar appears alongside yours on every commit it helps with"]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Pull requests"}),' \u2014 "Create a PR for this change" and Mercury stages, commits, pushes, and opens the PR']}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Issue management"}),' \u2014 "Check open issues" or "File a bug for the login crash"']}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Code review"}),' \u2014 "Review PR #5" and Mercury reads the diff and posts a summary']}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Full API access"})," \u2014 The ",(0,s.jsx)(i.code,{children:"github_api"})," tool lets Mercury hit any GitHub endpoint"]}),"\n"]}),"\n",(0,s.jsx)(i.h2,{id:"setup",children:"Setup"}),"\n",(0,s.jsxs)(i.p,{children:["Run ",(0,s.jsx)(i.code,{children:"mercury doctor"})," and fill in the four GitHub fields:"]}),"\n",(0,s.jsx)(i.pre,{children:(0,s.jsx)(i.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,s.jsx)(i.h3,{id:"1-github-username",children:"1. GitHub username"}),"\n",(0,s.jsx)(i.p,{children:"Your GitHub username. This is used for commit attribution and identifying you in API calls."}),"\n",(0,s.jsx)(i.pre,{children:(0,s.jsx)(i.code,{children:"Example: hotheadhacker\n"})}),"\n",(0,s.jsx)(i.h3,{id:"2-co-authored-by-automatic",children:"2. Co-authored-by (automatic)"}),"\n",(0,s.jsxs)(i.p,{children:["Every Mercury-assisted commit automatically includes a ",(0,s.jsx)(i.code,{children:"Co-authored-by: Mercury <[email protected]>"})," trailer. No configuration needed \u2014 this is the default. Mercury's avatar will appear alongside yours on GitHub."]}),"\n",(0,s.jsxs)(i.p,{children:["You can customize the email in ",(0,s.jsx)(i.code,{children:"~/.mercury/.env"})," by setting ",(0,s.jsx)(i.code,{children:"GITHUB_EMAIL"})," if you prefer a different co-author address."]}),"\n",(0,s.jsx)(i.h3,{id:"3-github-pat-personal-access-token",children:"3. GitHub PAT (Personal Access Token)"}),"\n",(0,s.jsxs)(i.p,{children:["You need a token so Mercury can authenticate with the GitHub API. ",(0,s.jsx)(i.strong,{children:"Never share this token."})," It's stored locally in ",(0,s.jsx)(i.code,{children:"~/.mercury/.env"})," and never sent anywhere except GitHub's API."]}),"\n",(0,s.jsxs)(i.admonition,{title:"Where to create your token",type:"warning",children:[(0,s.jsx)(i.p,{children:(0,s.jsx)(i.strong,{children:"Fine-grained PAT (recommended):"})}),(0,s.jsxs)(i.ol,{children:["\n",(0,s.jsxs)(i.li,{children:["Go to ",(0,s.jsx)(i.a,{href:"https://github.com/settings/personal-access-tokens/new",children:"github.com/settings/personal-access-tokens/new"})]}),"\n",(0,s.jsxs)(i.li,{children:["Give it a name (e.g. ",(0,s.jsx)(i.code,{children:"mercury-agent"}),") and set an expiration"]}),"\n",(0,s.jsxs)(i.li,{children:["Under ",(0,s.jsx)(i.strong,{children:"Repository access"}),", select ",(0,s.jsx)(i.strong,{children:"All repositories"})," or choose specific repos"]}),"\n",(0,s.jsxs)(i.li,{children:["Under ",(0,s.jsx)(i.strong,{children:"Permissions \u2192 Repository permissions"}),", grant:","\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Contents"})," \u2014 Read and write"]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Pull requests"})," \u2014 Read and write"]}),"\n",(0,s.jsxs)(i.li,{children:[(0,s.jsx)(i.strong,{children:"Issues"})," \u2014 Read and write"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(i.li,{children:["Click ",(0,s.jsx)(i.strong,{children:"Generate token"})," and copy it immediately"]}),"\n"]}),(0,s.jsx)(i.p,{children:(0,s.jsx)(i.strong,{children:"Classic PAT:"})}),(0,s.jsxs)(i.ol,{children:["\n",(0,s.jsxs)(i.li,{children:["Go to ",(0,s.jsx)(i.a,{href:"https://github.com/settings/tokens/new",children:"github.com/settings/tokens/new"})]}),"\n",(0,s.jsxs)(i.li,{children:["Give it a name (e.g. ",(0,s.jsx)(i.code,{children:"mercury-agent"}),") and set an expiration"]}),"\n",(0,s.jsxs)(i.li,{children:["Select the ",(0,s.jsx)(i.strong,{children:"repo"})," scope (full control of private repositories)"]}),"\n",(0,s.jsxs)(i.li,{children:["Click ",(0,s.jsx)(i.strong,{children:"Generate token"})," and copy it immediately"]}),"\n"]})]}),"\n",(0,s.jsx)(i.h3,{id:"4-default-repo-optional",children:"4. Default repo (optional)"}),"\n",(0,s.jsxs)(i.p,{children:["Set a default repository so you can say ",(0,s.jsx)(i.code,{children:'"create an issue"'})," without specifying the repo every time. You can enter it in any of these formats:"]}),"\n",(0,s.jsx)(i.pre,{children:(0,s.jsx)(i.code,{children:"hotheadhacker/mercury-agent\nhttps://github.com/hotheadhacker/mercury-agent\n"})}),"\n",(0,s.jsx)(i.p,{children:"Mercury will parse the owner and repo name automatically from either format."}),"\n",(0,s.jsxs)(i.p,{children:["Press ",(0,s.jsx)(i.strong,{children:"Enter"})," on any field to keep its current value. When the PAT is set, you'll see:"]}),"\n",(0,s.jsx)(i.pre,{children:(0,s.jsx)(i.code,{children:"\u2713 GitHub tools registered (5)\n"})}),"\n",(0,s.jsx)(i.h2,{id:"github-tools",children:"GitHub Tools"}),"\n",(0,s.jsxs)(i.table,{children:[(0,s.jsx)(i.thead,{children:(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.th,{children:"Tool"}),(0,s.jsx)(i.th,{children:"What it does"})]})}),(0,s.jsxs)(i.tbody,{children:[(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"create_pr"})}),(0,s.jsx)(i.td,{children:"Create a pull request with title, body, head branch, and base branch"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"review_pr"})}),(0,s.jsx)(i.td,{children:"Fetch a PR diff, review the changes, and post review comments"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"list_issues"})}),(0,s.jsx)(i.td,{children:"List and filter issues in a repository (open, closed, by label, by assignee)"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"create_issue"})}),(0,s.jsx)(i.td,{children:"Create a new issue with title, body, labels, and assignees"})]}),(0,s.jsxs)(i.tr,{children:[(0,s.jsx)(i.td,{children:(0,s.jsx)(i.code,{children:"github_api"})}),(0,s.jsx)(i.td,{children:"Raw GitHub API access \u2014 an escape hatch for any endpoint not covered above"})]})]})]}),"\n",(0,s.jsx)(i.h2,{id:"co-authored-commits",children:"Co-Authored Commits"}),"\n",(0,s.jsxs)(i.p,{children:["When Mercury commits code using ",(0,s.jsx)(i.code,{children:"git_commit"}),", it automatically appends a ",(0,s.jsx)(i.code,{children:"Co-authored-by: Mercury <[email protected]>"})," trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history \u2014 giving credit where it's due."]}),"\n",(0,s.jsx)(i.h2,{id:"security",children:"Security"}),"\n",(0,s.jsx)(i.admonition,{title:"PAT storage",type:"warning",children:(0,s.jsxs)(i.p,{children:["Your GitHub PAT is stored in ",(0,s.jsx)(i.code,{children:"~/.mercury/mercury.yaml"})," alongside your other configuration. It is never sent to any external service \u2014 only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised."]})})]})}function h(e={}){let{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},8453(e,i,t){t.d(i,{R:()=>o,x:()=>a});var n=t(6540);let s={},r=n.createContext(s);function o(e){let i=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(r.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/47fe99a6.e85172ef.js b/docs/assets/js/47fe99a6.e85172ef.js
deleted file mode 100644
index a2a82615..00000000
--- a/docs/assets/js/47fe99a6.e85172ef.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["713"],{2361(e,n,t){t.r(n),t.d(n,{metadata:()=>i,default:()=>h,frontMatter:()=>o,contentTitle:()=>a,toc:()=>l,assets:()=>c});var i=JSON.parse('{"id":"integrations/github-companion","title":"GitHub Companion","description":"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury\'s built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","source":"@site/docs/integrations/github-companion.mdx","sourceDirName":"integrations","slug":"/integrations/github-companion","permalink":"/docs/integrations/github-companion","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/github-companion.mdx","tags":[],"version":"current","frontMatter":{"id":"github-companion","title":"GitHub Companion"},"sidebar":"docsSidebar","previous":{"title":"Platform-Specific Guide","permalink":"/docs/daemon-mode/platform-guide"},"next":{"title":"Telegram","permalink":"/docs/integrations/telegram"}}'),s=t(4848),r=t(8453);let o={id:"github-companion",title:"GitHub Companion"},a,c={},l=[{value:"Why set up GitHub?",id:"why-set-up-github",level:2},{value:"Setup",id:"setup",level:2},{value:"1. GitHub username",id:"1-github-username",level:3},{value:"2. Co-authored-by (automatic)",id:"2-co-authored-by-automatic",level:3},{value:"3. GitHub PAT (Personal Access Token)",id:"3-github-pat-personal-access-token",level:3},{value:"4. Default repo (optional)",id:"4-default-repo-optional",level:3},{value:"GitHub Tools",id:"github-tools",level:2},{value:"Co-Authored Commits",id:"co-authored-commits",level:2},{value:"Security",id:"security",level:2}];function d(e){let n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."}),"\n",(0,s.jsxs)(n.p,{children:[":::info Conditional availability\nGitHub tools ",(0,s.jsxs)(n.strong,{children:["only appear when ",(0,s.jsx)(n.code,{children:"GITHUB_TOKEN"})," is configured"]})," via ",(0,s.jsx)(n.code,{children:"mercury doctor"}),". Without a token, these tools are not registered and won't be available in conversation.\n:::"]}),"\n",(0,s.jsx)(n.h2,{id:"why-set-up-github",children:"Why set up GitHub?"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Co-authored commits"})," \u2014 Mercury's avatar appears alongside yours on every commit it helps with"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pull requests"}),' \u2014 "Create a PR for this change" and Mercury stages, commits, pushes, and opens the PR']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Issue management"}),' \u2014 "Check open issues" or "File a bug for the login crash"']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Code review"}),' \u2014 "Review PR #5" and Mercury reads the diff and posts a summary']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Full API access"})," \u2014 The ",(0,s.jsx)(n.code,{children:"github_api"})," tool lets Mercury hit any GitHub endpoint"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"setup",children:"Setup"}),"\n",(0,s.jsxs)(n.p,{children:["Run ",(0,s.jsx)(n.code,{children:"mercury doctor"})," and fill in the four GitHub fields:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,s.jsx)(n.h3,{id:"1-github-username",children:"1. GitHub username"}),"\n",(0,s.jsx)(n.p,{children:"Your GitHub username. This is used for commit attribution and identifying you in API calls."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"Example: hotheadhacker\n"})}),"\n",(0,s.jsx)(n.h3,{id:"2-co-authored-by-automatic",children:"2. Co-authored-by (automatic)"}),"\n",(0,s.jsxs)(n.p,{children:["Every Mercury-assisted commit automatically includes a ",(0,s.jsx)(n.code,{children:"Co-authored-by: Mercury <[email protected]>"})," trailer. No configuration needed \u2014 this is the default. Mercury's avatar will appear alongside yours on GitHub."]}),"\n",(0,s.jsxs)(n.p,{children:["You can customize the email in ",(0,s.jsx)(n.code,{children:"~/.mercury/.env"})," by setting ",(0,s.jsx)(n.code,{children:"GITHUB_EMAIL"})," if you prefer a different co-author address."]}),"\n",(0,s.jsx)(n.h3,{id:"3-github-pat-personal-access-token",children:"3. GitHub PAT (Personal Access Token)"}),"\n",(0,s.jsxs)(n.p,{children:["You need a token so Mercury can authenticate with the GitHub API. ",(0,s.jsx)(n.strong,{children:"Never share this token."})," It's stored locally in ",(0,s.jsx)(n.code,{children:"~/.mercury/.env"})," and never sent anywhere except GitHub's API."]}),"\n",(0,s.jsx)(n.p,{children:":::warning Where to create your token"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Fine-grained PAT (recommended):"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["Go to ",(0,s.jsx)(n.a,{href:"https://github.com/settings/personal-access-tokens/new",children:"github.com/settings/personal-access-tokens/new"})]}),"\n",(0,s.jsxs)(n.li,{children:["Give it a name (e.g. ",(0,s.jsx)(n.code,{children:"mercury-agent"}),") and set an expiration"]}),"\n",(0,s.jsxs)(n.li,{children:["Under ",(0,s.jsx)(n.strong,{children:"Repository access"}),", select ",(0,s.jsx)(n.strong,{children:"All repositories"})," or choose specific repos"]}),"\n",(0,s.jsxs)(n.li,{children:["Under ",(0,s.jsx)(n.strong,{children:"Permissions \u2192 Repository permissions"}),", grant:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Contents"})," \u2014 Read and write"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pull requests"})," \u2014 Read and write"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Issues"})," \u2014 Read and write"]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["Click ",(0,s.jsx)(n.strong,{children:"Generate token"})," and copy it immediately"]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Classic PAT:"})}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["Go to ",(0,s.jsx)(n.a,{href:"https://github.com/settings/tokens/new",children:"github.com/settings/tokens/new"})]}),"\n",(0,s.jsxs)(n.li,{children:["Give it a name (e.g. ",(0,s.jsx)(n.code,{children:"mercury-agent"}),") and set an expiration"]}),"\n",(0,s.jsxs)(n.li,{children:["Select the ",(0,s.jsx)(n.strong,{children:"repo"})," scope (full control of private repositories)"]}),"\n",(0,s.jsxs)(n.li,{children:["Click ",(0,s.jsx)(n.strong,{children:"Generate token"})," and copy it immediately\n:::"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"4-default-repo-optional",children:"4. Default repo (optional)"}),"\n",(0,s.jsxs)(n.p,{children:["Set a default repository so you can say ",(0,s.jsx)(n.code,{children:'"create an issue"'})," without specifying the repo every time. You can enter it in any of these formats:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"hotheadhacker/mercury-agent\nhttps://github.com/hotheadhacker/mercury-agent\n"})}),"\n",(0,s.jsx)(n.p,{children:"Mercury will parse the owner and repo name automatically from either format."}),"\n",(0,s.jsxs)(n.p,{children:["Press ",(0,s.jsx)(n.strong,{children:"Enter"})," on any field to keep its current value. When the PAT is set, you'll see:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"\u2713 GitHub tools registered (5)\n"})}),"\n",(0,s.jsx)(n.h2,{id:"github-tools",children:"GitHub Tools"}),"\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.th,{children:"Tool"}),(0,s.jsx)(n.th,{children:"What it does"})]})}),(0,s.jsxs)(n.tbody,{children:[(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"create_pr"})}),(0,s.jsx)(n.td,{children:"Create a pull request with title, body, head branch, and base branch"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"review_pr"})}),(0,s.jsx)(n.td,{children:"Fetch a PR diff, review the changes, and post review comments"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"list_issues"})}),(0,s.jsx)(n.td,{children:"List and filter issues in a repository (open, closed, by label, by assignee)"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"create_issue"})}),(0,s.jsx)(n.td,{children:"Create a new issue with title, body, labels, and assignees"})]}),(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"github_api"})}),(0,s.jsx)(n.td,{children:"Raw GitHub API access \u2014 an escape hatch for any endpoint not covered above"})]})]})]}),"\n",(0,s.jsx)(n.h2,{id:"co-authored-commits",children:"Co-Authored Commits"}),"\n",(0,s.jsxs)(n.p,{children:["When Mercury commits code using ",(0,s.jsx)(n.code,{children:"git_commit"}),", it automatically appends a ",(0,s.jsx)(n.code,{children:"Co-authored-by: Mercury <[email protected]>"})," trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history \u2014 giving credit where it's due."]}),"\n",(0,s.jsx)(n.h2,{id:"security",children:"Security"}),"\n",(0,s.jsxs)(n.p,{children:[":::warning PAT storage\nYour GitHub PAT is stored in ",(0,s.jsx)(n.code,{children:"~/.mercury/mercury.yaml"})," alongside your other configuration. It is never sent to any external service \u2014 only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised.\n:::"]})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},8453(e,n,t){t.d(n,{R:()=>o,x:()=>a});var i=t(6540);let s={},r=i.createContext(s);function o(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/498.fd931887.js b/docs/assets/js/498.58db3686.js
similarity index 75%
rename from docs/assets/js/498.fd931887.js
rename to docs/assets/js/498.58db3686.js
index 16b6dd89..224a3361 100644
--- a/docs/assets/js/498.fd931887.js
+++ b/docs/assets/js/498.58db3686.js
@@ -1 +1 @@
-(()=>{"use strict";var e,r,t,s,n,o={6897(e,r,t){t.d(r,{BH:()=>n,IH:()=>o,sx:()=>s});let s=[],n=["en"],o="search-index{dir}.json?_=822649f6"}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.m=o,a.x=()=>{var e=a.O(void 0,["852"],()=>a(5655));return a.O(e)},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((r,t)=>(a.f[t](e,r),r),[])),a.u=e=>"assets/js/"+e+".c553d3d5.js",a.miniCssF=e=>""+e+".css",a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=[],a.O=(r,t,s,n)=>{if(t){n=n||0;for(var o=e.length;o>0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[t,s,n];return}for(var i=1/0,o=0;o<e.length;o++){for(var t=e[o][0],s=e[o][1],n=e[o][2],u=!0,p=0;p<t.length;p++)(!1&n||i>=n)&&Object.keys(a.O).every(e=>a.O[e](t[p]))?t.splice(p--,1):(u=!1,n<i&&(i=n));if(u){e.splice(o--,1);var f=s();void 0!==f&&(r=f)}}return r},a.p="/",a.rv=()=>"1.7.11",r=a.x,a.x=()=>a.e("852").then(r),a.gca=function(e){return e=({})[e]||e,a.p+a.u(e)},t={498:1},a.f.i=(e,r)=>{t[e]||importScripts(a.p+a.u(e))},n=(s=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push.bind(s),s.push=e=>{var r=e[0],s=e[1],o=e[2];for(var i in s)a.o(s,i)&&(a.m[i]=s[i]);for(o&&o(a);r.length;)t[r.pop()]=1;n(e)},a.ruid="[email protected]",a.x()})();
\ No newline at end of file
+(()=>{"use strict";var e,r,t,s,n,o={6897(e,r,t){t.d(r,{BH:()=>n,IH:()=>o,sx:()=>s});let s=[],n=["en"],o="search-index{dir}.json?_=ab7c2ecb"}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.m=o,a.x=()=>{var e=a.O(void 0,["852"],()=>a(5655));return a.O(e)},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((r,t)=>(a.f[t](e,r),r),[])),a.u=e=>"assets/js/"+e+".c553d3d5.js",a.miniCssF=e=>""+e+".css",a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=[],a.O=(r,t,s,n)=>{if(t){n=n||0;for(var o=e.length;o>0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[t,s,n];return}for(var i=1/0,o=0;o<e.length;o++){for(var t=e[o][0],s=e[o][1],n=e[o][2],u=!0,c=0;c<t.length;c++)(!1&n||i>=n)&&Object.keys(a.O).every(e=>a.O[e](t[c]))?t.splice(c--,1):(u=!1,n<i&&(i=n));if(u){e.splice(o--,1);var p=s();void 0!==p&&(r=p)}}return r},a.p="/",a.rv=()=>"1.7.11",r=a.x,a.x=()=>a.e("852").then(r),a.gca=function(e){return e=({})[e]||e,a.p+a.u(e)},t={498:1},a.f.i=(e,r)=>{t[e]||importScripts(a.p+a.u(e))},n=(s=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push.bind(s),s.push=e=>{var r=e[0],s=e[1],o=e[2];for(var i in s)a.o(s,i)&&(a.m[i]=s[i]);for(o&&o(a);r.length;)t[r.pop()]=1;n(e)},a.ruid="[email protected]",a.x()})();
\ No newline at end of file
diff --git a/docs/assets/js/4df8d22c.b1a4021a.js b/docs/assets/js/4df8d22c.b1a4021a.js
new file mode 100644
index 00000000..dd4aa1fb
--- /dev/null
+++ b/docs/assets/js/4df8d22c.b1a4021a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["523"],{1646(e,s,n){n.r(s),n.d(s,{metadata:()=>r,default:()=>h,frontMatter:()=>d,contentTitle:()=>o,toc:()=>c,assets:()=>i});var r=JSON.parse('{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","source":"@site/docs/daemon-mode/background-mode.mdx","sourceDirName":"daemon-mode","slug":"/daemon-mode/daemon-mode","permalink":"/docs/daemon-mode/daemon-mode","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx","tags":[],"version":"current","frontMatter":{"id":"daemon-mode","title":"Daemon Mode"},"sidebar":"docsSidebar","previous":{"title":"In-Chat Commands","permalink":"/docs/cli-commands/in-chat-commands"},"next":{"title":"System Service (Auto-Start on Boot)","permalink":"/docs/daemon-mode/system-service"}}'),a=n(4848),t=n(8453);let d={id:"daemon-mode",title:"Daemon Mode"},o,i={},c=[{value:"Start",id:"start",level:2},{value:"Start in foreground",id:"start-in-foreground",level:2},{value:"The easy way: mercury up",id:"the-easy-way-mercury-up",level:2},{value:"Stop",id:"stop",level:2},{value:"Restart",id:"restart",level:2},{value:"View logs",id:"view-logs",level:2},{value:"Check status",id:"check-status",level:2},{value:"Background Tasks and Workers",id:"background-tasks-and-workers",level:2},{value:"Task IDs",id:"task-ids",level:3},{value:"Shell background tasks",id:"shell-background-tasks",level:3},{value:"Sub-agent workers",id:"sub-agent-workers",level:3},{value:"Persistence",id:"persistence",level:3}];function l(e){let s={admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.p,{children:"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."}),"\n",(0,a.jsx)(s.h2,{id:"start",children:"Start"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,a.jsxs)(s.p,{children:["Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ",(0,a.jsx)(s.code,{children:"~/.mercury/daemon.pid"}),", and redirects output to ",(0,a.jsx)(s.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are automatically cleaned up."]}),"\n",(0,a.jsx)(s.h2,{id:"start-in-foreground",children:"Start in foreground"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,a.jsxs)(s.p,{children:["Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: ",(0,a.jsx)(s.code,{children:"mercury start -f"}),"."]}),"\n",(0,a.jsx)(s.h2,{id:"the-easy-way-mercury-up",children:"The easy way: mercury up"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,a.jsx)(s.p,{children:"This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID."}),"\n",(0,a.jsx)(s.h2,{id:"stop",children:"Stop"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,a.jsxs)(s.p,{children:["Sends ",(0,a.jsx)(s.code,{children:"SIGTERM"})," (",(0,a.jsx)(s.code,{children:"process.kill"})," on Windows) to the background process and removes the PID file."]}),"\n",(0,a.jsx)(s.h2,{id:"restart",children:"Restart"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury restart\n"})}),"\n",(0,a.jsx)(s.p,{children:"Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart."}),"\n",(0,a.jsx)(s.h2,{id:"view-logs",children:"View logs"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury logs\n"})}),"\n",(0,a.jsxs)(s.p,{children:["Shows the last 100 lines of ",(0,a.jsx)(s.code,{children:"~/.mercury/daemon.log"}),"."]}),"\n",(0,a.jsx)(s.h2,{id:"check-status",children:"Check status"}),"\n",(0,a.jsx)(s.pre,{children:(0,a.jsx)(s.code,{className:"language-bash",children:"mercury status\n"})}),"\n",(0,a.jsx)(s.p,{children:"Shows whether the daemon is running, its PID, and the log file path."}),"\n",(0,a.jsx)(s.admonition,{title:"Crash recovery",type:"info",children:(0,a.jsx)(s.p,{children:'Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.'})}),"\n",(0,a.jsx)(s.h2,{id:"background-tasks-and-workers",children:"Background Tasks and Workers"}),"\n",(0,a.jsx)(s.p,{children:"Daemon mode supports async background execution for both shell commands and delegated sub-agent work."}),"\n",(0,a.jsx)(s.h3,{id:"task-ids",children:"Task IDs"}),"\n",(0,a.jsxs)(s.p,{children:["Background tasks use human-friendly IDs like ",(0,a.jsx)(s.code,{children:"swift-fox"}),", ",(0,a.jsx)(s.code,{children:"calm-owl"}),", or ",(0,a.jsx)(s.code,{children:"bright-heron"})," instead of opaque timestamps. There are 2,304 unique combinations (48 adjectives \xd7 48 nouns). If a collision occurs, a numeric suffix is appended."]}),"\n",(0,a.jsx)(s.h3,{id:"shell-background-tasks",children:"Shell background tasks"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:["Start with ",(0,a.jsx)(s.code,{children:"/bg <command>"})]}),"\n",(0,a.jsxs)(s.li,{children:["Inspect with ",(0,a.jsx)(s.code,{children:"/bg list"})," and ",(0,a.jsx)(s.code,{children:"/bg <id>"})]}),"\n",(0,a.jsxs)(s.li,{children:["Cancel with ",(0,a.jsx)(s.code,{children:"/bg cancel <id>"})," (or ",(0,a.jsx)(s.code,{children:"/bg stop <id>"}),", ",(0,a.jsx)(s.code,{children:"/bg kill <id>"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Cancel all running tasks with ",(0,a.jsx)(s.code,{children:"/bg killall"})," (or ",(0,a.jsx)(s.code,{children:"/bg stopall"}),")"]}),"\n"]}),"\n",(0,a.jsx)(s.h3,{id:"sub-agent-workers",children:"Sub-agent workers"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:["Delegate coding with ",(0,a.jsx)(s.code,{children:"/code agent <task>"})," or ",(0,a.jsx)(s.code,{children:"/bg: <task>"})]}),"\n",(0,a.jsxs)(s.li,{children:["Move active task to worker with ",(0,a.jsx)(s.code,{children:"/bg current"})]}),"\n",(0,a.jsxs)(s.li,{children:["Worker progress/completion is surfaced in the shared background task board (",(0,a.jsx)(s.code,{children:"/bg list"}),")"]}),"\n"]}),"\n",(0,a.jsx)(s.h3,{id:"persistence",children:"Persistence"}),"\n",(0,a.jsx)(s.p,{children:"Background tasks are persisted to disk and survive daemon restarts. Running tasks that were interrupted by a restart are marked as failed."}),"\n",(0,a.jsx)(s.p,{children:"These workers are designed to keep Mercury responsive while long-running work continues."})]})}function h(e={}){let{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},8453(e,s,n){n.d(s,{R:()=>d,x:()=>o});var r=n(6540);let a={},t=r.createContext(a);function d(e){let s=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:d(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4df8d22c.bb68aa6c.js b/docs/assets/js/4df8d22c.bb68aa6c.js
deleted file mode 100644
index 403403d9..00000000
--- a/docs/assets/js/4df8d22c.bb68aa6c.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["523"],{1646(e,n,s){s.r(n),s.d(n,{metadata:()=>r,default:()=>h,frontMatter:()=>d,contentTitle:()=>o,toc:()=>l,assets:()=>c});var r=JSON.parse('{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","source":"@site/docs/daemon-mode/background-mode.mdx","sourceDirName":"daemon-mode","slug":"/daemon-mode/daemon-mode","permalink":"/docs/daemon-mode/daemon-mode","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx","tags":[],"version":"current","frontMatter":{"id":"daemon-mode","title":"Daemon Mode"},"sidebar":"docsSidebar","previous":{"title":"In-Chat Commands","permalink":"/docs/cli-commands/in-chat-commands"},"next":{"title":"System Service (Auto-Start on Boot)","permalink":"/docs/daemon-mode/system-service"}}'),a=s(4848),t=s(8453);let d={id:"daemon-mode",title:"Daemon Mode"},o,c={},l=[{value:"Start",id:"start",level:2},{value:"Start in foreground",id:"start-in-foreground",level:2},{value:"The easy way: mercury up",id:"the-easy-way-mercury-up",level:2},{value:"Stop",id:"stop",level:2},{value:"Restart",id:"restart",level:2},{value:"View logs",id:"view-logs",level:2},{value:"Check status",id:"check-status",level:2},{value:"Background Tasks and Workers",id:"background-tasks-and-workers",level:2},{value:"Shell background tasks",id:"shell-background-tasks",level:3},{value:"Sub-agent workers",id:"sub-agent-workers",level:3}];function i(e){let n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."}),"\n",(0,a.jsx)(n.h2,{id:"start",children:"Start"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ",(0,a.jsx)(n.code,{children:"~/.mercury/daemon.pid"}),", and redirects output to ",(0,a.jsx)(n.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are automatically cleaned up."]}),"\n",(0,a.jsx)(n.h2,{id:"start-in-foreground",children:"Start in foreground"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: ",(0,a.jsx)(n.code,{children:"mercury start -f"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"the-easy-way-mercury-up",children:"The easy way: mercury up"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,a.jsx)(n.p,{children:"This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID."}),"\n",(0,a.jsx)(n.h2,{id:"stop",children:"Stop"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Sends ",(0,a.jsx)(n.code,{children:"SIGTERM"})," (",(0,a.jsx)(n.code,{children:"process.kill"})," on Windows) to the background process and removes the PID file."]}),"\n",(0,a.jsx)(n.h2,{id:"restart",children:"Restart"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury restart\n"})}),"\n",(0,a.jsx)(n.p,{children:"Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart."}),"\n",(0,a.jsx)(n.h2,{id:"view-logs",children:"View logs"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury logs\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Shows the last 100 lines of ",(0,a.jsx)(n.code,{children:"~/.mercury/daemon.log"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"check-status",children:"Check status"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury status\n"})}),"\n",(0,a.jsx)(n.p,{children:"Shows whether the daemon is running, its PID, and the log file path."}),"\n",(0,a.jsx)(n.p,{children:':::info Crash recovery\nBackground mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.\n:::'}),"\n",(0,a.jsx)(n.h2,{id:"background-tasks-and-workers",children:"Background Tasks and Workers"}),"\n",(0,a.jsx)(n.p,{children:"Daemon mode supports async background execution for both shell commands and delegated sub-agent work."}),"\n",(0,a.jsx)(n.h3,{id:"shell-background-tasks",children:"Shell background tasks"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["Start with ",(0,a.jsx)(n.code,{children:"/bg <command>"})]}),"\n",(0,a.jsxs)(n.li,{children:["Inspect with ",(0,a.jsx)(n.code,{children:"/bg list"})," and ",(0,a.jsx)(n.code,{children:"/bg <id>"})]}),"\n",(0,a.jsxs)(n.li,{children:["Cancel with ",(0,a.jsx)(n.code,{children:"/bg cancel <id>"})]}),"\n"]}),"\n",(0,a.jsx)(n.h3,{id:"sub-agent-workers",children:"Sub-agent workers"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["Delegate coding with ",(0,a.jsx)(n.code,{children:"/code agent <task>"})," or ",(0,a.jsx)(n.code,{children:"/bg: <task>"})]}),"\n",(0,a.jsxs)(n.li,{children:["Move active task to worker with ",(0,a.jsx)(n.code,{children:"/bg current"})]}),"\n",(0,a.jsxs)(n.li,{children:["Worker progress/completion is surfaced in the shared background task board (",(0,a.jsx)(n.code,{children:"/bg list"}),")"]}),"\n"]}),"\n",(0,a.jsx)(n.p,{children:"These workers are designed to keep Mercury responsive while long-running work continues."})]})}function h(e={}){let{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(i,{...e})}):i(e)}},8453(e,n,s){s.d(n,{R:()=>d,x:()=>o});var r=s(6540);let a={},t=r.createContext(a);function d(e){let n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:d(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6459b84b.0253a2d0.js b/docs/assets/js/6459b84b.0253a2d0.js
deleted file mode 100644
index 294f4fb1..00000000
--- a/docs/assets/js/6459b84b.0253a2d0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["336"],{6198(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>u,frontMatter:()=>l,contentTitle:()=>a,toc:()=>o,assets:()=>c});var s=JSON.parse('{"id":"getting-started/installation","title":"Installation","description":"Mercury requires Node.js 20+. Install with npm:","source":"@site/docs/getting-started/installation.mdx","sourceDirName":"getting-started","slug":"/","permalink":"/docs/","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/installation.mdx","tags":[],"version":"current","frontMatter":{"id":"installation","title":"Installation","slug":"/"},"sidebar":"docsSidebar","next":{"title":"First-Time Setup","permalink":"/docs/getting-started/setup"}}'),r=t(4848),i=t(8453);let l={id:"installation",title:"Installation",slug:"/"},a,c={},o=[{value:"Upgrade",id:"upgrade",level:2}];function d(e){let n={code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:["Mercury requires ",(0,r.jsx)(n.strong,{children:"Node.js 20+"}),". Install with npm:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm i -g @cosmicstack/mercury-agent\n"})}),"\n",(0,r.jsx)(n.p,{children:"Or run without installing:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npx @cosmicstack/mercury-agent\n"})}),"\n",(0,r.jsx)(n.h2,{id:"upgrade",children:"Upgrade"}),"\n",(0,r.jsx)(n.p,{children:"Mercury includes a built-in upgrade command that handles the full update cycle:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"mercury upgrade\n"})}),"\n",(0,r.jsx)(n.p,{children:"This command:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Checks npm"})," for the latest published version"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Stops the daemon"})," if running, to avoid conflicts"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Removes the old package"})," first to prevent ",(0,r.jsx)(n.code,{children:"ENOTEMPTY"})," errors"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Installs"})," the latest version globally"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Shows"})," the before/after version comparison"]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:[":::tip ENOTEMPTY fix\nIf you see ",(0,r.jsx)(n.code,{children:"ENOTEMPTY: directory not empty, rename"})," when running ",(0,r.jsx)(n.code,{children:"npm i -g"})," manually, use ",(0,r.jsx)(n.code,{children:"mercury upgrade"})," instead \u2014 it removes the old package directory before installing the new one.\n:::"]})]})}function u(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453(e,n,t){t.d(n,{R:()=>l,x:()=>a});var s=t(6540);let r={},i=s.createContext(r);function l(e){let n=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6459b84b.db2867ac.js b/docs/assets/js/6459b84b.db2867ac.js
new file mode 100644
index 00000000..97f5e8f2
--- /dev/null
+++ b/docs/assets/js/6459b84b.db2867ac.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["336"],{6198(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>u,frontMatter:()=>l,contentTitle:()=>a,toc:()=>c,assets:()=>o});var s=JSON.parse('{"id":"getting-started/installation","title":"Installation","description":"Mercury requires Node.js 20+. Install with npm:","source":"@site/docs/getting-started/installation.mdx","sourceDirName":"getting-started","slug":"/","permalink":"/docs/","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/installation.mdx","tags":[],"version":"current","frontMatter":{"id":"installation","title":"Installation","slug":"/"},"sidebar":"docsSidebar","next":{"title":"First-Time Setup","permalink":"/docs/getting-started/setup"}}'),r=t(4848),i=t(8453);let l={id:"installation",title:"Installation",slug:"/"},a,o={},c=[{value:"Upgrade",id:"upgrade",level:2}];function d(e){let n={admonition:"admonition",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:["Mercury requires ",(0,r.jsx)(n.strong,{children:"Node.js 20+"}),". Install with npm:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm i -g @cosmicstack/mercury-agent\n"})}),"\n",(0,r.jsx)(n.p,{children:"Or run without installing:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npx @cosmicstack/mercury-agent\n"})}),"\n",(0,r.jsx)(n.h2,{id:"upgrade",children:"Upgrade"}),"\n",(0,r.jsx)(n.p,{children:"Mercury includes a built-in upgrade command that handles the full update cycle:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"mercury upgrade\n"})}),"\n",(0,r.jsx)(n.p,{children:"This command:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Checks npm"})," for the latest published version"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Stops the daemon"})," if running, to avoid conflicts"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Removes the old package"})," first to prevent ",(0,r.jsx)(n.code,{children:"ENOTEMPTY"})," errors"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Installs"})," the latest version globally"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Shows"})," the before/after version comparison"]}),"\n"]}),"\n",(0,r.jsx)(n.admonition,{title:"ENOTEMPTY fix",type:"tip",children:(0,r.jsxs)(n.p,{children:["If you see ",(0,r.jsx)(n.code,{children:"ENOTEMPTY: directory not empty, rename"})," when running ",(0,r.jsx)(n.code,{children:"npm i -g"})," manually, use ",(0,r.jsx)(n.code,{children:"mercury upgrade"})," instead \u2014 it removes the old package directory before installing the new one."]})})]})}function u(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453(e,n,t){t.d(n,{R:()=>l,x:()=>a});var s=t(6540);let r={},i=s.createContext(r);function l(e){let n=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a06fff0d.3aa970a1.js b/docs/assets/js/a06fff0d.3aa970a1.js
new file mode 100644
index 00000000..757bfa5d
--- /dev/null
+++ b/docs/assets/js/a06fff0d.3aa970a1.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["225"],{8019(e,n,s){s.r(n),s.d(n,{metadata:()=>t,default:()=>h,frontMatter:()=>d,contentTitle:()=>l,toc:()=>a,assets:()=>c});var t=JSON.parse('{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","source":"@site/docs/integrations/sub-agents.mdx","sourceDirName":"integrations","slug":"/integrations/sub-agents","permalink":"/docs/integrations/sub-agents","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/sub-agents.mdx","tags":[],"version":"current","frontMatter":{"id":"sub-agents","title":"Sub-Agents (Multi-Agent Mode)"},"sidebar":"docsSidebar","previous":{"title":"Coding Workspace (IDE Mode)","permalink":"/docs/integrations/coding-workspace"},"next":{"title":"Built-in Tools","permalink":"/docs/reference/built-in-tools"}}'),r=s(4848),i=s(8453);let d={id:"sub-agents",title:"Sub-Agents (Multi-Agent Mode)"},l,c={},a=[{value:"Why Sub-Agents Matter",id:"why-sub-agents-matter",level:2},{value:"How It Works",id:"how-it-works",level:2},{value:"Commands",id:"commands",level:2},{value:"Delegation Tools",id:"delegation-tools",level:2},{value:"Architecture",id:"architecture",level:2},{value:"When Mercury Uses Sub-Agents",id:"when-mercury-uses-sub-agents",level:2},{value:"What Happens While Agents Work",id:"what-happens-while-agents-work",level:2},{value:"Configuration",id:"configuration",level:2},{value:"Programming Mode",id:"programming-mode",level:2},{value:"Programming Mode + Sub-Agents",id:"programming-mode--sub-agents",level:2}];function o(e){let n={admonition:"admonition",code:"code",h2:"h2",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:["Mercury isn't just a chatbot \u2014 it's an ",(0,r.jsx)(n.strong,{children:"orchestrator"}),". It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."]}),"\n",(0,r.jsx)(n.h2,{id:"why-sub-agents-matter",children:"Why Sub-Agents Matter"}),"\n",(0,r.jsx)(n.p,{children:'Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to "research this topic, write the code, and review the result," it does them sequentially \u2014 each step blocks the next.'}),"\n",(0,r.jsx)(n.p,{children:"Sub-agents break this bottleneck:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Parallel execution"})," \u2014 Multiple tasks run simultaneously across isolated context windows"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"LLM-driven delegation"})," \u2014 Mercury itself decides when to delegate based on task complexity"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Non-blocking"})," \u2014 You can keep chatting with Mercury while sub-agents work in the background"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"File locks"})," \u2014 Reader-writer locks prevent concurrent write conflicts between agents"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Resource-aware"})," \u2014 Max concurrent agents is auto-detected from your system's CPU and RAM"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"how-it-works",children:"How It Works"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'You: "Build a REST API for users and write integration tests"\n\nMercury decides to delegate:\n \u{1F916} Multi-agent mode activated.\n **Agent a1** is now working on: "Build REST API endpoints for users"\n **Agent a2** is now working on: "Write integration tests for user endpoints"\n Active agents: 2/4\n\n You can continue chatting while the agents work.\n Use /agents to check status.\n\nMercury: I\'ve delegated both tasks to parallel agents. Agent a1 is building the API\n and agent a2 is writing tests. They\'ll work independently.\n\n (you continue chatting normally)\n\n \u{1F504} Agent a1: Using: read_file, create_file\n \u{1F504} Agent a2: Using: list_dir, read_file\n\n \u2705 **Agent a1** completed (12.3s): "REST API built with 5 endpoints"\n \u2705 **Agent a2** completed (18.7s): "12 integration tests passing"\n\n Both agents are done. Want me to review the results together?\n'})}),"\n",(0,r.jsx)(n.h2,{id:"commands",children:"Commands"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Command"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents"})}),(0,r.jsx)(n.td,{children:"List all sub-agents (running and completed)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents stop <id|all>"})}),(0,r.jsx)(n.td,{children:"Stop a sub-agent or all sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents pause <id>"})}),(0,r.jsx)(n.td,{children:"Pause a running sub-agent"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents resume <id>"})}),(0,r.jsx)(n.td,{children:"Resume a paused sub-agent"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents config"})}),(0,r.jsx)(n.td,{children:"Show sub-agent resource allocation (max concurrent, mode)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents set max <n>"})}),(0,r.jsx)(n.td,{children:"Set max concurrent sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code agent <task>"})}),(0,r.jsx)(n.td,{children:"Delegate a coding task to a sub-agent immediately"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg: <task>"})}),(0,r.jsx)(n.td,{children:"Run a natural-language sub-agent task in background"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg current"})}),(0,r.jsx)(n.td,{children:"Move current in-flight task to a background sub-agent"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg list"})}),(0,r.jsx)(n.td,{children:"List shell + sub-agent background tasks"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/halt"})}),(0,r.jsx)(n.td,{children:"Emergency: halt all sub-agents and clear the task queue"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/stop"})}),(0,r.jsx)(n.td,{children:"Full stop: halt agents, clear queue, release file locks, clear task board"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/reset"})}),(0,r.jsx)(n.td,{children:"Full reset: stop all + clear conversation context (requires confirmation)"})]})]})]}),"\n",(0,r.jsxs)(n.admonition,{type:"tip",children:[(0,r.jsxs)(n.mdxAdmonitionTitle,{children:[(0,r.jsx)(n.code,{children:"/halt"})," vs ",(0,r.jsx)(n.code,{children:"/stop"})," vs ",(0,r.jsx)(n.code,{children:"/reset"})]}),(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"/halt"})})," stops all agents but preserves conversation context and file locks. ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"/stop"})})," goes further \u2014 it also releases file locks and clears the task board. ",(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.code,{children:"/reset"})})," does everything ",(0,r.jsx)(n.code,{children:"/stop"})," does plus clears the conversation context (requires confirmation)."]})]}),"\n",(0,r.jsxs)(n.p,{children:["Slash commands like ",(0,r.jsx)(n.code,{children:"/agents"}),", ",(0,r.jsx)(n.code,{children:"/halt"}),", ",(0,r.jsx)(n.code,{children:"/stop"}),", ",(0,r.jsx)(n.code,{children:"/spotify"}),", and ",(0,r.jsx)(n.code,{children:"/code"})," work ",(0,r.jsx)(n.strong,{children:"even while the main agent is busy"})," \u2014 they're processed immediately on a fast path."]}),"\n",(0,r.jsx)(n.h2,{id:"delegation-tools",children:"Delegation Tools"}),"\n",(0,r.jsx)(n.p,{children:"Mercury uses these tools to manage sub-agents:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Tool"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"delegate_task"})}),(0,r.jsx)(n.td,{children:"Spawn a sub-agent with a task description and optional context"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"list_agents"})}),(0,r.jsx)(n.td,{children:"Show all running and completed sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"stop_agent"})}),(0,r.jsx)(n.td,{children:"Halt a specific running sub-agent by ID"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["When Mercury decides a task is complex enough to benefit from parallel execution, it calls ",(0,r.jsx)(n.code,{children:"delegate_task"}),". You'll see a response like:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\u{1F916} Multi-agent mode activated.\n\n**Agent a1** is now working on: \"Analyze the codebase structure for...\"\nActive agents: 1/4\n\nYou can continue chatting while the agent works. I'll notify you when it's done.\nUse /agents to check status.\n"})}),"\n",(0,r.jsx)(n.h2,{id:"architecture",children:"Architecture"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'User message \u2192 Main Agent (orchestrator)\n \u251C\u2500 delegate_task("research X") \u2192 Sub-Agent a1 (isolated context)\n \u251C\u2500 delegate_task("implement Y") \u2192 Sub-Agent a2 (isolated context)\n \u2514\u2500 continues conversation \u2192 responds to user\n \u2502\n a1: "\u{1F504} Using: read_file"\n a1: "\u{1F504} Using: edit_file"\n a2: "\u{1F504} Using: list_dir"\n a1: "\u2705 completed (8.2s)"\n a2: "\u{1F504} Using: create_file"\n a2: "\u2705 completed (15.1s)"\n'})}),"\n",(0,r.jsx)(n.p,{children:"Each sub-agent:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Has its ",(0,r.jsx)(n.strong,{children:"own context window"})," \u2014 the main agent's conversation doesn't pollute it"]}),"\n",(0,r.jsxs)(n.li,{children:["Runs an independent ",(0,r.jsx)(n.strong,{children:"10-step agentic loop"})," with the same tool access"]}),"\n",(0,r.jsxs)(n.li,{children:["Uses the ",(0,r.jsx)(n.strong,{children:"same permission system"})," \u2014 but with auto-approve for the task's scope"]}),"\n",(0,r.jsxs)(n.li,{children:["Reports progress via the ",(0,r.jsx)(n.strong,{children:"notification channel"})," (CLI or Telegram)"]}),"\n",(0,r.jsxs)(n.li,{children:["Respects ",(0,r.jsx)(n.strong,{children:"file locks"})," \u2014 if a1 is writing a file, a2 waits for the lock"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"when-mercury-uses-sub-agents",children:"When Mercury Uses Sub-Agents"}),"\n",(0,r.jsx)(n.p,{children:"Mercury decides to delegate when:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["A task is ",(0,r.jsx)(n.strong,{children:"naturally parallelizable"}),' (e.g., "research X while I code Y")']}),"\n",(0,r.jsxs)(n.li,{children:["The task benefits from an ",(0,r.jsx)(n.strong,{children:"isolated context window"})," (no pollution from the main conversation)"]}),"\n",(0,r.jsxs)(n.li,{children:["A task is ",(0,r.jsx)(n.strong,{children:"complex enough"})," to warrant dedicated focus"]}),"\n",(0,r.jsxs)(n.li,{children:["Multiple ",(0,r.jsx)(n.strong,{children:"independent investigations"})," would save time"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:'You can also ask Mercury explicitly: "Use two agents for this" or "Delegate this task."'}),"\n",(0,r.jsx)(n.h2,{id:"what-happens-while-agents-work",children:"What Happens While Agents Work"}),"\n",(0,r.jsx)(n.p,{children:"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'\u{1F504} Agent a1: Starting task...\n\u{1F504} Agent a1: Using: read_file, edit_file\n\u{1F504} Agent a2: Using: fetch_url, create_file\n\u2705 Agent a1 completed (8.2s): "Analyzed the codebase..."\n\u{1F504} Agent a2: Using: run_command\n\u2705 Agent a2 completed (14.5s): "Tests passing..."\n'})}),"\n",(0,r.jsxs)(n.p,{children:["If you send ",(0,r.jsx)(n.code,{children:"/agents"}),", you'll see the full status:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"**Sub-Agents:**\n\n\u{1F504} a1: Build REST API endpoints \u2014 running (Using: read_file)\n\u23F3 a2: Write integration tests \u2014 pending\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Background-tracked agent tasks also appear in ",(0,r.jsx)(n.code,{children:"/bg list"})," so shell jobs and delegated coding work share one progress surface."]}),"\n",(0,r.jsx)(n.h2,{id:"configuration",children:"Configuration"}),"\n",(0,r.jsxs)(n.p,{children:["Sub-agents are configured in ",(0,r.jsx)(n.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:'subagents:\n enabled: true\n maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4)\n mode: auto # "auto" (LLM decides) or "manual" (user controls)\n'})}),"\n",(0,r.jsx)(n.p,{children:"Environment variable overrides:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Variable"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_ENABLED"})}),(0,r.jsx)(n.td,{children:"Enable/disable sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_MAX_CONCURRENT"})}),(0,r.jsx)(n.td,{children:"Max number of concurrent agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_MODE"})}),(0,r.jsxs)(n.td,{children:[(0,r.jsx)(n.code,{children:"auto"})," or ",(0,r.jsx)(n.code,{children:"manual"})]})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"programming-mode",children:"Programming Mode"}),"\n",(0,r.jsx)(n.p,{children:"Sub-agents pair well with Mercury's programming mode for code tasks:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Command"}),(0,r.jsx)(n.th,{children:"Mode"}),(0,r.jsx)(n.th,{children:"Behavior"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code plan"})}),(0,r.jsx)(n.td,{children:"Plan"}),(0,r.jsx)(n.td,{children:"Analyze without writing code"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code execute"})}),(0,r.jsx)(n.td,{children:"Execute"}),(0,r.jsx)(n.td,{children:"Implement step by step"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code off"})}),(0,r.jsx)(n.td,{children:"Off"}),(0,r.jsx)(n.td,{children:"Normal conversation"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code toggle"})}),(0,r.jsx)(n.td,{children:"\u2014"}),(0,r.jsx)(n.td,{children:"Cycle through modes"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code status"})}),(0,r.jsx)(n.td,{children:"\u2014"}),(0,r.jsx)(n.td,{children:"Show current mode"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"programming-mode--sub-agents",children:"Programming Mode + Sub-Agents"}),"\n",(0,r.jsxs)(n.p,{children:["When ",(0,r.jsx)(n.code,{children:"/code plan"})," is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during ",(0,r.jsx)(n.code,{children:"/code execute"}),". The ",(0,r.jsx)(n.code,{children:"ask_user"})," tool lets Mercury present choices at decision points \u2014 on CLI this is an arrow-key menu, on Telegram it's inline buttons."]})]})}function h(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},8453(e,n,s){s.d(n,{R:()=>d,x:()=>l});var t=s(6540);let r={},i=t.createContext(r);function d(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a06fff0d.a5831abf.js b/docs/assets/js/a06fff0d.a5831abf.js
deleted file mode 100644
index 485e8179..00000000
--- a/docs/assets/js/a06fff0d.a5831abf.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["225"],{8019(e,n,s){s.r(n),s.d(n,{metadata:()=>t,default:()=>h,frontMatter:()=>l,contentTitle:()=>d,toc:()=>c,assets:()=>a});var t=JSON.parse('{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","source":"@site/docs/integrations/sub-agents.mdx","sourceDirName":"integrations","slug":"/integrations/sub-agents","permalink":"/docs/integrations/sub-agents","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/sub-agents.mdx","tags":[],"version":"current","frontMatter":{"id":"sub-agents","title":"Sub-Agents (Multi-Agent Mode)"},"sidebar":"docsSidebar","previous":{"title":"Coding Workspace (IDE Mode)","permalink":"/docs/integrations/coding-workspace"},"next":{"title":"Built-in Tools","permalink":"/docs/reference/built-in-tools"}}'),r=s(4848),i=s(8453);let l={id:"sub-agents",title:"Sub-Agents (Multi-Agent Mode)"},d,a={},c=[{value:"Why Sub-Agents Matter",id:"why-sub-agents-matter",level:2},{value:"How It Works",id:"how-it-works",level:2},{value:"Commands",id:"commands",level:2},{value:"Delegation Tools",id:"delegation-tools",level:2},{value:"Architecture",id:"architecture",level:2},{value:"When Mercury Uses Sub-Agents",id:"when-mercury-uses-sub-agents",level:2},{value:"What Happens While Agents Work",id:"what-happens-while-agents-work",level:2},{value:"Configuration",id:"configuration",level:2},{value:"Programming Mode",id:"programming-mode",level:2},{value:"Programming Mode + Sub-Agents",id:"programming-mode--sub-agents",level:2}];function o(e){let n={code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:["Mercury isn't just a chatbot \u2014 it's an ",(0,r.jsx)(n.strong,{children:"orchestrator"}),". It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."]}),"\n",(0,r.jsx)(n.h2,{id:"why-sub-agents-matter",children:"Why Sub-Agents Matter"}),"\n",(0,r.jsx)(n.p,{children:'Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to "research this topic, write the code, and review the result," it does them sequentially \u2014 each step blocks the next.'}),"\n",(0,r.jsx)(n.p,{children:"Sub-agents break this bottleneck:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Parallel execution"})," \u2014 Multiple tasks run simultaneously across isolated context windows"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"LLM-driven delegation"})," \u2014 Mercury itself decides when to delegate based on task complexity"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Non-blocking"})," \u2014 You can keep chatting with Mercury while sub-agents work in the background"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"File locks"})," \u2014 Reader-writer locks prevent concurrent write conflicts between agents"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Resource-aware"})," \u2014 Max concurrent agents is auto-detected from your system's CPU and RAM"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"how-it-works",children:"How It Works"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'You: "Build a REST API for users and write integration tests"\n\nMercury decides to delegate:\n \u{1F916} Multi-agent mode activated.\n **Agent a1** is now working on: "Build REST API endpoints for users"\n **Agent a2** is now working on: "Write integration tests for user endpoints"\n Active agents: 2/4\n\n You can continue chatting while the agents work.\n Use /agents to check status.\n\nMercury: I\'ve delegated both tasks to parallel agents. Agent a1 is building the API\n and agent a2 is writing tests. They\'ll work independently.\n\n (you continue chatting normally)\n\n \u{1F504} Agent a1: Using: read_file, create_file\n \u{1F504} Agent a2: Using: list_dir, read_file\n\n \u2705 **Agent a1** completed (12.3s): "REST API built with 5 endpoints"\n \u2705 **Agent a2** completed (18.7s): "12 integration tests passing"\n\n Both agents are done. Want me to review the results together?\n'})}),"\n",(0,r.jsx)(n.h2,{id:"commands",children:"Commands"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Command"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents"})}),(0,r.jsx)(n.td,{children:"List all sub-agents (running and completed)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code agent <task>"})}),(0,r.jsx)(n.td,{children:"Delegate a coding task to a sub-agent immediately"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg: <task>"})}),(0,r.jsx)(n.td,{children:"Run a natural-language sub-agent task in background"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg current"})}),(0,r.jsx)(n.td,{children:"Move current in-flight task to a background sub-agent"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg list"})}),(0,r.jsx)(n.td,{children:"List shell + sub-agent background tasks"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/halt"})}),(0,r.jsx)(n.td,{children:"Emergency: halt all sub-agents and clear the task queue"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/stop"})}),(0,r.jsx)(n.td,{children:"Full reset: halt agents, clear queue, release locks, clear task board"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["Slash commands like ",(0,r.jsx)(n.code,{children:"/agents"}),", ",(0,r.jsx)(n.code,{children:"/halt"}),", ",(0,r.jsx)(n.code,{children:"/stop"}),", ",(0,r.jsx)(n.code,{children:"/spotify"}),", and ",(0,r.jsx)(n.code,{children:"/code status"})," work ",(0,r.jsx)(n.strong,{children:"even while the main agent is busy"})," \u2014 they're processed immediately on a fast path."]}),"\n",(0,r.jsx)(n.h2,{id:"delegation-tools",children:"Delegation Tools"}),"\n",(0,r.jsx)(n.p,{children:"Mercury uses these tools to manage sub-agents:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Tool"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"delegate_task"})}),(0,r.jsx)(n.td,{children:"Spawn a sub-agent with a task description and optional context"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"list_agents"})}),(0,r.jsx)(n.td,{children:"Show all running and completed sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"stop_agent"})}),(0,r.jsx)(n.td,{children:"Halt a specific running sub-agent by ID"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["When Mercury decides a task is complex enough to benefit from parallel execution, it calls ",(0,r.jsx)(n.code,{children:"delegate_task"}),". You'll see a response like:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\u{1F916} Multi-agent mode activated.\n\n**Agent a1** is now working on: \"Analyze the codebase structure for...\"\nActive agents: 1/4\n\nYou can continue chatting while the agent works. I'll notify you when it's done.\nUse /agents to check status.\n"})}),"\n",(0,r.jsx)(n.h2,{id:"architecture",children:"Architecture"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'User message \u2192 Main Agent (orchestrator)\n \u251C\u2500 delegate_task("research X") \u2192 Sub-Agent a1 (isolated context)\n \u251C\u2500 delegate_task("implement Y") \u2192 Sub-Agent a2 (isolated context)\n \u2514\u2500 continues conversation \u2192 responds to user\n \u2502\n a1: "\u{1F504} Using: read_file"\n a1: "\u{1F504} Using: edit_file"\n a2: "\u{1F504} Using: list_dir"\n a1: "\u2705 completed (8.2s)"\n a2: "\u{1F504} Using: create_file"\n a2: "\u2705 completed (15.1s)"\n'})}),"\n",(0,r.jsx)(n.p,{children:"Each sub-agent:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Has its ",(0,r.jsx)(n.strong,{children:"own context window"})," \u2014 the main agent's conversation doesn't pollute it"]}),"\n",(0,r.jsxs)(n.li,{children:["Runs an independent ",(0,r.jsx)(n.strong,{children:"10-step agentic loop"})," with the same tool access"]}),"\n",(0,r.jsxs)(n.li,{children:["Uses the ",(0,r.jsx)(n.strong,{children:"same permission system"})," \u2014 but with auto-approve for the task's scope"]}),"\n",(0,r.jsxs)(n.li,{children:["Reports progress via the ",(0,r.jsx)(n.strong,{children:"notification channel"})," (CLI or Telegram)"]}),"\n",(0,r.jsxs)(n.li,{children:["Respects ",(0,r.jsx)(n.strong,{children:"file locks"})," \u2014 if a1 is writing a file, a2 waits for the lock"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"when-mercury-uses-sub-agents",children:"When Mercury Uses Sub-Agents"}),"\n",(0,r.jsx)(n.p,{children:"Mercury decides to delegate when:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["A task is ",(0,r.jsx)(n.strong,{children:"naturally parallelizable"}),' (e.g., "research X while I code Y")']}),"\n",(0,r.jsxs)(n.li,{children:["The task benefits from an ",(0,r.jsx)(n.strong,{children:"isolated context window"})," (no pollution from the main conversation)"]}),"\n",(0,r.jsxs)(n.li,{children:["A task is ",(0,r.jsx)(n.strong,{children:"complex enough"})," to warrant dedicated focus"]}),"\n",(0,r.jsxs)(n.li,{children:["Multiple ",(0,r.jsx)(n.strong,{children:"independent investigations"})," would save time"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:'You can also ask Mercury explicitly: "Use two agents for this" or "Delegate this task."'}),"\n",(0,r.jsx)(n.h2,{id:"what-happens-while-agents-work",children:"What Happens While Agents Work"}),"\n",(0,r.jsx)(n.p,{children:"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'\u{1F504} Agent a1: Starting task...\n\u{1F504} Agent a1: Using: read_file, edit_file\n\u{1F504} Agent a2: Using: fetch_url, create_file\n\u2705 Agent a1 completed (8.2s): "Analyzed the codebase..."\n\u{1F504} Agent a2: Using: run_command\n\u2705 Agent a2 completed (14.5s): "Tests passing..."\n'})}),"\n",(0,r.jsxs)(n.p,{children:["If you send ",(0,r.jsx)(n.code,{children:"/agents"}),", you'll see the full status:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"**Sub-Agents:**\n\n\u{1F504} a1: Build REST API endpoints \u2014 running (Using: read_file)\n\u23F3 a2: Write integration tests \u2014 pending\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Background-tracked agent tasks also appear in ",(0,r.jsx)(n.code,{children:"/bg list"})," so shell jobs and delegated coding work share one progress surface."]}),"\n",(0,r.jsx)(n.h2,{id:"configuration",children:"Configuration"}),"\n",(0,r.jsxs)(n.p,{children:["Sub-agents are configured in ",(0,r.jsx)(n.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:'subagents:\n enabled: true\n maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4)\n mode: auto # "auto" (LLM decides) or "manual" (user controls)\n'})}),"\n",(0,r.jsx)(n.p,{children:"Environment variable overrides:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Variable"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_ENABLED"})}),(0,r.jsx)(n.td,{children:"Enable/disable sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_MAX_CONCURRENT"})}),(0,r.jsx)(n.td,{children:"Max number of concurrent agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_MODE"})}),(0,r.jsxs)(n.td,{children:[(0,r.jsx)(n.code,{children:"auto"})," or ",(0,r.jsx)(n.code,{children:"manual"})]})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"programming-mode",children:"Programming Mode"}),"\n",(0,r.jsx)(n.p,{children:"Sub-agents pair well with Mercury's programming mode for code tasks:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Command"}),(0,r.jsx)(n.th,{children:"Mode"}),(0,r.jsx)(n.th,{children:"Behavior"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code plan"})}),(0,r.jsx)(n.td,{children:"Plan"}),(0,r.jsx)(n.td,{children:"Analyze without writing code"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code execute"})}),(0,r.jsx)(n.td,{children:"Execute"}),(0,r.jsx)(n.td,{children:"Implement step by step"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code off"})}),(0,r.jsx)(n.td,{children:"Off"}),(0,r.jsx)(n.td,{children:"Normal conversation"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code toggle"})}),(0,r.jsx)(n.td,{children:"\u2014"}),(0,r.jsx)(n.td,{children:"Cycle through modes"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code status"})}),(0,r.jsx)(n.td,{children:"\u2014"}),(0,r.jsx)(n.td,{children:"Show current mode"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"programming-mode--sub-agents",children:"Programming Mode + Sub-Agents"}),"\n",(0,r.jsxs)(n.p,{children:["When ",(0,r.jsx)(n.code,{children:"/code plan"})," is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during ",(0,r.jsx)(n.code,{children:"/code execute"}),". The ",(0,r.jsx)(n.code,{children:"ask_user"})," tool lets Mercury present choices at decision points \u2014 on CLI this is an arrow-key menu, on Telegram it's inline buttons."]})]})}function h(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>d});var t=s(6540);let r={},i=t.createContext(r);function l(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/bc430709.47825f1f.js b/docs/assets/js/bc430709.47825f1f.js
new file mode 100644
index 00000000..0a1a422b
--- /dev/null
+++ b/docs/assets/js/bc430709.47825f1f.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["788"],{3505(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>u,frontMatter:()=>a,contentTitle:()=>o,toc:()=>d,assets:()=>c});var n=JSON.parse('{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","source":"@site/docs/getting-started/starting.mdx","sourceDirName":"getting-started","slug":"/getting-started/starting","permalink":"/docs/getting-started/starting","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/starting.mdx","tags":[],"version":"current","frontMatter":{"id":"starting","title":"Starting Mercury"},"sidebar":"docsSidebar","previous":{"title":"First-Time Setup","permalink":"/docs/getting-started/setup"},"next":{"title":"Full Command Reference","permalink":"/docs/cli-commands/cli-commands"}}'),s=r(4848),i=r(8453);let a={id:"starting",title:"Starting Mercury"},o,c={},d=[{value:"Start (background daemon)",id:"start-background-daemon",level:2},{value:"Foreground (interactive)",id:"foreground-interactive",level:2},{value:"Verbose logging",id:"verbose-logging",level:2}];function l(e){let t={admonition:"admonition",code:"code",h2:"h2",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{title:"Recommended: mercury up",type:"tip",children:(0,s.jsx)(t.p,{children:"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."})}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If Mercury is already running, ",(0,s.jsx)(t.code,{children:"mercury up"})," just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon."]}),"\n",(0,s.jsx)(t.h2,{id:"start-background-daemon",children:"Start (background daemon)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ",(0,s.jsx)(t.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff."]}),"\n",(0,s.jsx)(t.h2,{id:"foreground-interactive",children:"Foreground (interactive)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Runs Mercury attached to your terminal with the Ink TUI interface. Press ",(0,s.jsx)(t.code,{children:"Ctrl+C"})," to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: ",(0,s.jsx)(t.code,{children:"mercury start -f"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"When running in background mode, you can stop it with:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,s.jsx)(t.h2,{id:"verbose-logging",children:"Verbose logging"}),"\n",(0,s.jsxs)(t.p,{children:["Add ",(0,s.jsx)(t.code,{children:"--verbose"})," to any start command to see debug logs on stderr:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --verbose\n"})})]})}function u(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453(e,t,r){r.d(t,{R:()=>a,x:()=>o});var n=r(6540);let s={},i=n.createContext(s);function a(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/bc430709.ffceb7ec.js b/docs/assets/js/bc430709.ffceb7ec.js
deleted file mode 100644
index e1c21713..00000000
--- a/docs/assets/js/bc430709.ffceb7ec.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["788"],{3505(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>u,frontMatter:()=>i,contentTitle:()=>c,toc:()=>d,assets:()=>o});var n=JSON.parse('{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","source":"@site/docs/getting-started/starting.mdx","sourceDirName":"getting-started","slug":"/getting-started/starting","permalink":"/docs/getting-started/starting","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/starting.mdx","tags":[],"version":"current","frontMatter":{"id":"starting","title":"Starting Mercury"},"sidebar":"docsSidebar","previous":{"title":"First-Time Setup","permalink":"/docs/getting-started/setup"},"next":{"title":"Full Command Reference","permalink":"/docs/cli-commands/cli-commands"}}'),s=r(4848),a=r(8453);let i={id:"starting",title:"Starting Mercury"},c,o={},d=[{value:"Start (background daemon)",id:"start-background-daemon",level:2},{value:"Foreground (interactive)",id:"foreground-interactive",level:2},{value:"Verbose logging",id:"verbose-logging",level:2}];function l(e){let t={code:"code",h2:"h2",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:":::tip Recommended: mercury up\nThe easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.\n:::"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If Mercury is already running, ",(0,s.jsx)(t.code,{children:"mercury up"})," just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon."]}),"\n",(0,s.jsx)(t.h2,{id:"start-background-daemon",children:"Start (background daemon)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ",(0,s.jsx)(t.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff."]}),"\n",(0,s.jsx)(t.h2,{id:"foreground-interactive",children:"Foreground (interactive)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Runs Mercury attached to your terminal with the Ink TUI interface. Press ",(0,s.jsx)(t.code,{children:"Ctrl+C"})," to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: ",(0,s.jsx)(t.code,{children:"mercury start -f"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"When running in background mode, you can stop it with:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,s.jsx)(t.h2,{id:"verbose-logging",children:"Verbose logging"}),"\n",(0,s.jsxs)(t.p,{children:["Add ",(0,s.jsx)(t.code,{children:"--verbose"})," to any start command to see debug logs on stderr:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --verbose\n"})})]})}function u(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453(e,t,r){r.d(t,{R:()=>i,x:()=>c});var n=r(6540);let s={},a=n.createContext(s);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/c12bbe07.18dd8763.js b/docs/assets/js/c12bbe07.18dd8763.js
deleted file mode 100644
index e8b46a71..00000000
--- a/docs/assets/js/c12bbe07.18dd8763.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["624"],{8494(e,n,s){s.r(n),s.d(n,{metadata:()=>i,default:()=>h,frontMatter:()=>d,contentTitle:()=>o,toc:()=>l,assets:()=>t});var i=JSON.parse('{"id":"integrations/coding-workspace","title":"Coding Workspace (IDE Mode)","description":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","source":"@site/docs/integrations/coding-workspace.mdx","sourceDirName":"integrations","slug":"/integrations/coding-workspace","permalink":"/docs/integrations/coding-workspace","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/coding-workspace.mdx","tags":[],"version":"current","frontMatter":{"id":"coding-workspace","title":"Coding Workspace (IDE Mode)"},"sidebar":"docsSidebar","previous":{"title":"Spotify Integration","permalink":"/docs/integrations/spotify"},"next":{"title":"Sub-Agents (Multi-Agent Mode)","permalink":"/docs/integrations/sub-agents"}}'),c=s(4848),r=s(8453);let d={id:"coding-workspace",title:"Coding Workspace (IDE Mode)"},o,t={},l=[{value:"Enter Workspace Mode",id:"enter-workspace-mode",level:2},{value:"Modes",id:"modes",level:2},{value:"Keyboard shortcuts (CLI)",id:"keyboard-shortcuts-cli",level:3},{value:"Workspace Commands",id:"workspace-commands",level:2},{value:"Sub-Agents + Background in Coding",id:"sub-agents--background-in-coding",level:2}];function a(e){let n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.p,{children:"Mercury includes a CLI IDE-style workspace mode for repository-focused coding."}),"\n",(0,c.jsx)(n.h2,{id:"enter-workspace-mode",children:"Enter Workspace Mode"}),"\n",(0,c.jsx)(n.p,{children:"You can enter workspace mode in multiple ways:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code"})," and choose workspace"]}),"\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.code,{children:"/code workspace"})}),"\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.code,{children:"/ws open <path>"})}),"\n"]}),"\n",(0,c.jsx)(n.p,{children:"Once active, Mercury switches to coding context for that repository."}),"\n",(0,c.jsx)(n.h2,{id:"modes",children:"Modes"}),"\n",(0,c.jsx)(n.p,{children:"Use programming modes to control behavior:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code plan"})," \u2014 analysis/planning first, minimal code changes"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code execute"})," \u2014 implementation mode"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code off"})," \u2014 return to normal conversation behavior"]}),"\n"]}),"\n",(0,c.jsx)(n.h3,{id:"keyboard-shortcuts-cli",children:"Keyboard shortcuts (CLI)"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+P"})," \u2192 Plan mode"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+X"})," \u2192 Execute mode"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Esc"})," or ",(0,c.jsx)(n.code,{children:"Ctrl+Q"})," \u2192 Exit workspace back to chat"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+E"})," \u2192 Explorer pane"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+G"})," \u2192 Git pane"]}),"\n"]}),"\n",(0,c.jsx)(n.h2,{id:"workspace-commands",children:"Workspace Commands"}),"\n",(0,c.jsxs)(n.table,{children:[(0,c.jsx)(n.thead,{children:(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.th,{children:"Command"}),(0,c.jsx)(n.th,{children:"Description"})]})}),(0,c.jsxs)(n.tbody,{children:[(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws open <path>"})}),(0,c.jsx)(n.td,{children:"Open a directory in workspace mode"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws refresh"})}),(0,c.jsx)(n.td,{children:"Refresh file tree + git status"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws stage <file|all>"})}),(0,c.jsx)(n.td,{children:"Stage one file or all changes"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws commit <message>"})}),(0,c.jsx)(n.td,{children:"Commit staged changes"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws undo <file>"})}),(0,c.jsx)(n.td,{children:"Revert file changes"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws exit"})}),(0,c.jsx)(n.td,{children:"Exit workspace mode back to general chat"})]})]})]}),"\n",(0,c.jsx)(n.h2,{id:"sub-agents--background-in-coding",children:"Sub-Agents + Background in Coding"}),"\n",(0,c.jsx)(n.p,{children:"Workspace mode supports explicit delegation and backgrounding:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code agent <task>"})," \u2014 delegate coding work to a sub-agent"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg current"})," \u2014 move active in-flight work to background"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg list"})," \u2014 inspect all background tasks (shell + sub-agent)"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg <id>"})," \u2014 view task details/output"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg cancel <id>"})," \u2014 cancel running background work"]}),"\n"]}),"\n",(0,c.jsx)(n.p,{children:"This lets you continue coding/chatting while long operations run asynchronously."})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},8453(e,n,s){s.d(n,{R:()=>d,x:()=>o});var i=s(6540);let c={},r=i.createContext(c);function d(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:d(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/c12bbe07.5ce4c9b2.js b/docs/assets/js/c12bbe07.5ce4c9b2.js
new file mode 100644
index 00000000..df4144e1
--- /dev/null
+++ b/docs/assets/js/c12bbe07.5ce4c9b2.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["624"],{8494(e,s,n){n.r(s),n.d(s,{metadata:()=>d,default:()=>x,frontMatter:()=>i,contentTitle:()=>l,toc:()=>o,assets:()=>t});var d=JSON.parse('{"id":"integrations/coding-workspace","title":"Coding Workspace (IDE Mode)","description":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","source":"@site/docs/integrations/coding-workspace.mdx","sourceDirName":"integrations","slug":"/integrations/coding-workspace","permalink":"/docs/integrations/coding-workspace","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/coding-workspace.mdx","tags":[],"version":"current","frontMatter":{"id":"coding-workspace","title":"Coding Workspace (IDE Mode)"},"sidebar":"docsSidebar","previous":{"title":"Spotify Integration","permalink":"/docs/integrations/spotify"},"next":{"title":"Sub-Agents (Multi-Agent Mode)","permalink":"/docs/integrations/sub-agents"}}'),r=n(4848),c=n(8453);let i={id:"coding-workspace",title:"Coding Workspace (IDE Mode)"},l,t={},o=[{value:"Enter Workspace Mode",id:"enter-workspace-mode",level:2},{value:"Modes",id:"modes",level:2},{value:"Keyboard Shortcuts",id:"keyboard-shortcuts",level:3},{value:"Navigation (when input is empty)",id:"navigation-when-input-is-empty",level:3},{value:"Workspace Commands",id:"workspace-commands",level:2},{value:"Sub-Agents + Background in Coding",id:"sub-agents--background-in-coding",level:2},{value:"Progress Tracking",id:"progress-tracking",level:2}];function h(e){let s={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,c.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.p,{children:"Mercury includes a CLI IDE-style workspace mode for repository-focused coding."}),"\n",(0,r.jsx)(s.h2,{id:"enter-workspace-mode",children:"Enter Workspace Mode"}),"\n",(0,r.jsx)(s.p,{children:"You can enter workspace mode in multiple ways:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/code"})," and choose workspace"]}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.code,{children:"/code workspace"})}),"\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.code,{children:"/ws open <path>"})}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Once active, Mercury switches to coding context for that repository. Agent responses appear in the normal scrollable chat view so you can always see full output."}),"\n",(0,r.jsx)(s.h2,{id:"modes",children:"Modes"}),"\n",(0,r.jsx)(s.p,{children:"Use programming modes to control behavior:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/code plan"})," \u2014 analysis/planning first, minimal code changes"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/code execute"})," \u2014 implementation mode"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/code off"})," \u2014 return to normal conversation behavior"]}),"\n"]}),"\n",(0,r.jsx)(s.h3,{id:"keyboard-shortcuts",children:"Keyboard Shortcuts"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Shortcut"}),(0,r.jsx)(s.th,{children:"Action"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Ctrl+P"})}),(0,r.jsx)(s.td,{children:"Plan mode"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Ctrl+X"})}),(0,r.jsx)(s.td,{children:"Execute mode"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Ctrl+E"})}),(0,r.jsx)(s.td,{children:"Focus explorer pane"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Ctrl+G"})}),(0,r.jsx)(s.td,{children:"Focus git pane"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Ctrl+J"})}),(0,r.jsx)(s.td,{children:"Toggle right panel between chat and git"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Tab"})}),(0,r.jsx)(s.td,{children:"Cycle focus: explorer \u2192 code \u2192 right panel"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Esc"})}),(0,r.jsx)(s.td,{children:"Return to explorer (or exit workspace from explorer)"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Ctrl+Q"})}),(0,r.jsx)(s.td,{children:"Exit workspace"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Shift+Enter"})}),(0,r.jsx)(s.td,{children:"Insert newline (multi-line input)"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Alt+Enter"})}),(0,r.jsx)(s.td,{children:"Insert newline (fallback for terminals that don't distinguish Shift+Enter)"})]})]})]}),"\n",(0,r.jsx)(s.h3,{id:"navigation-when-input-is-empty",children:"Navigation (when input is empty)"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Focus"}),(0,r.jsx)(s.th,{children:"Keys"}),(0,r.jsx)(s.th,{children:"Action"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Explorer"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"\u2191"})," ",(0,r.jsx)(s.code,{children:"\u2193"})]}),(0,r.jsx)(s.td,{children:"Move selection"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Explorer"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"\u2190"})," ",(0,r.jsx)(s.code,{children:"\u2192"})]}),(0,r.jsx)(s.td,{children:"Collapse / expand folder"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Explorer"}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Enter"})}),(0,r.jsx)(s.td,{children:"Open selected file"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Code"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"\u2191"})," ",(0,r.jsx)(s.code,{children:"\u2193"})]}),(0,r.jsx)(s.td,{children:"Scroll code \xb11 line"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Code"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"PgUp"})," ",(0,r.jsx)(s.code,{children:"PgDn"})]}),(0,r.jsx)(s.td,{children:"Scroll code \xb115 lines"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Code"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"Ctrl+U"})," ",(0,r.jsx)(s.code,{children:"Ctrl+D"})]}),(0,r.jsx)(s.td,{children:"Scroll code \xb110 lines (vim-style)"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Chat"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"\u2191"})," ",(0,r.jsx)(s.code,{children:"\u2193"})]}),(0,r.jsx)(s.td,{children:"Scroll agent output \xb11 line"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Chat"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"PgUp"})," ",(0,r.jsx)(s.code,{children:"PgDn"})]}),(0,r.jsx)(s.td,{children:"Scroll agent output \xb110 lines"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Chat"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"Ctrl+U"})," ",(0,r.jsx)(s.code,{children:"Ctrl+D"})]}),(0,r.jsx)(s.td,{children:"Scroll agent output \xb18 lines"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Git"}),(0,r.jsxs)(s.td,{children:[(0,r.jsx)(s.code,{children:"\u2191"})," ",(0,r.jsx)(s.code,{children:"\u2193"})]}),(0,r.jsx)(s.td,{children:"Move through changed files"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Git"}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Enter"})}),(0,r.jsx)(s.td,{children:"Stage selected file"})]})]})]}),"\n",(0,r.jsx)(s.h2,{id:"workspace-commands",children:"Workspace Commands"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Command"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws open <path>"})}),(0,r.jsx)(s.td,{children:"Open a directory in workspace mode"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws refresh"})}),(0,r.jsx)(s.td,{children:"Refresh file tree + git status"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws focus <area>"})}),(0,r.jsxs)(s.td,{children:["Focus a panel: ",(0,r.jsx)(s.code,{children:"explorer"}),", ",(0,r.jsx)(s.code,{children:"code"}),", ",(0,r.jsx)(s.code,{children:"git"}),", or ",(0,r.jsx)(s.code,{children:"chat"})]})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws stage <file|all>"})}),(0,r.jsx)(s.td,{children:"Stage one file or all changes"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws commit <message>"})}),(0,r.jsx)(s.td,{children:"Commit staged changes"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws undo <file>"})}),(0,r.jsx)(s.td,{children:"Revert file changes"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws toggle-chat"})}),(0,r.jsx)(s.td,{children:"Toggle right panel between chat and git"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws chat-scroll <n>"})}),(0,r.jsx)(s.td,{children:"Scroll agent output by n lines"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"/ws exit"})}),(0,r.jsx)(s.td,{children:"Exit workspace mode back to general chat"})]})]})]}),"\n",(0,r.jsx)(s.h2,{id:"sub-agents--background-in-coding",children:"Sub-Agents + Background in Coding"}),"\n",(0,r.jsx)(s.p,{children:"Workspace mode supports explicit delegation and backgrounding:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/code agent <task>"})," \u2014 delegate coding work to a sub-agent"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/bg current"})," \u2014 move active in-flight work to background"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/bg list"})," \u2014 inspect all background tasks (shell + sub-agent)"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/bg <id>"})," \u2014 view task details/output (IDs use friendly names like ",(0,r.jsx)(s.code,{children:"swift-fox"}),")"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/bg cancel <id>"})," \u2014 cancel running background work"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/bg stop <id>"})," / ",(0,r.jsx)(s.code,{children:"/bg kill <id>"})," \u2014 aliases for cancel"]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.code,{children:"/bg killall"})," / ",(0,r.jsx)(s.code,{children:"/bg stopall"})," \u2014 cancel all running background tasks"]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"This lets you continue coding/chatting while long operations run asynchronously."}),"\n",(0,r.jsx)(s.h2,{id:"progress-tracking",children:"Progress Tracking"}),"\n",(0,r.jsx)(s.p,{children:"During long-running tasks, Mercury shows real-time progress:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["The status bar displays the current tool/action (e.g., ",(0,r.jsx)(s.code,{children:"\u25CF step 5 \xb7 \u2702\uFE0F Editing App.tsx"}),")"]}),"\n",(0,r.jsx)(s.li,{children:"Heartbeat messages escalate timing (20s \u2192 30s \u2192 45s \u2192 60s) to reduce noise"}),"\n",(0,r.jsxs)(s.li,{children:["Use ",(0,r.jsx)(s.code,{children:"/progress"})," to see the last 10 completed steps with timing"]}),"\n",(0,r.jsx)(s.li,{children:'Consecutive identical tool calls are collapsed (e.g., "Read 3 files")'}),"\n"]})]})}function x(e={}){let{wrapper:s}={...(0,c.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>i,x:()=>l});var d=n(6540);let r={},c=d.createContext(r);function i(e){let s=d.useContext(c);return d.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),d.createElement(c.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/de57ece0.5c199cd5.js b/docs/assets/js/de57ece0.5c199cd5.js
deleted file mode 100644
index 57e0293f..00000000
--- a/docs/assets/js/de57ece0.5c199cd5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["650"],{4995(e,d,s){s.r(d),s.d(d,{metadata:()=>r,default:()=>h,frontMatter:()=>c,contentTitle:()=>i,toc:()=>o,assets:()=>l});var r=JSON.parse('{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","source":"@site/docs/cli-commands/in-chat-commands.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/in-chat-commands","permalink":"/docs/cli-commands/in-chat-commands","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx","tags":[],"version":"current","frontMatter":{"id":"in-chat-commands","title":"In-Chat Commands"},"sidebar":"docsSidebar","previous":{"title":"Doctor (Reconfigure)","permalink":"/docs/cli-commands/doctor"},"next":{"title":"Daemon Mode","permalink":"/docs/daemon-mode/daemon-mode"}}'),n=s(4848),t=s(8453);let c={id:"in-chat-commands",title:"In-Chat Commands"},i,l={},o=[];function a(e){let d={code:"code",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(d.p,{children:["Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They ",(0,n.jsx)(d.strong,{children:"do not consume API tokens"}),"."]}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/help"})}),(0,n.jsx)(d.td,{children:"Show the full manual"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/status"})}),(0,n.jsx)(d.td,{children:"Show agent name, provider, budget, and channels"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"/"})," or ",(0,n.jsx)(d.code,{children:"/menu"})]}),(0,n.jsx)(d.td,{children:"CLI only: open the arrow-key command picker with Back and Exit options"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram"})}),(0,n.jsx)(d.td,{children:"CLI only: open Telegram management with pending requests, approvals, roles, and reset actions"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram pending"})}),(0,n.jsx)(d.td,{children:"CLI only: list pending Telegram access requests"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram users"})}),(0,n.jsx)(d.td,{children:"CLI only: list approved Telegram admins and members"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram approve <code|id>"})}),(0,n.jsx)(d.td,{children:"CLI only: approve the first pairing code or a later Telegram access request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram reject <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: reject a pending Telegram access request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram remove <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: revoke an approved Telegram user"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram promote <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: promote a Telegram member to admin"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram demote <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: demote a Telegram admin to member"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram reset"})}),(0,n.jsx)(d.td,{children:"CLI only: clear all Telegram access and restart pairing from scratch"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/tools"})}),(0,n.jsx)(d.td,{children:"List all currently loaded tools"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/skills"})}),(0,n.jsx)(d.td,{children:"List installed skills"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream"})}),(0,n.jsx)(d.td,{children:"Toggle Telegram text streaming (on/off)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream off"})}),(0,n.jsx)(d.td,{children:"Disable streaming \u2014 responses arrive as single message"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget"})}),(0,n.jsx)(d.td,{children:"Show token budget status"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget override"})}),(0,n.jsx)(d.td,{children:"Override budget for one request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget reset"})}),(0,n.jsx)(d.td,{children:"Reset usage to zero"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget set <n>"})}),(0,n.jsx)(d.td,{children:"Change daily token budget"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/permissions"})}),(0,n.jsx)(d.td,{children:"Change permission mode (Ask Me / Allow All) \u2014 Telegram only"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models"})}),(0,n.jsx)(d.td,{children:"List configured models/providers and switch active model for this session"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models use <provider>"})}),(0,n.jsx)(d.td,{children:"Switch the current session model/provider"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models doctor"})}),(0,n.jsxs)(d.td,{children:["Show how to add/configure models via ",(0,n.jsx)(d.code,{children:"mercury doctor"})]})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view"})}),(0,n.jsx)(d.td,{children:"Toggle progress view (balanced/detailed)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view balanced"})}),(0,n.jsx)(d.td,{children:"Set compact progress view"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view detailed"})}),(0,n.jsx)(d.td,{children:"Set full progress view"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code agent <task>"})}),(0,n.jsx)(d.td,{children:"Delegate a coding task to a sub-agent in the background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws exit"})}),(0,n.jsx)(d.td,{children:"Exit workspace IDE mode back to general chat"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg <command>"})}),(0,n.jsx)(d.td,{children:"Run a shell command in the background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg: <task>"})}),(0,n.jsx)(d.td,{children:"Run a natural-language sub-agent task in background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg current"})}),(0,n.jsx)(d.td,{children:"Move the current in-flight task to background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg list"})}),(0,n.jsx)(d.td,{children:"Show background tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg <id>"})}),(0,n.jsx)(d.td,{children:"Show details/output for one background task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg cancel <id>"})}),(0,n.jsx)(d.td,{children:"Cancel a running background task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg clear"})}),(0,n.jsx)(d.td,{children:"Prune completed background tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/tasks"})}),(0,n.jsx)(d.td,{children:"List scheduled tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/memory"})}),(0,n.jsx)(d.td,{children:"View and manage second brain memory"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/unpair"})}),(0,n.jsx)(d.td,{children:"Telegram only: reset all access, new users can /start again"})]})]})]}),"\n",(0,n.jsxs)(d.p,{children:[":::info Telegram pairing and access\nTelegram stays private 1:1 only. The first user sends ",(0,n.jsx)(d.code,{children:"/start"}),", receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send ",(0,n.jsx)(d.code,{children:"/start"}),", appear as pending requests, and can then be approved or rejected from the CLI ",(0,n.jsx)(d.code,{children:"/telegram"})," menu.\n:::"]})]})}function h(e={}){let{wrapper:d}={...(0,t.R)(),...e.components};return d?(0,n.jsx)(d,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},8453(e,d,s){s.d(d,{R:()=>c,x:()=>i});var r=s(6540);let n={},t=r.createContext(n);function c(e){let d=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(d):{...d,...e}},[d,e])}function i(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(t.Provider,{value:d},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/de57ece0.8fa4890b.js b/docs/assets/js/de57ece0.8fa4890b.js
new file mode 100644
index 00000000..b723500e
--- /dev/null
+++ b/docs/assets/js/de57ece0.8fa4890b.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["650"],{4995(e,d,s){s.r(d),s.d(d,{metadata:()=>r,default:()=>a,frontMatter:()=>t,contentTitle:()=>i,toc:()=>h,assets:()=>l});var r=JSON.parse('{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","source":"@site/docs/cli-commands/in-chat-commands.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/in-chat-commands","permalink":"/docs/cli-commands/in-chat-commands","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx","tags":[],"version":"current","frontMatter":{"id":"in-chat-commands","title":"In-Chat Commands"},"sidebar":"docsSidebar","previous":{"title":"Doctor (Reconfigure)","permalink":"/docs/cli-commands/doctor"},"next":{"title":"Daemon Mode","permalink":"/docs/daemon-mode/daemon-mode"}}'),n=s(4848),c=s(8453);let t={id:"in-chat-commands",title:"In-Chat Commands"},i,l={},h=[{value:"General",id:"general",level:2},{value:"Budget",id:"budget",level:2},{value:"Programming Mode",id:"programming-mode",level:2},{value:"Workspace IDE (CLI Only)",id:"workspace-ide-cli-only",level:2},{value:"Sub-Agents",id:"sub-agents",level:2},{value:"Background Tasks",id:"background-tasks",level:2},{value:"Spotify",id:"spotify",level:2},{value:"Emergency Controls",id:"emergency-controls",level:2},{value:"Progress View (CLI Only)",id:"progress-view-cli-only",level:2},{value:"Telegram Management (CLI Only)",id:"telegram-management-cli-only",level:2},{value:"Telegram-Only Commands",id:"telegram-only-commands",level:2},{value:"Keyboard Shortcuts (CLI)",id:"keyboard-shortcuts-cli",level:2},{value:"Slash Command Autocomplete",id:"slash-command-autocomplete",level:3},{value:"Workspace IDE Shortcuts",id:"workspace-ide-shortcuts",level:3}];function o(e){let d={admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,c.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(d.p,{children:["Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They ",(0,n.jsx)(d.strong,{children:"do not consume API tokens"}),"."]}),"\n",(0,n.jsx)(d.h2,{id:"general",children:"General"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/help"})}),(0,n.jsx)(d.td,{children:"Show the full manual (Telegram gets a Telegram-specific version)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/status"})}),(0,n.jsx)(d.td,{children:"Show agent name, provider, budget, and channels"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/progress"})}),(0,n.jsx)(d.td,{children:"Show live status for the current long-running task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"/"})," or ",(0,n.jsx)(d.code,{children:"/menu"})]}),(0,n.jsx)(d.td,{children:"CLI only: open the arrow-key command picker"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/permissions"})}),(0,n.jsx)(d.td,{children:"Change permission mode (Ask Me / Allow All)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models"})}),(0,n.jsx)(d.td,{children:"List configured models/providers for this session"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models use <provider>"})}),(0,n.jsx)(d.td,{children:"Switch the current session model/provider"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/tools"})}),(0,n.jsx)(d.td,{children:"List all currently loaded tools"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/skills"})}),(0,n.jsx)(d.td,{children:"List installed skills"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/memory"})}),(0,n.jsx)(d.td,{children:"View and manage second brain memory"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/tasks"})}),(0,n.jsx)(d.td,{children:"List scheduled tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream"})}),(0,n.jsx)(d.td,{children:"Toggle Telegram text streaming (on/off)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream on"})}),(0,n.jsx)(d.td,{children:"Enable streaming (live text updates)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream off"})}),(0,n.jsx)(d.td,{children:"Disable streaming \u2014 responses arrive as single message"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"budget",children:"Budget"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget"})}),(0,n.jsx)(d.td,{children:"Show token budget status"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget override"})}),(0,n.jsx)(d.td,{children:"Override budget for one request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget reset"})}),(0,n.jsx)(d.td,{children:"Reset usage to zero"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget set <n>"})}),(0,n.jsx)(d.td,{children:"Change daily token budget"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"programming-mode",children:"Programming Mode"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code"})}),(0,n.jsx)(d.td,{children:"Show current programming mode"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code plan"})}),(0,n.jsx)(d.td,{children:"Switch to plan mode (analyze and present options, no coding)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code execute"})}),(0,n.jsx)(d.td,{children:"Switch to execute mode (implement step by step)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code build"})}),(0,n.jsx)(d.td,{children:"Alias for execute mode"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code off"})}),(0,n.jsx)(d.td,{children:"Exit programming mode"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code toggle"})}),(0,n.jsx)(d.td,{children:"Cycle through: off \u2192 plan \u2192 execute \u2192 off"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code agent <task>"})}),(0,n.jsx)(d.td,{children:"Delegate a coding task to a sub-agent in the background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code workspace"})}),(0,n.jsx)(d.td,{children:"CLI only: open current directory in workspace IDE mode"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"workspace-ide-cli-only",children:"Workspace IDE (CLI Only)"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws"})}),(0,n.jsx)(d.td,{children:"Show workspace commands"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws open <path>"})}),(0,n.jsx)(d.td,{children:"Open a directory in workspace IDE mode"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws exit"})}),(0,n.jsx)(d.td,{children:"Exit workspace IDE mode back to general chat"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws refresh"})}),(0,n.jsx)(d.td,{children:"Refresh file tree and git status panel"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws stage <file|all>"})}),(0,n.jsx)(d.td,{children:"Stage a file or all changes"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws commit <message>"})}),(0,n.jsx)(d.td,{children:"Commit staged changes"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws undo <file>"})}),(0,n.jsxs)(d.td,{children:["Revert file changes with ",(0,n.jsx)(d.code,{children:"git checkout"})]})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws help"})}),(0,n.jsx)(d.td,{children:"Show workspace command list"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"sub-agents",children:"Sub-Agents"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/agents"})}),(0,n.jsx)(d.td,{children:"List all sub-agents and their status"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/agents stop <id|all>"})}),(0,n.jsx)(d.td,{children:"Stop a sub-agent or all sub-agents"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/agents pause <id>"})}),(0,n.jsx)(d.td,{children:"Pause a running sub-agent"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/agents resume <id>"})}),(0,n.jsx)(d.td,{children:"Resume a paused sub-agent"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/agents config"})}),(0,n.jsx)(d.td,{children:"Show sub-agent resource allocation"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/agents set max <n>"})}),(0,n.jsx)(d.td,{children:"Set max concurrent sub-agents"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"background-tasks",children:"Background Tasks"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg <command>"})}),(0,n.jsx)(d.td,{children:"Run a shell command in the background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg: <task>"})}),(0,n.jsx)(d.td,{children:"Run a natural-language sub-agent task in background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg current"})}),(0,n.jsx)(d.td,{children:"Move the current in-flight task to background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg list"})}),(0,n.jsx)(d.td,{children:"Show background tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg <id>"})}),(0,n.jsx)(d.td,{children:"Show details/output for one background task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg cancel <id>"})}),(0,n.jsx)(d.td,{children:"Cancel a running background task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg stop <id>"})}),(0,n.jsxs)(d.td,{children:["Alias for ",(0,n.jsx)(d.code,{children:"/bg cancel"})]})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg killall"})}),(0,n.jsx)(d.td,{children:"Cancel all running background tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg clear"})}),(0,n.jsx)(d.td,{children:"Prune completed background tasks"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"spotify",children:"Spotify"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify"})}),(0,n.jsx)(d.td,{children:"Show Spotify connection status"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify auth"})}),(0,n.jsx)(d.td,{children:"Connect Spotify (browser or manual code flow)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify code <code>"})}),(0,n.jsx)(d.td,{children:"Complete auth with a pasted authorization code"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify player"})}),(0,n.jsx)(d.td,{children:"CLI only: interactive music player with arrow-key controls"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify devices"})}),(0,n.jsx)(d.td,{children:"List available Spotify devices"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify device <id>"})}),(0,n.jsx)(d.td,{children:"Set active Spotify device"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify now"})}),(0,n.jsx)(d.td,{children:"Show what is currently playing"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/spotify logout"})}),(0,n.jsx)(d.td,{children:"Disconnect Spotify and clear saved tokens"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"emergency-controls",children:"Emergency Controls"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/halt"})}),(0,n.jsx)(d.td,{children:"Emergency: stop all agents and clear the task queue"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stop"})}),(0,n.jsx)(d.td,{children:"Stop all agents, clear queue, release file locks, clear task board"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/reset"})}),(0,n.jsx)(d.td,{children:"Full reset: stop all + clear conversation context (requires confirmation)"})]})]})]}),"\n",(0,n.jsx)(d.admonition,{title:"Fast-path commands",type:"tip",children:(0,n.jsxs)(d.p,{children:[(0,n.jsx)(d.code,{children:"/agents"}),", ",(0,n.jsx)(d.code,{children:"/halt"}),", ",(0,n.jsx)(d.code,{children:"/stop"}),", ",(0,n.jsx)(d.code,{children:"/progress"}),", ",(0,n.jsx)(d.code,{children:"/spotify"}),", ",(0,n.jsx)(d.code,{children:"/code"}),", ",(0,n.jsx)(d.code,{children:"/memory"}),", and ",(0,n.jsx)(d.code,{children:"/bg"})," all work ",(0,n.jsx)(d.strong,{children:"even while Mercury is busy processing a task"}),". They're processed immediately without waiting for the current task to finish."]})}),"\n",(0,n.jsx)(d.h2,{id:"progress-view-cli-only",children:"Progress View (CLI Only)"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view"})}),(0,n.jsx)(d.td,{children:"Toggle progress view (balanced/detailed)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view balanced"})}),(0,n.jsx)(d.td,{children:"Show last 5 tool steps, compact format"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view detailed"})}),(0,n.jsx)(d.td,{children:"Show last 20 tool steps, full format"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"telegram-management-cli-only",children:"Telegram Management (CLI Only)"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram"})}),(0,n.jsx)(d.td,{children:"Open Telegram management menu"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram pending"})}),(0,n.jsx)(d.td,{children:"List pending Telegram access requests"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram users"})}),(0,n.jsx)(d.td,{children:"List approved Telegram admins and members"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram approve <code|id>"})}),(0,n.jsx)(d.td,{children:"Approve a pairing code or access request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram reject <id>"})}),(0,n.jsx)(d.td,{children:"Reject a pending Telegram access request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram remove <id>"})}),(0,n.jsx)(d.td,{children:"Revoke an approved Telegram user"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram promote <id>"})}),(0,n.jsx)(d.td,{children:"Promote a Telegram member to admin"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram demote <id>"})}),(0,n.jsx)(d.td,{children:"Demote a Telegram admin to member"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram reset"})}),(0,n.jsx)(d.td,{children:"Clear all Telegram access and restart pairing"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"telegram-only-commands",children:"Telegram-Only Commands"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"/start"})," or ",(0,n.jsx)(d.code,{children:"/pair"})]}),(0,n.jsx)(d.td,{children:"Request access (new users) or check status (approved users)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/unpair"})}),(0,n.jsx)(d.td,{children:"Admin only: reset all Telegram access for this instance"})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"keyboard-shortcuts-cli",children:"Keyboard Shortcuts (CLI)"}),"\n",(0,n.jsx)(d.p,{children:"These shortcuts work in the CLI terminal interface:"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Shortcut"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+C"})}),(0,n.jsx)(d.td,{children:"Exit Mercury"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+T"})}),(0,n.jsx)(d.td,{children:"Toggle progress view (balanced/detailed)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+B"})}),(0,n.jsx)(d.td,{children:"Show background tasks (or move current task to background if busy)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+N"})}),(0,n.jsx)(d.td,{children:"Insert newline (multi-line input)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+P"})}),(0,n.jsx)(d.td,{children:"Switch to code plan mode (in coding/workspace mode)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+X"})}),(0,n.jsx)(d.td,{children:"Switch to code execute mode (in coding/workspace mode)"})]})]})]}),"\n",(0,n.jsx)(d.h3,{id:"slash-command-autocomplete",children:"Slash Command Autocomplete"}),"\n",(0,n.jsxs)(d.p,{children:["When you type ",(0,n.jsx)(d.code,{children:"/"})," in the CLI, an autocomplete popup appears with matching commands:"]}),"\n",(0,n.jsxs)(d.ul,{children:["\n",(0,n.jsxs)(d.li,{children:[(0,n.jsx)(d.strong,{children:"Up/Down arrows"})," \u2014 navigate through suggestions"]}),"\n",(0,n.jsxs)(d.li,{children:[(0,n.jsx)(d.strong,{children:"Tab"})," or ",(0,n.jsx)(d.strong,{children:"Enter"})," \u2014 fill the selected suggestion into the input"]}),"\n",(0,n.jsxs)(d.li,{children:[(0,n.jsx)(d.strong,{children:"Enter"})," (when input matches a command) \u2014 submit the command"]}),"\n"]}),"\n",(0,n.jsx)(d.h3,{id:"workspace-ide-shortcuts",children:"Workspace IDE Shortcuts"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Shortcut"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"Esc"})," / ",(0,n.jsx)(d.code,{children:"Ctrl+Q"})]}),(0,n.jsx)(d.td,{children:"Exit workspace (from explorer) or return to explorer"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+E"})}),(0,n.jsx)(d.td,{children:"Focus explorer panel"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+G"})}),(0,n.jsx)(d.td,{children:"Focus git panel"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Ctrl+J"})}),(0,n.jsx)(d.td,{children:"Toggle chat panel"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Tab"})}),(0,n.jsx)(d.td,{children:"Cycle focus: explorer \u2192 code \u2192 right panel"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Arrow keys"})}),(0,n.jsx)(d.td,{children:"Navigate file tree / scroll panels"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"Enter"})}),(0,n.jsx)(d.td,{children:"Open selected file"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"Ctrl+U"})," / ",(0,n.jsx)(d.code,{children:"Ctrl+D"})]}),(0,n.jsx)(d.td,{children:"Scroll up/down by 8-10 lines"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"PageUp"})," / ",(0,n.jsx)(d.code,{children:"PageDown"})]}),(0,n.jsx)(d.td,{children:"Scroll by 15 lines"})]})]})]}),"\n",(0,n.jsx)(d.admonition,{title:"Telegram pairing and access",type:"info",children:(0,n.jsxs)(d.p,{children:["Telegram stays private 1:1 only. The first user sends ",(0,n.jsx)(d.code,{children:"/start"}),", receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send ",(0,n.jsx)(d.code,{children:"/start"}),", appear as pending requests, and can then be approved or rejected from the CLI ",(0,n.jsx)(d.code,{children:"/telegram"})," menu."]})})]})}function a(e={}){let{wrapper:d}={...(0,c.R)(),...e.components};return d?(0,n.jsx)(d,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},8453(e,d,s){s.d(d,{R:()=>t,x:()=>i});var r=s(6540);let n={},c=r.createContext(n);function t(e){let d=r.useContext(c);return r.useMemo(function(){return"function"==typeof e?e(d):{...d,...e}},[d,e])}function i(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:t(e.components),r.createElement(c.Provider,{value:d},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/e7df10b1.3bcc0176.js b/docs/assets/js/e7df10b1.3bcc0176.js
new file mode 100644
index 00000000..12c8a3b4
--- /dev/null
+++ b/docs/assets/js/e7df10b1.3bcc0176.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["534"],{5005(e,d,s){s.r(d),s.d(d,{metadata:()=>t,default:()=>o,frontMatter:()=>l,contentTitle:()=>c,toc:()=>h,assets:()=>n});var t=JSON.parse('{"id":"reference/built-in-tools","title":"Built-in Tools","description":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them.","source":"@site/docs/reference/built-in-tools.mdx","sourceDirName":"reference","slug":"/reference/built-in-tools","permalink":"/docs/reference/built-in-tools","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/built-in-tools.mdx","tags":[],"version":"current","frontMatter":{"id":"built-in-tools","title":"Built-in Tools"},"sidebar":"docsSidebar","previous":{"title":"Sub-Agents (Multi-Agent Mode)","permalink":"/docs/integrations/sub-agents"},"next":{"title":"Configuration","permalink":"/docs/reference/configuration"}}'),i=s(4848),r=s(8453);let l={id:"built-in-tools",title:"Built-in Tools"},c,n={},h=[{value:"Filesystem",id:"filesystem",level:2},{value:"Messaging",id:"messaging",level:2},{value:"Shell",id:"shell",level:2},{value:"Git",id:"git",level:2},{value:"Web, Skills, Scheduler, System",id:"web-skills-scheduler-system",level:2},{value:"Sub-Agent Delegation",id:"sub-agent-delegation",level:2},{value:"Spotify",id:"spotify",level:2}];function x(e){let d={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.p,{children:"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them."}),"\n",(0,i.jsx)(d.h2,{id:"filesystem",children:"Filesystem"}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"}),(0,i.jsx)(d.th,{children:"Parameters"})]})}),(0,i.jsxs)(d.tbody,{children:[(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"read_file"})}),(0,i.jsx)(d.td,{children:"Read file contents"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"path"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"write_file"})}),(0,i.jsx)(d.td,{children:"Write to an existing file"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"path"}),", ",(0,i.jsx)(d.code,{children:"content"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"create_file"})}),(0,i.jsx)(d.td,{children:"Create a new file (creates parent dirs)"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"path"}),", ",(0,i.jsx)(d.code,{children:"content"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"edit_file"})}),(0,i.jsx)(d.td,{children:"Search and replace text in a file"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"path"}),", ",(0,i.jsx)(d.code,{children:"old_string"}),", ",(0,i.jsx)(d.code,{children:"new_string"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"list_dir"})}),(0,i.jsx)(d.td,{children:"List directory contents"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"path"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"delete_file"})}),(0,i.jsx)(d.td,{children:"Delete a file"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"path"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"send_file"})}),(0,i.jsx)(d.td,{children:"Send file to user (Telegram upload)"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"path"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"approve_scope"})}),(0,i.jsx)(d.td,{children:"Request read/write access to a directory"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"path"}),", ",(0,i.jsx)(d.code,{children:"mode"})]})]})]})]}),"\n",(0,i.jsx)(d.h2,{id:"messaging",children:"Messaging"}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"}),(0,i.jsx)(d.th,{children:"Parameters"})]})}),(0,i.jsx)(d.tbody,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"send_message"})}),(0,i.jsx)(d.td,{children:"Send a message to approved Telegram recipients"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"content"})})]})})]}),"\n",(0,i.jsx)(d.h2,{id:"shell",children:"Shell"}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"}),(0,i.jsx)(d.th,{children:"Parameters"})]})}),(0,i.jsxs)(d.tbody,{children:[(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"run_command"})}),(0,i.jsx)(d.td,{children:"Execute a shell command"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"command"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"cd"})}),(0,i.jsx)(d.td,{children:"Change working directory (persists across calls)"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"path"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"approve_command"})}),(0,i.jsx)(d.td,{children:"Permanently approve a command type"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"command"}),' (e.g. "curl")']})]})]})]}),"\n",(0,i.jsx)(d.h2,{id:"git",children:"Git"}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"})]})}),(0,i.jsxs)(d.tbody,{children:[(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"git_status"})}),(0,i.jsx)(d.td,{children:"Working tree status"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"git_diff"})}),(0,i.jsx)(d.td,{children:"Show file changes"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"git_log"})}),(0,i.jsx)(d.td,{children:"Commit history"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"git_add"})}),(0,i.jsx)(d.td,{children:"Stage files"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"git_commit"})}),(0,i.jsx)(d.td,{children:"Create a commit"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"git_push"})}),(0,i.jsx)(d.td,{children:"Push to remote (needs approval)"})]})]})]}),"\n",(0,i.jsx)(d.h2,{id:"web-skills-scheduler-system",children:"Web, Skills, Scheduler, System"}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"}),(0,i.jsx)(d.th,{children:"Category"})]})}),(0,i.jsxs)(d.tbody,{children:[(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"fetch_url"})}),(0,i.jsx)(d.td,{children:"Fetch a URL and return content (HTML stripped)"}),(0,i.jsx)(d.td,{children:"Web"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"install_skill"})}),(0,i.jsx)(d.td,{children:"Install a skill from URL or content"}),(0,i.jsx)(d.td,{children:"Skills"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"list_skills"})}),(0,i.jsx)(d.td,{children:"List installed skills"}),(0,i.jsx)(d.td,{children:"Skills"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"use_skill"})}),(0,i.jsx)(d.td,{children:"Invoke a skill by name"}),(0,i.jsx)(d.td,{children:"Skills"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"schedule_task"})}),(0,i.jsx)(d.td,{children:"Schedule recurring (cron) or one-shot (delay) task"}),(0,i.jsx)(d.td,{children:"Scheduler"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"list_scheduled_tasks"})}),(0,i.jsx)(d.td,{children:"View all scheduled tasks"}),(0,i.jsx)(d.td,{children:"Scheduler"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"cancel_scheduled_task"})}),(0,i.jsx)(d.td,{children:"Cancel a scheduled task"}),(0,i.jsx)(d.td,{children:"Scheduler"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"budget_status"})}),(0,i.jsx)(d.td,{children:"Check token budget usage"}),(0,i.jsx)(d.td,{children:"System"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"ask_user"})}),(0,i.jsx)(d.td,{children:"Ask the user a question with choices (CLI: arrow menu, Telegram: inline buttons)"}),(0,i.jsx)(d.td,{children:"System"})]})]})]}),"\n",(0,i.jsx)(d.h2,{id:"sub-agent-delegation",children:"Sub-Agent Delegation"}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"}),(0,i.jsx)(d.th,{children:"Parameters"})]})}),(0,i.jsxs)(d.tbody,{children:[(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"delegate_task"})}),(0,i.jsx)(d.td,{children:"Spawn a sub-agent with an isolated context"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"task"}),", ",(0,i.jsx)(d.code,{children:"workingDirectory?"}),", ",(0,i.jsx)(d.code,{children:"priority?"}),", ",(0,i.jsx)(d.code,{children:"allowedTools?"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"list_agents"})}),(0,i.jsx)(d.td,{children:"List active sub-agents and their status"}),(0,i.jsx)(d.td,{children:"\u2014"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"stop_agent"})}),(0,i.jsx)(d.td,{children:"Stop a sub-agent (or all)"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"agentId"})," (",(0,i.jsx)(d.code,{children:'"a1"'})," or ",(0,i.jsx)(d.code,{children:'"all"'}),")"]})]})]})]}),"\n",(0,i.jsx)(d.h2,{id:"spotify",children:"Spotify"}),"\n",(0,i.jsx)(d.p,{children:"These tools are available when Spotify is connected. Search and info tools are read-only; playback tools require Spotify Premium."}),"\n",(0,i.jsxs)(d.table,{children:[(0,i.jsx)(d.thead,{children:(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.th,{children:"Tool"}),(0,i.jsx)(d.th,{children:"What it does"}),(0,i.jsx)(d.th,{children:"Parameters"})]})}),(0,i.jsxs)(d.tbody,{children:[(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_search"})}),(0,i.jsx)(d.td,{children:"Search for tracks, artists, albums, playlists"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"query"}),", ",(0,i.jsx)(d.code,{children:"type?"}),", ",(0,i.jsx)(d.code,{children:"limit?"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_play"})}),(0,i.jsx)(d.td,{children:"Play a track, album, or playlist"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"uri?"}),", ",(0,i.jsx)(d.code,{children:"deviceId?"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_pause"})}),(0,i.jsx)(d.td,{children:"Pause playback"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"deviceId?"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_next"})}),(0,i.jsx)(d.td,{children:"Skip to next track"}),(0,i.jsx)(d.td,{children:"\u2014"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_previous"})}),(0,i.jsx)(d.td,{children:"Skip to previous track"}),(0,i.jsx)(d.td,{children:"\u2014"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_now_playing"})}),(0,i.jsx)(d.td,{children:"Show currently playing track info"}),(0,i.jsx)(d.td,{children:"\u2014"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_devices"})}),(0,i.jsx)(d.td,{children:"List available playback devices"}),(0,i.jsx)(d.td,{children:"\u2014"})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_queue"})}),(0,i.jsx)(d.td,{children:"Add a track to the playback queue"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"uri"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_like"})}),(0,i.jsx)(d.td,{children:"Save a track to your library"}),(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"trackId"})})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_volume"})}),(0,i.jsx)(d.td,{children:"Set playback volume"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"percent"})," (0\u2013100)"]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_shuffle"})}),(0,i.jsx)(d.td,{children:"Toggle shuffle"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"state"})," (boolean)"]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_repeat"})}),(0,i.jsx)(d.td,{children:"Set repeat mode"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"state"})," (",(0,i.jsx)(d.code,{children:"off"}),"/",(0,i.jsx)(d.code,{children:"track"}),"/",(0,i.jsx)(d.code,{children:"context"}),")"]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_top_tracks"})}),(0,i.jsx)(d.td,{children:"Get user's top tracks"}),(0,i.jsxs)(d.td,{children:[(0,i.jsx)(d.code,{children:"timeRange?"}),", ",(0,i.jsx)(d.code,{children:"limit?"})]})]}),(0,i.jsxs)(d.tr,{children:[(0,i.jsx)(d.td,{children:(0,i.jsx)(d.code,{children:"spotify_playlists"})}),(0,i.jsx)(d.td,{children:"Get user's playlists"}),(0,i.jsx)(d.td,{children:"\u2014"})]})]})]})]})}function o(e={}){let{wrapper:d}={...(0,r.R)(),...e.components};return d?(0,i.jsx)(d,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},8453(e,d,s){s.d(d,{R:()=>l,x:()=>c});var t=s(6540);let i={},r=t.createContext(i);function l(e){let d=t.useContext(r);return t.useMemo(function(){return"function"==typeof e?e(d):{...d,...e}},[d,e])}function c(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),t.createElement(r.Provider,{value:d},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/e7df10b1.d9603bc5.js b/docs/assets/js/e7df10b1.d9603bc5.js
deleted file mode 100644
index f5729258..00000000
--- a/docs/assets/js/e7df10b1.d9603bc5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["534"],{5005(e,s,d){d.r(s),d.d(s,{metadata:()=>t,default:()=>x,frontMatter:()=>r,contentTitle:()=>n,toc:()=>h,assets:()=>c});var t=JSON.parse('{"id":"reference/built-in-tools","title":"Built-in Tools","description":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them.","source":"@site/docs/reference/built-in-tools.mdx","sourceDirName":"reference","slug":"/reference/built-in-tools","permalink":"/docs/reference/built-in-tools","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/built-in-tools.mdx","tags":[],"version":"current","frontMatter":{"id":"built-in-tools","title":"Built-in Tools"},"sidebar":"docsSidebar","previous":{"title":"Sub-Agents (Multi-Agent Mode)","permalink":"/docs/integrations/sub-agents"},"next":{"title":"Configuration","permalink":"/docs/reference/configuration"}}'),l=d(4848),i=d(8453);let r={id:"built-in-tools",title:"Built-in Tools"},n,c={},h=[{value:"Filesystem",id:"filesystem",level:2},{value:"Messaging",id:"messaging",level:2},{value:"Shell",id:"shell",level:2},{value:"Git",id:"git",level:2},{value:"Web, Skills, Scheduler, System",id:"web-skills-scheduler-system",level:2}];function o(e){let s={code:"code",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.p,{children:"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them."}),"\n",(0,l.jsx)(s.h2,{id:"filesystem",children:"Filesystem"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{children:"Tool"}),(0,l.jsx)(s.th,{children:"What it does"}),(0,l.jsx)(s.th,{children:"Parameters"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"read_file"})}),(0,l.jsx)(s.td,{children:"Read file contents"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"path"})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"write_file"})}),(0,l.jsx)(s.td,{children:"Write to an existing file"}),(0,l.jsxs)(s.td,{children:[(0,l.jsx)(s.code,{children:"path"}),", ",(0,l.jsx)(s.code,{children:"content"})]})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"create_file"})}),(0,l.jsx)(s.td,{children:"Create a new file (creates parent dirs)"}),(0,l.jsxs)(s.td,{children:[(0,l.jsx)(s.code,{children:"path"}),", ",(0,l.jsx)(s.code,{children:"content"})]})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"edit_file"})}),(0,l.jsx)(s.td,{children:"Search and replace text in a file"}),(0,l.jsxs)(s.td,{children:[(0,l.jsx)(s.code,{children:"path"}),", ",(0,l.jsx)(s.code,{children:"old_string"}),", ",(0,l.jsx)(s.code,{children:"new_string"})]})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"list_dir"})}),(0,l.jsx)(s.td,{children:"List directory contents"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"path"})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"delete_file"})}),(0,l.jsx)(s.td,{children:"Delete a file"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"path"})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"send_file"})}),(0,l.jsx)(s.td,{children:"Send file to user (Telegram upload)"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"path"})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"approve_scope"})}),(0,l.jsx)(s.td,{children:"Request read/write access to a directory"}),(0,l.jsxs)(s.td,{children:[(0,l.jsx)(s.code,{children:"path"}),", ",(0,l.jsx)(s.code,{children:"mode"})]})]})]})]}),"\n",(0,l.jsx)(s.h2,{id:"messaging",children:"Messaging"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{children:"Tool"}),(0,l.jsx)(s.th,{children:"What it does"}),(0,l.jsx)(s.th,{children:"Parameters"})]})}),(0,l.jsx)(s.tbody,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"send_message"})}),(0,l.jsx)(s.td,{children:"Send a message to approved Telegram recipients"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"content"})})]})})]}),"\n",(0,l.jsx)(s.h2,{id:"shell",children:"Shell"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{children:"Tool"}),(0,l.jsx)(s.th,{children:"What it does"}),(0,l.jsx)(s.th,{children:"Parameters"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"run_command"})}),(0,l.jsx)(s.td,{children:"Execute a shell command"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"command"})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"cd"})}),(0,l.jsx)(s.td,{children:"Change working directory (persists across calls)"}),(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"path"})})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"approve_command"})}),(0,l.jsx)(s.td,{children:"Permanently approve a command type"}),(0,l.jsxs)(s.td,{children:[(0,l.jsx)(s.code,{children:"command"}),' (e.g. "curl")']})]})]})]}),"\n",(0,l.jsx)(s.h2,{id:"git",children:"Git"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{children:"Tool"}),(0,l.jsx)(s.th,{children:"What it does"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"git_status"})}),(0,l.jsx)(s.td,{children:"Working tree status"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"git_diff"})}),(0,l.jsx)(s.td,{children:"Show file changes"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"git_log"})}),(0,l.jsx)(s.td,{children:"Commit history"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"git_add"})}),(0,l.jsx)(s.td,{children:"Stage files"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"git_commit"})}),(0,l.jsx)(s.td,{children:"Create a commit"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"git_push"})}),(0,l.jsx)(s.td,{children:"Push to remote (needs approval)"})]})]})]}),"\n",(0,l.jsx)(s.h2,{id:"web-skills-scheduler-system",children:"Web, Skills, Scheduler, System"}),"\n",(0,l.jsxs)(s.table,{children:[(0,l.jsx)(s.thead,{children:(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.th,{children:"Tool"}),(0,l.jsx)(s.th,{children:"What it does"}),(0,l.jsx)(s.th,{children:"Category"})]})}),(0,l.jsxs)(s.tbody,{children:[(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"fetch_url"})}),(0,l.jsx)(s.td,{children:"Fetch a URL and return content (HTML stripped)"}),(0,l.jsx)(s.td,{children:"Web"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"install_skill"})}),(0,l.jsx)(s.td,{children:"Install a skill from URL or content"}),(0,l.jsx)(s.td,{children:"Skills"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"list_skills"})}),(0,l.jsx)(s.td,{children:"List installed skills"}),(0,l.jsx)(s.td,{children:"Skills"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"use_skill"})}),(0,l.jsx)(s.td,{children:"Invoke a skill by name"}),(0,l.jsx)(s.td,{children:"Skills"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"schedule_task"})}),(0,l.jsx)(s.td,{children:"Schedule recurring (cron) or one-shot (delay) task"}),(0,l.jsx)(s.td,{children:"Scheduler"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"list_scheduled_tasks"})}),(0,l.jsx)(s.td,{children:"View all scheduled tasks"}),(0,l.jsx)(s.td,{children:"Scheduler"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"cancel_scheduled_task"})}),(0,l.jsx)(s.td,{children:"Cancel a scheduled task"}),(0,l.jsx)(s.td,{children:"Scheduler"})]}),(0,l.jsxs)(s.tr,{children:[(0,l.jsx)(s.td,{children:(0,l.jsx)(s.code,{children:"budget_status"})}),(0,l.jsx)(s.td,{children:"Check token budget usage"}),(0,l.jsx)(s.td,{children:"System"})]})]})]})]})}function x(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},8453(e,s,d){d.d(s,{R:()=>r,x:()=>n});var t=d(6540);let l={},i=t.createContext(l);function r(e){let s=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function n(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:r(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/f3244ec3.1f244bc7.js b/docs/assets/js/f3244ec3.8a7d6a78.js
similarity index 63%
rename from docs/assets/js/f3244ec3.1f244bc7.js
rename to docs/assets/js/f3244ec3.8a7d6a78.js
index 2f465ced..b63c56fb 100644
--- a/docs/assets/js/f3244ec3.1f244bc7.js
+++ b/docs/assets/js/f3244ec3.8a7d6a78.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["600"],{9674(e,s,t){t.r(s),t.d(s,{metadata:()=>r,default:()=>u,frontMatter:()=>a,contentTitle:()=>i,toc:()=>c,assets:()=>o});var r=JSON.parse('{"id":"releases/releases","title":"Releases","description":"This section tracks Mercury release notes by version.","source":"@site/docs/releases/releases.mdx","sourceDirName":"releases","slug":"/releases/","permalink":"/docs/releases/","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/releases.mdx","tags":[],"version":"current","frontMatter":{"id":"releases","title":"Releases"},"sidebar":"docsSidebar","previous":{"title":"Skills","permalink":"/docs/reference/skills"},"next":{"title":"v1.1.6","permalink":"/docs/releases/1.1.6"}}'),l=t(4848),n=t(8453);let a={id:"releases",title:"Releases"},i,o={},c=[{value:"Available release notes",id:"available-release-notes",level:2}];function d(e){let s={a:"a",h2:"h2",li:"li",p:"p",ul:"ul",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.p,{children:"This section tracks Mercury release notes by version."}),"\n",(0,l.jsx)(s.h2,{id:"available-release-notes",children:"Available release notes"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsx)(s.li,{children:(0,l.jsx)(s.a,{href:"/docs/releases/1.1.6",children:"v1.1.6"})}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},8453(e,s,t){t.d(s,{R:()=>a,x:()=>i});var r=t(6540);let l={},n=r.createContext(l);function a(e){let s=r.useContext(n);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),r.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["600"],{9674(e,s,t){t.r(s),t.d(s,{metadata:()=>r,default:()=>u,frontMatter:()=>a,contentTitle:()=>i,toc:()=>c,assets:()=>o});var r=JSON.parse('{"id":"releases/releases","title":"Releases","description":"This section tracks Mercury release notes by version.","source":"@site/docs/releases/releases.mdx","sourceDirName":"releases","slug":"/releases/","permalink":"/docs/releases/","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/releases.mdx","tags":[],"version":"current","frontMatter":{"id":"releases","title":"Releases"},"sidebar":"docsSidebar","previous":{"title":"Skills","permalink":"/docs/reference/skills"},"next":{"title":"v1.1.7","permalink":"/docs/releases/1.1.7"}}'),l=t(4848),n=t(8453);let a={id:"releases",title:"Releases"},i,o={},c=[{value:"Available release notes",id:"available-release-notes",level:2}];function d(e){let s={a:"a",h2:"h2",li:"li",p:"p",ul:"ul",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.p,{children:"This section tracks Mercury release notes by version."}),"\n",(0,l.jsx)(s.h2,{id:"available-release-notes",children:"Available release notes"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsx)(s.li,{children:(0,l.jsx)(s.a,{href:"/docs/releases/1.1.7",children:"v1.1.7"})}),"\n",(0,l.jsx)(s.li,{children:(0,l.jsx)(s.a,{href:"/docs/releases/1.1.6",children:"v1.1.6"})}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},8453(e,s,t){t.d(s,{R:()=>a,x:()=>i});var r=t(6540);let l={},n=r.createContext(l);function a(e){let s=r.useContext(n);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),r.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/main.9c9b74b1.js b/docs/assets/js/main.3003b0c1.js
similarity index 94%
rename from docs/assets/js/main.9c9b74b1.js
rename to docs/assets/js/main.3003b0c1.js
index c4391457..8c9d3251 100644
--- a/docs/assets/js/main.9c9b74b1.js
+++ b/docs/assets/js/main.3003b0c1.js
@@ -1,4 +1,4 @@
-(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["889"],{7612(e,t,n){"use strict";n.r(t)},6464(e,t,n){"use strict";n.r(t)},6448(e,t,n){"use strict";n.r(t)},3328(e,t,n){"use strict";n.d(t,{AO:()=>f,yJ:()=>p,sC:()=>T,TM:()=>C,zR:()=>w});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}let i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;"string"==typeof e?(s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var h=!!("u">typeof window&&window.document&&window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,A=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return A&&(o=c(o,A)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,E)}var T=m();function j(e){(0,r.A)(B,e),B.length=n.length,T.notifyListeners(B.location,B.action)}function P(e){(void 0!==e.state||-1!==navigator.userAgent.indexOf("CriOS"))&&O(C(e.state))}function N(){O(C(v()))}var R=!1;function O(e){R?(R=!1,j()):T.confirmTransitionTo(e,"POP",x,function(t){var n,r,a,o,i;t?j({action:"POP",location:e}):(n=e,r=B.location,-1===(a=D.indexOf(r.key))&&(a=0),-1===(o=D.indexOf(n.key))&&(o=0),(i=a-o)&&(R=!0,M(i)))})}var L=C(v()),D=[L.key];function I(e){return A+f(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(y,P),o&&window.addEventListener(b,N)):0===F&&(window.removeEventListener(y,P),o&&window.removeEventListener(b,N))}var $=!1,B={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r="PUSH",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf(B.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,j({action:r,location:o})}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf(B.location.key);-1!==s&&(D[s]=o.key),j({action:r,location:o})}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return $||(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=T.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return -1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function A(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=x[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(E());return u&&(e=c(e,u)),p(e)}var C=m();function _(e){(0,r.A)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var T=!1,j=null;function P(){var e=E(),t=b(e);if(e!==t)A(t);else{var n,r=w(),a=z.location;if(!T&&a.pathname===r.pathname&&a.search===r.search&&a.hash===r.hash||j===f(r))return;j=null,n=r,T?(T=!1,_()):C.confirmTransitionTo(n,"POP",o,function(e){var t,r,a,o,i;e?_({action:"POP",location:n}):(t=n,r=z.location,-1===(a=L.lastIndexOf(f(r)))&&(a=0),-1===(o=L.lastIndexOf(f(t)))&&(o=0),(i=a-o)&&(T=!0,D(i)))})}}var N=E(),R=b(N);N!==R&&A(R);var O=w(),L=[f(O)];function D(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(k,P):0===I&&window.removeEventListener(k,P)}var F=!1,z={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);if(E()!==a){j=t,window.location.hash=a;var o=L.lastIndexOf(f(z.location)),i=L.slice(0,o+1);i.push(t),L=i,_({action:n,location:r})}else _()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);E()!==a&&(j=t,A(a));var o=L.indexOf(f(z.location));-1!==o&&(L[o]=t),_({action:n,location:r})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(M(1),F=!0),function(){return F&&(F=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=m();function c(e){(0,r.A)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=_(void 0===i?0:i,0,o.length-1),g=o.map(function(e){return"string"==typeof e?p(e,void 0,d()):p(e,void 0,e.key||d())});function y(e){var t=_(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:f,push:function(e,t){var r="PUSH",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},4146(e,t,n){"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var y=i[g];if(!o[y]&&!(r&&r[y])&&!(h&&h[y])&&!(l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(e){}}}}return t}},311(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},689(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var n=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||n||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){--r||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};l||u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;else if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){e.handled||a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}}()},5947(e){var t;t=function(){var e,t,n,r={};r.version="0.2.0";var a=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=o(e,a.minimum,1))?null:e;var n=r.render(!t),s=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,i(function(t){var o,i,d,f;""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),l(s,(o=e,i=u,d=c,(f="translate3d"===a.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===a.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+i+"ms "+d,f)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":(-1+(r.status||0))*100,s=document.querySelector(a.parent);return l(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&f(n),s!=document.body&&u(s,"nprogress-custom-parent"),s.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){var o;r=t[o=(o=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(o)),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);s(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(t):e.exports=t()},5302(e,t,n){var r=n(4634);e.exports=function e(t,n,a){if(r(n)||(a=n||a,n=[]),a=a||{},t instanceof RegExp){var i,l,s=n,d=t.source.match(/\((?!\?)/g);if(d)for(var f=0;f<d.length;f++)s.push({name:f,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return t.keys=s,t}if(r(t)){for(var p,m=n,h=a,g=[],y=0;y<t.length;y++)g.push(e(t[y],m,h).source);return(p=RegExp("(?:"+g.join("|")+")",u(h))).keys=m,p}return i=n,c(o(t,l=a),i,l)},e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=c;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c,d,f=n[0],p=n[1],m=n.index;if(l+=e.slice(i,m),i=m+f.length,p){l+=p[1];continue}var h=e[i],g=n[2],y=n[3],b=n[4],v=n[5],w=n[6],k=n[7];l&&(r.push(l),l="");var x=null!=g&&null!=h&&h!==g,S="+"===w||"*"===w,E="?"===w||"*"===w,A=g||u,C=b||v,_=g||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:y||o++,prefix:g||"",delimiter:A,optional:E,repeat:S,partial:x,asterisk:!!k,pattern:C?C.replace(/([=!:$\/()])/g,"\\$1"):k?".*":(c=A,!(d=_)||d.indexOf(c)>-1?"[^"+s(c)+"]+?":s(d)+"|(?:(?!"+s(d)+")[^"+s(c)+"])+?")})}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e,t){for(var n=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",u(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var f=l[d.name];if(null==f)if(d.optional){d.partial&&(o+=d.prefix);continue}else throw TypeError('Expected "'+d.name+'" to be defined');if(r(f)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length)if(d.optional)continue;else throw TypeError('Expected "'+d.name+'" to not be empty');for(var p=0;p<f.length;p++){if(c=s(f[p]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(f),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function c(e,t,n){r(t)||(n=t||n,t=[]);for(var a,o=(n=n||{}).strict,i=!1!==n.end,l="",c=0;c<e.length;c++){var d=e[c];if("string"==typeof d)l+=s(d);else{var f=s(d.prefix),p="(?:"+d.pattern+")";t.push(d),d.repeat&&(p+="(?:"+f+p+")*"),l+=p=d.optional?d.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=s(n.delimiter||"/"),h=l.slice(-m.length)===m;return o||(l=(h?l.slice(0,-m.length):l)+"(?:"+m+"(?=$))?"),i?l+="$":l+=o&&h?"":"(?="+m+"|$)",(a=RegExp("^"+l,u(n))).keys=t,a}},6969(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041A\u0443\u041C\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722(e,t,n){let r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter(e=>"meta"!=e):Array.isArray(e)||(e=[e]),a(r,e,[...o,...Object.keys(Prism.languages)]).load(e=>{if(!(e in r.languages)){i.silent||console.warn("Language does not exist: "+e);return}let t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)})}i.silent=!1,e.exports=i},9700(){var e=Prism;function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})},3157(e,t,n){var r={"./":"8722"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380(e){"use strict";e.exports=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}return function(r,a,o){var i,l,s,u,c=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(r),d=function(e){if(e in c)return e;if(!i)for(var n in i={},c){var r=c[n];t(r&&r.alias,function(e){if(e in i)throw Error(e+" cannot be alias for both "+n+" and "+i[e]);if(e in c)throw Error(e+" cannot be alias of "+n+" because it is a component.");i[e]=n})}return i[e]||e};a=a.map(d),o=(o||[]).map(d);var f=n(a),p=n(o);a.forEach(function e(n){var r=c[n];t(r&&r.require,function(t){t in p||(f[t]=!0,e(t))})});for(var m=(l={},s=[],function(e){var n=l[e];return n||(!function e(n,r){if(!(n in l)){r.push(n);var a=r.indexOf(n);if(a<r.length-1)throw Error("Circular dependency: "+r.slice(a).join(" -> "));var o={},i=c[n];if(i){function s(t){if(!(t in c))throw Error(n+" depends on an unknown component "+t);if(!(t in o))for(var a in e(t,r),o[t]=!0,l[t])o[a]=!0}t(i.require,s),t(i.optional,s),t(i.modify,s)}l[n]=o,r.pop()}}(e,s),n=l[e]),n}),h=f;function(e){for(var t in e)return!0;return!1}(h);){for(var g in u={},h){var y=c[g];t(y&&y.modify,function(e){e in p&&(u[e]=!0)})}for(var b in p)if(!(b in f)){for(var v in m(b))if(v in f){u[b]=!0;break}}for(var w in h=u)f[w]=!0}var k={getIds:function(){var e=[];return k.load(function(t){e.push(t)}),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};for(var u in n)!function e(a){if(a in l)return l[a];s[a]=!0;var u,c=[];for(var d in t(a))d in n&&c.push(d);if(0===c.length)u=r(a);else{var f=i(c.map(function(t){var n=e(t);return delete s[t],n}));o?u=o(f,function(){return r(a)}):r(a)}return l[a]=u}(u);var c=[];for(var d in s)c.push(l[d]);return i(c)}(m,f,t,n)}};return k}}()},2694(e,t,n){"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1247(e,t,n){"use strict";var r,a=n(9982),o=n(6540),i=n(961);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function u(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(u(e)!==e)throw Error(l(188))}var p=Object.assign,m=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var _=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var j=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var N=Symbol.for("react.client.reference"),R=Array.isArray,O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},I=[],M=-1;function F(e){return{current:e}}function z(e){0>M||(e.current=I[M],I[M]=null,M--)}function $(e,t){I[++M]=e.current,e.current=t}var B=F(null),U=F(null),q=F(null),H=F(null);function G(e,t){switch($(q,t),$(U,e),$(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uw(t=uv(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(B),$(B,e)}function W(){z(B),z(U),z(q)}function V(e){null!==e.memoizedState&&$(H,e);var t=B.current,n=uw(t,e.type);t!==n&&($(U,e),$(B,n))}function Q(e){U.current===e&&(z(B),z(U)),H.current===e&&(z(H),cn._currentValue=D)}function K(e){if(void 0===tM)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tM=t&&t[1]||"",tF=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tM+e+tF}var Y=!1;function Z(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),i=o[0],l=o[1];if(i&&l){var s=i.split("\n"),u=l.split("\n");for(a=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===s.length||a===u.length)for(r=s.length-1,a=u.length-1;1<=r&&0<=a&&s[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(s[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||s[r]!==u[a]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{Y=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?K(n):""}function X(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return K(e.type);case 16:return K("Lazy");case 13:return e.child!==t&&null!==t?K("Suspense Fallback"):K("Suspense");case 19:return K("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return K("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var J=Object.prototype.hasOwnProperty,ee=a.unstable_scheduleCallback,et=a.unstable_cancelCallback,en=a.unstable_shouldYield,er=a.unstable_requestPaint,ea=a.unstable_now,eo=a.unstable_getCurrentPriorityLevel,ei=a.unstable_ImmediatePriority,el=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,eu=a.unstable_LowPriority,ec=a.unstable_IdlePriority,ed=a.log,ef=a.unstable_setDisableYieldValue,ep=null,em=null;function eh(e){if("function"==typeof ed&&ef(e),em&&"function"==typeof em.setStrictMode)try{em.setStrictMode(ep,e)}catch(e){}}var eg=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ey(e)/eb|0)|0},ey=Math.log,eb=Math.LN2,ev=256,ew=262144,ek=4194304;function ex(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eS(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~o)?a=ex(r):0!=(i&=l)?a=ex(i):n||0!=(n=l&~e)&&(a=ex(n)):0!=(l=r&~o)?a=ex(l):0!==i?a=ex(i):n||0!=(n=r&~e)&&(a=ex(n)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(n=t&-t)||32===o&&0!=(4194048&n))?t:a}function eE(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eA(){var e=ek;return 0==(0x3c00000&(ek<<=1))&&(ek=4194304),e}function eC(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function e_(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eT(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eg(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ej(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eg(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eP(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eN(n))&(e.suspendedLanes|t))?0:n}function eN(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eR(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eO(){var e=L.p;return 0!==e?e:void 0===(e=window.event)?32:cy(e.type)}function eL(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var eD=Math.random().toString(36).slice(2),eI="__reactFiber$"+eD,eM="__reactProps$"+eD,eF="__reactContainer$"+eD,ez="__reactEvents$"+eD,e$="__reactListeners$"+eD,eB="__reactHandles$"+eD,eU="__reactResources$"+eD,eq="__reactMarker$"+eD;function eH(e){delete e[eI],delete e[eM],delete e[ez],delete e[e$],delete e[eB]}function eG(e){var t=e[eI];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eF]||n[eI]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uF(e);null!==e;){if(n=e[eI])return n;e=uF(e)}return t}n=(e=n).parentNode}return null}function eW(e){if(e=e[eI]||e[eF]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function eV(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function eQ(e){var t=e[eU];return t||(t=e[eU]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eK(e){e[eq]=!0}var eY=new Set,eZ={};function eX(e,t){eJ(e,t),eJ(e+"Capture",t)}function eJ(e,t){for(eZ[e]=t,e=0;e<t.length;e++)eY.add(t[e])}var e0=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),e1={},e2={};function e4(e,t,n){if(J.call(e2,t)||!J.call(e1,t)&&(e0.test(t)?e2[t]=!0:(e1[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function e3(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function e5(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function e8(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e6(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e9(e){if(!e._valueTracker){var t=e6(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function e7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e6(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function te(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tt=/[\n"\\]/g;function tn(e){return e.replace(tt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tr(e,t,n,r,a,o,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e8(t)):e.value!==""+e8(t)&&(e.value=""+e8(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?to(e,i,e8(t)):null!=n?to(e,i,e8(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+e8(l):e.removeAttribute("name")}function ta(e,t,n,r,a,o,i,l){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void e9(e);n=null!=n?""+e8(n):"",t=null!=t?""+e8(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),e9(e)}function to(e,t,n){"number"===t&&te(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ti(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(a=0,n=""+e8(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tl(e,t,n){if(null!=t&&((t=""+e8(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+e8(n):""}function ts(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(R(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=e8(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),e9(e)}function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function td(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tc.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tf(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&td(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&td(e,o,t[o])}function tp(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),th=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tg(e){return th.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ty(){}var tb=null;function tv(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tw=null,tk=null;function tx(e){var t=eW(e);if(t&&(e=t.stateNode)){var n=e[eM]||null;switch(e=t.stateNode,t.type){case"input":if(tr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eM]||null;if(!a)throw Error(l(90));tr(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&e7(r)}break;case"textarea":tl(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&ti(e,!!n.multiple,t,!1)}}}var tS=!1;function tE(e,t,n){if(tS)return e(t,n);tS=!0;try{return e(t)}finally{if(tS=!1,(null!==tw||null!==tk)&&(sp(),tw&&(t=tw,e=tk,tk=tw=null,tx(t),e)))for(t=0;t<e.length;t++)tx(e[t])}}function tA(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eM]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tC="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,t_=!1;if(tC)try{var tT={};Object.defineProperty(tT,"passive",{get:function(){t_=!0}}),window.addEventListener("test",tT,tT),window.removeEventListener("test",tT,tT)}catch(e){t_=!1}var tj=null,tP=null,tN=null;function tR(){if(tN)return tN;var e,t,n=tP,r=n.length,a="value"in tj?tj.value:tj.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return tN=a.slice(e,1<t?1-t:void 0)}function tO(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tL(){return!0}function tD(){return!1}function tI(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tL:tD,this.isPropagationStopped=tD,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tL)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tL)},persist:function(){},isPersistent:tL}),t}var tM,tF,tz,t$,tB,tU={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tq=tI(tU),tH=p({},tU,{view:0,detail:0}),tG=tI(tH),tW=p({},tH,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t4,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tB&&(tB&&"mousemove"===e.type?(tz=e.screenX-tB.screenX,t$=e.screenY-tB.screenY):t$=tz=0,tB=e),tz)},movementY:function(e){return"movementY"in e?e.movementY:t$}}),tV=tI(tW),tQ=tI(p({},tW,{dataTransfer:0})),tK=tI(p({},tH,{relatedTarget:0})),tY=tI(p({},tU,{animationName:0,elapsedTime:0,pseudoElement:0})),tZ=tI(p({},tU,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tX=tI(p({},tU,{data:0})),tJ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},t0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t1[e])&&!!t[e]}function t4(){return t2}var t3=tI(p({},tH,{key:function(e){if(e.key){var t=tJ[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tO(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?t0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t4,charCode:function(e){return"keypress"===e.type?tO(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tO(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tI(p({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t8=tI(p({},tH,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t4})),t6=tI(p({},tU,{propertyName:0,elapsedTime:0,pseudoElement:0})),t9=tI(p({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t7=tI(p({},tU,{newState:0,oldState:0})),ne=[9,13,27,32],nt=tC&&"CompositionEvent"in window,nn=null;tC&&"documentMode"in document&&(nn=document.documentMode);var nr=tC&&"TextEvent"in window&&!nn,na=tC&&(!nt||nn&&8<nn&&11>=nn),no=!1;function ni(e,t){switch(e){case"keyup":return -1!==ne.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nl(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ns=!1,nu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nu[e.type]:"textarea"===t}function nd(e,t,n,r){tw?tk?tk.push(r):tk=[r]:tw=r,0<(t=uo(t,"onChange")).length&&(n=new tq("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nf=null,np=null;function nm(e){s6(e,0)}function nh(e){if(e7(eV(e)))return e}function ng(e,t){if("change"===e)return t}var ny=!1;if(tC){if(tC){var nb="oninput"in document;if(!nb){var nv=document.createElement("div");nv.setAttribute("oninput","return;"),nb="function"==typeof nv.oninput}r=nb}else r=!1;ny=r&&(!document.documentMode||9<document.documentMode)}function nw(){nf&&(nf.detachEvent("onpropertychange",nk),np=nf=null)}function nk(e){if("value"===e.propertyName&&nh(np)){var t=[];nd(t,np,e,tv(e)),tE(nm,t)}}function nx(e,t,n){"focusin"===e?(nw(),nf=t,np=n,nf.attachEvent("onpropertychange",nk)):"focusout"===e&&nw()}function nS(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nh(np)}function nE(e,t){if("click"===e)return nh(t)}function nA(e,t){if("input"===e||"change"===e)return nh(t)}var nC="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function n_(e,t){if(nC(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!J.call(t,a)||!nC(e[a],t[a]))return!1}return!0}function nT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nj(e,t){var n,r=nT(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nT(r)}}function nP(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=te(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=te(e.document)}return t}function nN(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nR=tC&&"documentMode"in document&&11>=document.documentMode,nO=null,nL=null,nD=null,nI=!1;function nM(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nI||null==nO||nO!==te(r)||(r="selectionStart"in(r=nO)&&nN(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nD&&n_(nD,r)||(nD=r,0<(r=uo(nL,"onSelect")).length&&(t=new tq("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nO)))}function nF(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nz={animationend:nF("Animation","AnimationEnd"),animationiteration:nF("Animation","AnimationIteration"),animationstart:nF("Animation","AnimationStart"),transitionrun:nF("Transition","TransitionRun"),transitionstart:nF("Transition","TransitionStart"),transitioncancel:nF("Transition","TransitionCancel"),transitionend:nF("Transition","TransitionEnd")},n$={},nB={};function nU(e){if(n$[e])return n$[e];if(!nz[e])return e;var t,n=nz[e];for(t in n)if(n.hasOwnProperty(t)&&t in nB)return n$[e]=n[t];return e}tC&&(nB=document.createElement("div").style,"AnimationEvent"in window||(delete nz.animationend.animation,delete nz.animationiteration.animation,delete nz.animationstart.animation),"TransitionEvent"in window||delete nz.transitionend.transition);var nq=nU("animationend"),nH=nU("animationiteration"),nG=nU("animationstart"),nW=nU("transitionrun"),nV=nU("transitionstart"),nQ=nU("transitioncancel"),nK=nU("transitionend"),nY=new Map,nZ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function nX(e,t){nY.set(e,t),eX(t,[e])}nZ.push("scrollEnd");var nJ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},n0=[],n1=0,n2=0;function n4(){for(var e=n1,t=n2=n1=0;t<e;){var n=n0[t];n0[t++]=null;var r=n0[t];n0[t++]=null;var a=n0[t];n0[t++]=null;var o=n0[t];if(n0[t++]=null,null!==r&&null!==a){var i=r.pending;null===i?a.next=a:(a.next=i.next,i.next=a),r.pending=a}0!==o&&n6(n,a,o)}}function n3(e,t,n,r){n0[n1++]=e,n0[n1++]=t,n0[n1++]=n,n0[n1++]=r,n2|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function n5(e,t,n,r){return n3(e,t,n,r),n9(e)}function n8(e,t){return n3(e,null,null,t),n9(e)}function n6(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eg(n),null===(r=(e=o.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),o):null}function n9(e){if(50<so)throw so=0,si=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var n7={};function re(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rt(e,t,n,r){return new re(e,t,n,r)}function rn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rr(e,t){var n=e.alternate;return null===n?((n=rt(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x3e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ra(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ro(e,t,n,r,a,o){var i=0;if(r=e,"function"==typeof e)rn(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,B.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case _:return(e=rt(31,n,t,a)).elementType=_,e.lanes=o,e;case y:return ri(n.children,a,o,t);case b:i=8,a|=24;break;case v:return(e=rt(12,n,t,2|a)).elementType=v,e.lanes=o,e;case S:return(e=rt(13,n,t,a)).elementType=S,e.lanes=o,e;case E:return(e=rt(19,n,t,a)).elementType=E,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:i=10;break e;case w:i=9;break e;case x:i=11;break e;case A:i=14;break e;case C:i=16,r=null;break e}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rt(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function ri(e,t,n,r){return(e=rt(7,e,r,t)).lanes=n,e}function rl(e,t,n){return(e=rt(6,e,null,t)).lanes=n,e}function rs(e){var t=rt(18,null,null,0);return t.stateNode=e,t}function ru(e,t,n){return(t=rt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rc=new WeakMap;function rd(e,t){if("object"==typeof e&&null!==e){var n=rc.get(e);return void 0!==n?n:(t={value:e,source:t,stack:X(t)},rc.set(e,t),t)}return{value:e,source:t,stack:X(t)}}var rf=[],rp=0,rm=null,rh=0,rg=[],ry=0,rb=null,rv=1,rw="";function rk(e,t){rf[rp++]=rh,rf[rp++]=rm,rm=e,rh=t}function rx(e,t,n){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rb=e;var r=rv;e=rw;var a=32-eg(r)-1;r&=~(1<<a),n+=1;var o=32-eg(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,rv=1<<32-eg(t)+a|n<<a|r,rw=o+e}else rv=1<<o|n<<a|r,rw=e}function rS(e){null!==e.return&&(rk(e,1),rx(e,1,0))}function rE(e){for(;e===rm;)rm=rf[--rp],rf[rp]=null,rh=rf[--rp],rf[rp]=null;for(;e===rb;)rb=rg[--ry],rg[ry]=null,rw=rg[--ry],rg[ry]=null,rv=rg[--ry],rg[ry]=null}function rA(e,t){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rv=t.id,rw=t.overflow,rb=e}var rC=null,r_=null,rT=!1,rj=null,rP=!1,rN=Error(l(519));function rR(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw rF(rd(t,e)),rN}function rO(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eI]=e,t[eM]=r,n){case"dialog":s9("cancel",t),s9("close",t);break;case"iframe":case"object":case"embed":s9("load",t);break;case"video":case"audio":for(n=0;n<s5.length;n++)s9(s5[n],t);break;case"source":s9("error",t);break;case"img":case"image":case"link":s9("error",t),s9("load",t);break;case"details":s9("toggle",t);break;case"input":s9("invalid",t),ta(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":s9("invalid",t);break;case"textarea":s9("invalid",t),ts(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ud(t.textContent,n)?(null!=r.popover&&(s9("beforetoggle",t),s9("toggle",t)),null!=r.onScroll&&s9("scroll",t),null!=r.onScrollEnd&&s9("scrollend",t),null!=r.onClick&&(t.onclick=ty),t=!0):t=!1,t||rR(e,!0)}function rL(e){for(rC=e.return;rC;)switch(rC.tag){case 5:case 31:case 13:rP=!1;return;case 27:case 3:rP=!0;return;default:rC=rC.return}}function rD(e){if(e!==rC)return!1;if(!rT)return rL(e),rT=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||uk(e.type,e.memoizedProps)),t=!t),t&&r_&&rR(e),rL(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else 27===n?(n=r_,uT(e.type)?(e=uI,uI=null,r_=e):r_=n):r_=rC?uD(e.stateNode.nextSibling):null;return!0}function rI(){r_=rC=null,rT=!1}function rM(){var e=rj;return null!==e&&(null===l1?l1=e:l1.push.apply(l1,e),rj=null),e}function rF(e){null===rj?rj=[e]:rj.push(e)}var rz=F(null),r$=null,rB=null;function rU(e,t,n){$(rz,t._currentValue),t._currentValue=n}function rq(e){e._currentValue=rz.current,z(rz)}function rH(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rG(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;e:for(;null!==o;){var s=o;o=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),rH(o.return,n,e),r||(i=null);break e}o=s.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(l(341));i.lanes|=n,null!==(o=i.alternate)&&(o.lanes|=n),rH(i,n,e),i=null}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function rW(e,t,n,r){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=a.type;nC(a.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(a===H.current){if(null===(i=a.alternate))throw Error(l(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(cn):e=[cn])}a=a.return}null!==e&&rG(t,e,n,r),t.flags|=262144}function rV(e){for(e=e.firstContext;null!==e;){if(!nC(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rQ(e){r$=e,rB=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function rK(e){return rZ(r$,e)}function rY(e,t){return null===r$&&rQ(e),rZ(e,t)}function rZ(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===rB){if(null===e)throw Error(l(308));rB=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rB=rB.next=t;return n}var rX="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},rJ=a.unstable_scheduleCallback,r0=a.unstable_NormalPriority,r1={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function r2(){return{controller:new rX,data:new Map,refCount:0}}function r4(e){e.refCount--,0===e.refCount&&rJ(r0,function(){e.controller.abort()})}var r3=null,r5=0,r8=0,r6=null;function r9(){if(0==--r5&&null!==r3){null!==r6&&(r6.status="fulfilled");var e=r3;r3=null,r8=0,r6=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var r7=O.S;O.S=function(e,t){l3=ea(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===r3){var t=r3=[];r5=0,r8=s0(),r6={status:"pending",value:void 0,then:function(e){t.push(e)}}}r5++,e.then(r9,r9)}(t),null!==r7&&r7(e,t)};var ae=F(null);function at(){var e=ae.current;return null!==e?e:lz.pooledCache}function an(e,t){null===t?$(ae,ae.current):$(ae,t.pool)}function ar(){var e=at();return null===e?null:{parent:r1._currentValue,pool:e}}var aa=Error(l(460)),ao=Error(l(474)),al=Error(l(542)),as={then:function(){}};function au(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ac(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ty,ty),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e;default:if("string"==typeof t.status)t.then(ty,ty);else{if(null!==(e=lz)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e}throw af=t,aa}}function ad(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw af=e,aa;throw e}}var af=null;function ap(){if(null===af)throw Error(l(459));var e=af;return af=null,e}function am(e){if(e===aa||e===al)throw Error(l(483))}var ah=null,ag=0;function ay(e){var t=ag;return ag+=1,null===ah&&(ah=[]),ac(ah,e,t)}function ab(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function av(e,t){if(t.$$typeof===m)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aw(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=rr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x4000002,n):r:(t.flags|=0x4000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rl(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var o=n.type;return o===y?d(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&ad(o)===t.type)?ab(t=a(t,n.props),n):ab(t=ro(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ru(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,o){return null===t||7!==t.tag?(t=ri(n,e.mode,r,o)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return ab(n=ro(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=ru(t,e.mode,n)).return=e,t;case C:return f(e,t=ad(t),n)}if(R(t)||P(t))return(t=ri(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,ay(t),n);if(t.$$typeof===k)return f(e,rY(e,t),n);av(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===a?u(e,t,n,r):null;case g:return n.key===a?c(e,t,n,r):null;case C:return p(e,t,n=ad(n),r)}if(R(n)||P(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,ay(n),r);if(n.$$typeof===k)return p(e,t,rY(e,n),r);av(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case C:return m(e,t,n,r=ad(r),a)}if(R(r)||P(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return m(e,t,n,ay(r),a);if(r.$$typeof===k)return m(e,t,n,rY(t,r),a);av(t,r)}return null}return function(s,u,c,d){try{ag=0;var b=function s(u,c,d,b){if("object"==typeof d&&null!==d&&d.type===y&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case h:e:{for(var v=d.key;null!==c;){if(c.key===v){if((v=d.type)===y){if(7===c.tag){n(u,c.sibling),(b=a(c,d.props.children)).return=u,u=b;break e}}else if(c.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===C&&ad(v)===c.type){n(u,c.sibling),ab(b=a(c,d.props),d),b.return=u,u=b;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===y?(b=ri(d.props.children,u.mode,b,d.key)).return=u:(ab(b=ro(d.type,d.key,d.props,null,u.mode,b),d),b.return=u),u=b}return i(u);case g:e:{for(v=d.key;null!==c;){if(c.key===v)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(b=a(c,d.children||[])).return=u,u=b;break e}else{n(u,c);break}t(u,c),c=c.sibling}(b=ru(d,u.mode,b)).return=u,u=b}return i(u);case C:return s(u,c,d=ad(d),b)}if(R(d))return function(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=p(a,d,l[h],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===l.length)return n(a,d),rT&&rk(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return rT&&rk(a,h),u}for(d=r(d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rT&&rk(a,h),u}(u,c,d,b);if(P(d)){if("function"!=typeof(v=P(d)))throw Error(l(150));return function(a,i,s,u){if(null==s)throw Error(l(151));for(var c=null,d=null,h=i,g=i=0,y=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=p(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),i=o(v,i,g),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),rT&&rk(a,g),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=f(a,b.value,u))&&(i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return rT&&rk(a,g),c}for(h=r(h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(a,e)}),rT&&rk(a,g),c}(u,c,d=v.call(d),b)}if("function"==typeof d.then)return s(u,c,ay(d),b);if(d.$$typeof===k)return s(u,c,rY(u,d),b);av(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(b=a(c,d)).return=u):(n(u,c),(b=rl(d,u.mode,b)).return=u),i(u=b)):n(u,c)}(s,u,c,d);return ah=null,b}catch(e){if(e===aa||e===al)throw e;var v=rt(29,e,null,s.mode);return v.lanes=d,v.return=s,v}finally{}}}var ak=aw(!0),ax=aw(!1),aS=!1;function aE(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aA(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aC(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function a_(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lF)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=n9(e),n6(e,null,n),t}return n3(e,r,t,n),n9(e)}function aT(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ej(e,n)}}function aj(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n)null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aP=!1;function aN(){if(aP){var e=r6;if(null!==e)throw e}}function aR(e,t,n,r){aP=!1;var a=e.updateQueue;aS=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=-0x20000001&l.lane,m=f!==l.lane;if(m?(lB&f)===f:(r&f)===f){0!==f&&f===r8&&(aP=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,g=l;switch(f=t,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(n,d,f):h))break e;d=p({},d,f);break e;case 2:aS=!0}}null!==(f=l.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=a.callbacks)?a.callbacks=[f]:m.push(f))}else m={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=m,s=d):c=c.next=m,i|=f;if(null===(l=l.next))if(null===(l=a.shared.pending))break;else l=(m=l).next,m.next=null,a.lastBaseUpdate=m,a.shared.pending=null}null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),lK|=i,e.lanes=i,e.memoizedState=d}}function aO(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function aL(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aO(n[e],t)}var aD=F(null),aI=F(0);function aM(e,t){$(aI,e=lV),$(aD,t),lV=e|t.baseLanes}function aF(){$(aI,lV),$(aD,aD.current)}function az(){lV=aI.current,z(aD),z(aI)}var a$=F(null),aB=null;function aU(e){var t=e.alternate;$(aV,1&aV.current),$(a$,e),null===aB&&(null===t||null!==aD.current?aB=e:null!==t.memoizedState&&(aB=e))}function aq(e){$(aV,aV.current),$(a$,e),null===aB&&(aB=e)}function aH(e){22===e.tag?($(aV,aV.current),$(a$,e),null===aB&&(aB=e)):aG(e)}function aG(){$(aV,aV.current),$(a$,a$.current)}function aW(e){z(a$),aB===e&&(aB=null),z(aV)}var aV=F(0);function aQ(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||uO(n)||uL(n)))return t}else if(19===t.tag&&("forwards"===t.memoizedProps.revealOrder||"backwards"===t.memoizedProps.revealOrder||"unstable_legacy-backwards"===t.memoizedProps.revealOrder||"together"===t.memoizedProps.revealOrder)){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aK=0,aY=null,aZ=null,aX=null,aJ=!1,a0=!1,a1=!1,a2=0,a4=0,a3=null,a5=0;function a8(){throw Error(l(321))}function a6(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nC(e[n],t[n]))return!1;return!0}function a9(e,t,n,r,a,o){return aK=o,aY=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?io:ii,a1=!1,o=n(r,a),a1=!1,a0&&(o=oe(t,n,r,a)),a7(e),o}function a7(e){O.H=ia;var t=null!==aZ&&null!==aZ.next;if(aK=0,aX=aZ=aY=null,aJ=!1,a4=0,a3=null,t)throw Error(l(300));null===e||iS||null!==(e=e.dependencies)&&rV(e)&&(iS=!0)}function oe(e,t,n,r){aY=e;var a=0;do{if(a0&&(a3=null),a4=0,a0=!1,25<=a)throw Error(l(301));if(a+=1,aX=aZ=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}O.H=il,o=t(n,r)}while(a0)return o}function ot(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?os(t):t,e=e.useState()[0],(null!==aZ?aZ.memoizedState:null)!==e&&(aY.flags|=1024),t}function on(){var e=0!==a2;return a2=0,e}function or(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function oa(e){if(aJ){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}aJ=!1}aK=0,aX=aZ=aY=null,a0=!1,a4=a2=0,a3=null}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aX?aY.memoizedState=aX=e:aX=aX.next=e,aX}function oi(){if(null===aZ){var e=aY.alternate;e=null!==e?e.memoizedState:null}else e=aZ.next;var t=null===aX?aY.memoizedState:aX.next;if(null!==t)aX=t,aZ=e;else{if(null===e){if(null===aY.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(aZ=e).memoizedState,baseState:aZ.baseState,baseQueue:aZ.baseQueue,queue:aZ.queue,next:null},null===aX?aY.memoizedState=aX=e:aX=aX.next=e}return aX}function ol(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function os(e){var t=a4;return a4+=1,null===a3&&(a3=[]),e=ac(a3,e,t),t=aY,null===(null===aX?t.memoizedState:aX.next)&&(O.H=null===(t=t.alternate)||null===t.memoizedState?io:ii),e}function ou(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return os(e);if(e.$$typeof===k)return rK(e)}throw Error(l(438,String(e)))}function oc(e){var t=null,n=aY.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=aY.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=ol(),aY.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=T;return t.index++,n}function od(e,t){return"function"==typeof t?t(e):t}function of(e){return op(oi(),aZ,e)}function op(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var s=i=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(lB&f)===f:(aK&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===r8&&(d=!0);else if((aK&p)===p){c=c.next,p===r8&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,i=o):u=u.next=f,aY.lanes|=p,lK|=p;f=c.action,a1&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,i=o):u=u.next=p,aY.lanes|=f,lK|=f;c=c.next}while(null!==c&&c!==t)if(null===u?i=o:u.next=s,!nC(o,e.memoizedState)&&(iS=!0,d&&null!==(n=r6)))throw n;e.memoizedState=o,e.baseState=i,e.baseQueue=u,r.lastRenderedState=o}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function om(e){var t=oi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)nC(o,t.memoizedState)||(iS=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function oh(e,t,n){var r=aY,a=oi(),o=rT;if(o){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nC((aZ||a).memoizedState,n);if(i&&(a.memoizedState=n,iS=!0),a=a.queue,o$(ob.bind(null,r,a,e),[e]),a.getSnapshot!==t||i||null!==aX&&1&aX.memoizedState.tag){if(r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,a,n,t),null),null===lz)throw Error(l(349));o||0!=(127&aK)||og(r,t,n)}return n}function og(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=aY.updateQueue)?(t=ol(),aY.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function oy(e,t,n,r){t.value=n,t.getSnapshot=r,ov(t)&&ow(e)}function ob(e,t,n){return n(function(){ov(t)&&ow(e)})}function ov(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nC(e,n)}catch(e){return!0}}function ow(e){var t=n8(e,2);null!==t&&su(t,e,2)}function ok(e){var t=oo();if("function"==typeof e){var n=e;if(e=n(),a1){eh(!0);try{n()}finally{eh(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:e},t}function ox(e,t,n,r){return e.baseState=n,op(e,aZ,"function"==typeof r?r:od)}function oS(e,t,n,r,a){if(ie(e))throw Error(l(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==O.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,oE(t,o)):(o.next=n.next,t.pending=n.next=o)}}function oE(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var o=O.T,i={};O.T=i;try{var l=n(a,r),s=O.S;null!==s&&s(i,l),oA(e,t,l)}catch(n){o_(e,t,n)}finally{null!==o&&null!==i.types&&(o.types=i.types),O.T=o}}else try{o=n(a,r),oA(e,t,o)}catch(n){o_(e,t,n)}}function oA(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oC(e,t,n)},function(n){return o_(e,t,n)}):oC(e,t,n)}function oC(e,t,n){t.status="fulfilled",t.value=n,oT(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oE(e,n)))}function o_(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,oT(t),t=t.next;while(t!==r)}e.action=null}function oT(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oj(e,t){return t}function oP(e,t){if(rT){var n=lz.formState;if(null!==n){e:{var r=aY;if(rT){if(r_){t:{for(var a=r_,o=rP;8!==a.nodeType;)if(!o||null===(a=uD(a.nextSibling))){a=null;break t}a="F!"===(o=a.data)||"F"===o?a:null}if(a){r_=uD(a.nextSibling),r="F!"===a.data;break e}}rR(r)}r=!1}r&&(t=n[0])}}return(n=oo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oj,lastRenderedState:t},n.queue=r,n=o6.bind(null,aY,r),r.dispatch=n,r=ok(!1),o=o7.bind(null,aY,!1,r.queue),r=oo(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=oS.bind(null,aY,a,o,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function oN(e){return oR(oi(),aZ,e)}function oR(e,t,n){if(t=op(e,t,oj)[0],e=of(od)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=os(t)}catch(e){if(e===aa)throw al;throw e}else r=t;var a=(t=oi()).queue,o=a.dispatch;return n!==t.memoizedState&&(aY.flags|=2048,oD(9,{destroy:void 0},oO.bind(null,a,n),null)),[r,o,e]}function oO(e,t){e.action=t}function oL(e){var t=oi(),n=aZ;if(null!==n)return oR(t,n,e);oi(),t=t.memoizedState;var r=(n=oi()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function oD(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=aY.updateQueue)&&(t=ol(),aY.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oI(){return oi().memoizedState}function oM(e,t,n,r){var a=oo();aY.flags|=e,a.memoizedState=oD(1|t,{destroy:void 0},n,void 0===r?null:r)}function oF(e,t,n,r){var a=oi();r=void 0===r?null:r;var o=a.memoizedState.inst;null!==aZ&&null!==r&&a6(r,aZ.memoizedState.deps)?a.memoizedState=oD(t,o,n,r):(aY.flags|=e,a.memoizedState=oD(1|t,o,n,r))}function oz(e,t){oM(8390656,8,e,t)}function o$(e,t){oF(2048,8,e,t)}function oB(e){var t=oi().memoizedState,n={ref:t,nextImpl:e};aY.flags|=4;var r=aY.updateQueue;if(null===r)r=ol(),aY.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&lF))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function oU(e,t){return oF(4,2,e,t)}function oq(e,t){return oF(4,4,e,t)}function oH(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oG(e,t,n){n=null!=n?n.concat([e]):null,oF(4,4,oH.bind(null,t,e),n)}function oW(){}function oV(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&a6(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oQ(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&a6(t,r[1]))return r[0];if(r=e(),a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r}function oK(e,t,n){return void 0===n||0!=(0x40000000&aK)&&0==(261930&lB)?e.memoizedState=t:(e.memoizedState=n,e=ss(),aY.lanes|=e,lK|=e,n)}function oY(e,t,n,r){return nC(n,t)?n:null!==aD.current?(nC(e=oK(e,n,r),t)||(iS=!0),e):0==(42&aK)||0!=(0x40000000&aK)&&0==(261930&lB)?(iS=!0,e.memoizedState=n):(e=ss(),aY.lanes|=e,lK|=e,t)}function oZ(e,t,n,r,a){var o=L.p;L.p=0!==o&&8>o?o:8;var i=O.T,l={};O.T=l,o7(e,!1,t,n);try{var s=a(),u=O.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);o9(e,t,f,sl(e))}else o9(e,t,r,sl(e))}catch(n){o9(e,t,{then:function(){},status:"rejected",reason:n},sl())}finally{L.p=o,null!==i&&null!==l.types&&(i.types=l.types),O.T=i}}function oX(){}function oJ(e,t,n,r){if(5!==e.tag)throw Error(l(476));var a=o0(e).queue;oZ(e,a,t,D,null===n?oX:function(){return o1(e),n(r)})}function o0(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:D},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function o1(e){var t=o0(e);null===t.next&&(t=e.alternate.memoizedState),o9(e,t.next.queue,{},sl())}function o2(){return rK(cn)}function o4(){return oi().memoizedState}function o3(){return oi().memoizedState}function o5(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=sl(),r=a_(t,e=aC(n),n);null!==r&&(su(r,t,n),aT(r,t,n)),t={cache:r2()},e.payload=t;return}t=t.return}}function o8(e,t,n){var r=sl();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ie(e)?it(t,n):null!==(n=n5(e,t,n,r))&&(su(n,e,r),ir(n,t,r))}function o6(e,t,n){o9(e,t,n,sl())}function o9(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ie(e))it(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nC(l,i))return n3(e,t,a,0),null===lz&&n4(),!1}catch(e){}finally{}if(null!==(n=n5(e,t,a,r)))return su(n,e,r),ir(n,t,r),!0}return!1}function o7(e,t,n,r){if(r={lane:2,revertLane:s0(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ie(e)){if(t)throw Error(l(479))}else null!==(t=n5(e,n,r,2))&&su(t,e,2)}function ie(e){var t=e.alternate;return e===aY||null!==t&&t===aY}function it(e,t){a0=aJ=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ir(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ej(e,n)}}var ia={readContext:rK,use:ou,useCallback:a8,useContext:a8,useEffect:a8,useImperativeHandle:a8,useLayoutEffect:a8,useInsertionEffect:a8,useMemo:a8,useReducer:a8,useRef:a8,useState:a8,useDebugValue:a8,useDeferredValue:a8,useTransition:a8,useSyncExternalStore:a8,useId:a8,useHostTransitionStatus:a8,useFormState:a8,useActionState:a8,useOptimistic:a8,useMemoCache:a8,useCacheRefresh:a8};ia.useEffectEvent=a8;var io={readContext:rK,use:ou,useCallback:function(e,t){return oo().memoizedState=[e,void 0===t?null:t],e},useContext:rK,useEffect:oz,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,oM(4194308,4,oH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){oM(4,2,e,t)},useMemo:function(e,t){var n=oo();t=void 0===t?null:t;var r=e();if(a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=oo();if(void 0!==n){var a=n(t);if(a1){eh(!0);try{n(t)}finally{eh(!1)}}}else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=o8.bind(null,aY,e),[r.memoizedState,e]},useRef:function(e){return oo().memoizedState={current:e}},useState:function(e){var t=(e=ok(e)).queue,n=o6.bind(null,aY,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:oW,useDeferredValue:function(e,t){return oK(oo(),e,t)},useTransition:function(){var e=ok(!1);return e=oZ.bind(null,aY,e.queue,!0,!1),oo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=aY,a=oo();if(rT){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lz)throw Error(l(349));0!=(127&lB)||og(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oz(ob.bind(null,r,o,e),[e]),r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,o,n,t),null),n},useId:function(){var e=oo(),t=lz.identifierPrefix;if(rT){var n=rw,r=rv;t="_"+t+"R_"+(n=(r&~(1<<32-eg(r)-1)).toString(32)+n),0<(n=a2++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=a5++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:o2,useFormState:oP,useActionState:oP,useOptimistic:function(e){var t=oo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=o7.bind(null,aY,!0,n),n.dispatch=t,[e,t]},useMemoCache:oc,useCacheRefresh:function(){return oo().memoizedState=o5.bind(null,aY)},useEffectEvent:function(e){var t=oo(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lF))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},ii={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:of,useRef:oI,useState:function(){return of(od)},useDebugValue:oW,useDeferredValue:function(e,t){return oY(oi(),aZ.memoizedState,e,t)},useTransition:function(){var e=of(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oN,useActionState:oN,useOptimistic:function(e,t){return ox(oi(),aZ,e,t)},useMemoCache:oc,useCacheRefresh:o3};ii.useEffectEvent=oB;var il={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:om,useRef:oI,useState:function(){return om(od)},useDebugValue:oW,useDeferredValue:function(e,t){var n=oi();return null===aZ?oK(n,e,t):oY(n,aZ.memoizedState,e,t)},useTransition:function(){var e=om(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oL,useActionState:oL,useOptimistic:function(e,t){var n=oi();return null!==aZ?ox(n,aZ,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:oc,useCacheRefresh:o3};function is(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:p({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}il.useEffectEvent=oB;var iu={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sl(),r=aC(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=a_(e,r,n))&&(su(t,e,n),aT(t,e,n))}};function ic(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!n_(n,r)||!n_(a,o)}function id(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iu.enqueueReplaceState(t,t.state,null)}function ip(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=p({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function im(e){nJ(e)}function ih(e){console.error(e)}function ig(e){nJ(e)}function iy(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ib(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iv(e,t,n){return(n=aC(n)).tag=3,n.payload={element:null},n.callback=function(){iy(e,t)},n}function iw(e){return(e=aC(e)).tag=3,e}function ik(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var o=r.value;e.payload=function(){return a(o)},e.callback=function(){ib(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){ib(t,n,r),"function"!=typeof a&&(null===l6?l6=new Set([this]):l6.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var ix=Error(l(461)),iS=!1;function iE(e,t,n,r){t.child=null===e?ax(t,null,n,r):ak(t,e.child,n,r)}function iA(e,t,n,r,a){n=n.render;var o=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return(rQ(t),r=a9(e,t,n,i,o,a),l=on(),null===e||iS)?(rT&&l&&rS(t),t.flags|=1,iE(e,t,r,a),t.child):(or(e,t,a),iQ(e,t,a))}function iC(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||rn(o)||void 0!==o.defaultProps||null!==n.compare?((e=ro(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,i_(e,t,o,r,a))}if(o=e.child,!iK(e,a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:n_)(i,r)&&e.ref===t.ref)return iQ(e,t,a)}return t.flags|=1,(e=rr(o,r)).ref=t.ref,e.return=t,t.child=e}function i_(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n_(o,r)&&e.ref===t.ref)if(iS=!1,t.pendingProps=r=o,!iK(e,a))return t.lanes=e.lanes,iQ(e,t,a);else 0!=(131072&e.flags)&&(iS=!0)}return iL(e,t,n,r,a)}function iT(e,t,n,r){var a=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|n:n,null!==e){for(a=0,r=t.child=e.child;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~o}else r=0,t.child=null;return iP(e,t,o,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iP(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&an(t,null!==o?o.cachePool:null),null!==o?aM(t,o):aF(),aH(t)}else null!==o?(an(t,o.cachePool),aM(t,o),aG(t),t.memoizedState=null):(null!==e&&an(t,null),aF(),aG(t));return iE(e,t,a,n),t.child}function ij(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iP(e,t,n,r,a){var o=at();return t.memoizedState={baseLanes:n,cachePool:o=null===o?null:{parent:r1._currentValue,pool:o}},null!==e&&an(t,null),aF(),aH(t),null!==e&&rW(e,t,r,!0),t.childLanes=a,null}function iN(e,t){return(t=iq({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iR(e,t,n){return ak(t,e.child,null,n),e=iN(t,t.pendingProps),e.flags|=2,aW(t),t.memoizedState=null,e}function iO(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function iL(e,t,n,r,a){return(rQ(t),n=a9(e,t,n,r,void 0,a),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,a),t.child):(or(e,t,a),iQ(e,t,a))}function iD(e,t,n,r,a,o){return(rQ(t),t.updateQueue=null,n=oe(t,r,n,a),a7(e),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,o),t.child):(or(e,t,o),iQ(e,t,o))}function iI(e,t,n,r,a){if(rQ(t),null===t.stateNode){var o=n7,i=n.contextType;"object"==typeof i&&null!==i&&(o=rK(i)),t.memoizedState=null!==(o=new n(r,o)).state&&void 0!==o.state?o.state:null,o.updater=iu,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},aE(t),i=n.contextType,o.context="object"==typeof i&&null!==i?rK(i):n7,o.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(is(t,n,i,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&iu.enqueueReplaceState(o,o.state,null),aR(t,r,o,a),aN(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var l=t.memoizedProps,s=ip(n,l);o.props=s;var u=o.context,c=n.contextType;i=n7,"object"==typeof c&&null!==c&&(i=rK(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l||u!==i)&&id(t,o,r,i),aS=!1;var f=t.memoizedState;o.state=f,aR(t,r,o,a),aN(),u=t.memoizedState,l||f!==u||aS?("function"==typeof d&&(is(t,n,d,r),u=t.memoizedState),(s=aS||ic(t,n,s,r,f,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=i,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,aA(e,t),c=ip(n,i=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,s=n7,"object"==typeof u&&null!==u&&(s=rK(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==s)&&id(t,o,r,s),aS=!1,f=t.memoizedState,o.state=f,aR(t,r,o,a),aN();var p=t.memoizedState;i!==d||f!==p||aS||null!==e&&null!==e.dependencies&&rV(e.dependencies)?("function"==typeof l&&(is(t,n,l,r),p=t.memoizedState),(c=aS||ic(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&rV(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,iO(e,t),r=0!=(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ak(t,e.child,null,a),t.child=ak(t,null,n,a)):iE(e,t,n,a),t.memoizedState=o.state,e=t.child):e=iQ(e,t,a),e}function iM(e,t,n,r){return rI(),t.flags|=256,iE(e,t,n,r),t.child}var iF={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iz(e){return{baseLanes:e,cachePool:ar()}}function i$(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lX),e}function iB(e,t,n){var r,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&aV.current)),r&&(o=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rT){if(o?aU(t):aG(t),(e=r_)?null!==(e=null!==(e=uR(e,rP))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(n=rs(e)).return=t,t.child=n,rC=t,r_=null):e=null,null===e)throw rR(t);return uL(e)?t.lanes=32:t.lanes=0x20000000,null}var s=a.children;return(a=a.fallback,o)?(aG(t),s=iq({mode:"hidden",children:s},o=t.mode),a=ri(a,o,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(null,a)):(aU(t),iU(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(i)256&t.flags?(aU(t),t.flags&=-257,t=iH(e,t,n)):null!==t.memoizedState?(aG(t),t.child=e.child,t.flags|=128,t=null):(aG(t),s=a.fallback,o=t.mode,a=iq({mode:"visible",children:a.children},o),s=ri(s,o,n,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,ak(t,e.child,null,n),(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,t=ij(null,a));else if(aU(t),uL(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var c=r.dgst;r=c,(a=Error(l(419))).stack="",a.digest=r,rF({value:a,source:null,stack:null}),t=iH(e,t,n)}else if(iS||rW(e,t,n,!1),r=0!=(n&e.childLanes),iS||r){if(null!==(r=lz)&&0!==(a=eP(r,n))&&a!==u.retryLane)throw u.retryLane=a,n8(e,a),su(r,e,a),ix;uO(s)||sw(),t=iH(e,t,n)}else uO(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,r_=uD(s.nextSibling),rC=t,rT=!0,rj=null,rP=!1,null!==e&&rA(t,e),t=iU(t,a.children),t.flags|=4096);return t}return o?(aG(t),s=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=rr(u,{mode:"hidden",children:a.children})).subtreeFlags=0x3e00000&u.subtreeFlags,null!==c?s=rr(c,s):(s=ri(s,o,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,ij(null,a),a=t.child,null===(s=e.child.memoizedState)?s=iz(n):(null!==(o=s.cachePool)?(u=r1._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=ar(),s={baseLanes:s.baseLanes|n,cachePool:o}),a.memoizedState=s,a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(e.child,a)):(aU(t),e=(n=e.child).sibling,(n=rr(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function iU(e,t){return(t=iq({mode:"visible",children:t},e.mode)).return=e,e.child=t}function iq(e,t){return(e=rt(22,e,null,t)).lanes=0,e}function iH(e,t,n){return ak(t,e.child,null,n),e=iU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iG(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),rH(e.return,t,n)}function iW(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.treeForkCount=o)}function iV(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;r=r.children;var i=aV.current,l=0!=(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,$(aV,i),iE(e,t,r,n),r=rT?rh:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iG(e,n,t);else if(19===e.tag)iG(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===aQ(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iW(t,!1,a,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===aQ(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iW(t,!0,n,null,o,r);break;case"together":iW(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function iQ(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lK|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(rW(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iK(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&rV(e))}function iY(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iS=!0;else{if(!iK(e,n)&&0==(128&t.flags))return iS=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),rU(t,r1,e.memoizedState.cache),rI();break;case 27:case 5:V(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:rU(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,aq(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return aU(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return iB(e,t,n);return aU(t),null!==(e=iQ(e,t,n))?e.sibling:null}aU(t);break;case 19:var a=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(rW(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return iV(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),$(aV,aV.current),!r)return null;break;case 22:return t.lanes=0,iT(e,t,n,t.pendingProps);case 24:rU(t,r1,e.memoizedState.cache)}return iQ(e,t,n)}(e,t,n);iS=0!=(131072&e.flags)}else iS=!1,rT&&0!=(1048576&t.flags)&&rx(t,rh,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ad(t.elementType),t.type=e,"function"==typeof e)rn(e)?(r=ip(e,r),t.tag=1,t=iI(null,t,e,r,n)):(t.tag=0,t=iL(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===x){t.tag=11,t=iA(null,t,e,r,n);break e}if(a===A){t.tag=14,t=iC(null,t,e,r,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===N?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case y:return"Fragment";case v:return"Profiler";case b:return"StrictMode";case S:return"Suspense";case E:return"SuspenseList";case _:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case g:return"Portal";case k:return t.displayName||"Context";case w:return(t._context.displayName||"Context")+".Consumer";case x:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case C:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return iL(e,t,t.type,t.pendingProps,n);case 1:return a=ip(r=t.type,t.pendingProps),iI(e,t,r,a,n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,aA(e,t),aR(t,r,null,n);var i=t.memoizedState;if(rU(t,r1,r=i.cache),r!==o.cache&&rG(t,[r1],n,!0),aN(),r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=iM(e,t,r,n);break e}else if(r!==a){rF(a=rd(Error(l(424)),t)),t=iM(e,t,r,n);break e}else for(r_=uD((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rC=t,rT=!0,rj=null,rP=!0,n=ax(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rI(),r===a){t=iQ(e,t,n);break e}iE(e,t,r,n)}t=t.child}return t;case 26:return iO(e,t),null===e?(n=uV(t.type,null,t.pendingProps,null))?t.memoizedState=n:rT||(n=t.type,e=t.pendingProps,(r=ub(q.current).createElement(n))[eI]=t,r[eM]=e,um(r,n,e),eK(r),t.stateNode=r):t.memoizedState=uV(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return V(t),null===e&&rT&&(r=t.stateNode=uz(t.type,t.pendingProps,q.current),rC=t,rP=!0,a=r_,uT(t.type)?(uI=a,r_=uD(r.firstChild)):r_=a),iE(e,t,t.pendingProps.children,n),iO(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rT&&((a=r=r_)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eq])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=uD(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rP))?(t.stateNode=r,rC=t,r_=uD(r.firstChild),rP=!1,a=!0):a=!1),a||rR(t)),V(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,r=o.children,uk(a,o)?r=null:null!==i&&uk(a,i)&&(t.flags|=32),null!==t.memoizedState&&(cn._currentValue=a=a9(e,t,ot,null,null,n)),iO(e,t),iE(e,t,r,n),t.child;case 6:return null===e&&rT&&((e=n=r_)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=uD(e.nextSibling)))return null;return e}(n,t.pendingProps,rP))?(t.stateNode=n,rC=t,r_=null,e=!0):e=!1),e||rR(t)),null;case 13:return iB(e,t,n);case 4:return G(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ak(t,null,r,n):iE(e,t,r,n),t.child;case 11:return iA(e,t,t.type,t.pendingProps,n);case 7:return iE(e,t,t.pendingProps,n),t.child;case 8:case 12:return iE(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,rU(t,t.type,r.value),iE(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,rQ(t),r=r(a=rK(a)),t.flags|=1,iE(e,t,r,n),t.child;case 14:return iC(e,t,t.type,t.pendingProps,n);case 15:return i_(e,t,t.type,t.pendingProps,n);case 19:return iV(e,t,n);case 31:var s=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===s){if(rT){if("hidden"===d.mode)return s=iN(u,d),u.lanes=0x20000000,ij(null,s);if(aq(u),(s=r_)?null!==(s=null!==(s=uR(s,rP))&&"&"===s.data?s:null)&&(u.memoizedState={dehydrated:s,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(c=rs(s)).return=u,u.child=c,rC=u,r_=null):s=null,null===s)throw rR(u);return u.lanes=0x20000000,null}return iN(u,d)}var p=s.memoizedState;if(null!==p){var m=p.dehydrated;if(aq(u),f)if(256&u.flags)u.flags&=-257,u=iR(s,u,c);else if(null!==u.memoizedState)u.child=s.child,u.flags|=128,u=null;else throw Error(l(558));else if(iS||rW(s,u,c,!1),f=0!=(c&s.childLanes),iS||f){if(null!==(d=lz)&&0!==(m=eP(d,c))&&m!==p.retryLane)throw p.retryLane=m,n8(s,m),su(d,s,m),ix;sw(),u=iR(s,u,c)}else s=p.treeContext,r_=uD(m.nextSibling),rC=u,rT=!0,rj=null,rP=!1,null!==s&&rA(u,s),u=iN(u,d),u.flags|=4096;return u}return(s=rr(s.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=s,s.return=u,s;case 22:return iT(e,t,n,t.pendingProps);case 24:return rQ(t),r=rK(r1),null===e?(null===(a=at())&&(a=lz,o=r2(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},aE(t),rU(t,r1,a)):(0!=(e.lanes&n)&&(aA(e,t),aR(t,null,null,n),aN()),a=e.memoizedState,o=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),rU(t,r1,r)):(rU(t,r1,r=o.cache),r!==a.cache&&rG(t,[r1],n,!0))),iE(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function iZ(e){e.flags|=4}function iX(e,t,n,r,a){if((t=0!=(32&e.mode))&&(t=!1),t){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(sy())e.flags|=8192;else throw af=as,ao}else e.flags&=-0x1000001}function iJ(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!u8(t))if(sy())e.flags|=8192;else throw af=as,ao}function i0(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eA():0x20000000,e.lanes|=t,lJ|=t)}function i1(e,t){if(!rT)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function i2(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x3e00000&a.subtreeFlags,r|=0x3e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function i4(e,t){switch(rE(t),t.tag){case 3:rq(r1),W();break;case 26:case 27:case 5:Q(t);break;case 4:W();break;case 31:null!==t.memoizedState&&aW(t);break;case 13:aW(t);break;case 19:z(aV);break;case 10:rq(t.type);break;case 22:case 23:aW(t),az(),null!==e&&z(ae);break;case 24:rq(r1)}}function i3(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var o=n.create;n.inst.destroy=r=o()}n=n.next}while(n!==a)}}catch(e){sD(t,t.return,e)}}function i5(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next;r=o;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,a=t;try{l()}catch(e){sD(a,n,e)}}}r=r.next}while(r!==o)}}catch(e){sD(t,t.return,e)}}function i8(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aL(t,n)}catch(t){sD(e,e.return,t)}}}function i6(e,t,n){n.props=ip(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){sD(e,t,n)}}function i9(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){sD(e,t,n)}}function i7(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){sD(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){sD(e,t,n)}else n.current=null}function le(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){sD(e,e.return,t)}}function lt(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,i=null,s=null,u=null,c=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&null!=f)switch(m){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(m)||uf(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=m||null!=f))switch(p){case"type":o=m;break;case"name":a=m;break;case"checked":c=m;break;case"defaultChecked":d=m;break;case"value":i=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(l(137,t));break;default:m!==f&&uf(e,t,p,m,r,f)}}tr(e,i,s,u,c,d,o,a);return;case"select":for(o in m=i=s=p=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":m=u;default:r.hasOwnProperty(o)||uf(e,t,o,null,r,u)}for(a in r)if(o=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":p=o;break;case"defaultValue":s=o;break;case"multiple":i=o;default:o!==u&&uf(e,t,a,o,r,u)}t=s,n=i,r=m,null!=p?ti(e,!!n,p,!1):!!r!=!!n&&(null!=t?ti(e,!!n,t,!0):ti(e,!!n,n?[]:"",!1));return;case"textarea":for(s in m=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:uf(e,t,s,null,r,a)}for(i in r)if(a=r[i],o=n[i],r.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":p=a;break;case"defaultValue":m=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(l(91));break;default:a!==o&&uf(e,t,i,a,r,o)}tl(e,p,m);return;case"option":for(var h in n)p=n[h],n.hasOwnProperty(h)&&null!=p&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:uf(e,t,h,null,r,p));for(u in r)p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(null!=p||null!=m)&&("selected"===u?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:uf(e,t,u,p,r,m));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&uf(e,t,g,null,r,p);for(c in r)if(p=r[c],m=n[c],r.hasOwnProperty(c)&&p!==m&&(null!=p||null!=m))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:uf(e,t,c,p,r,m)}return;default:if(tp(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&up(e,t,y,void 0,r,p);for(d in r)p=r[d],m=n[d],r.hasOwnProperty(d)&&p!==m&&(void 0!==p||void 0!==m)&&up(e,t,d,p,r,m);return}}for(var b in n)p=n[b],n.hasOwnProperty(b)&&null!=p&&!r.hasOwnProperty(b)&&uf(e,t,b,null,r,p);for(f in r)p=r[f],m=n[f],r.hasOwnProperty(f)&&p!==m&&(null!=p||null!=m)&&uf(e,t,f,p,r,m)})(r,e.type,n,t),r[eM]=t}catch(t){sD(e,e.return,t)}}function ln(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&uT(e.type)||4===e.tag}function lr(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ln(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&uT(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function la(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&uT(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(la(e,t,n),e=e.sibling;null!==e;)la(e,t,n),e=e.sibling}function lo(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);um(t,r,n),t[eI]=e,t[eM]=n}catch(t){sD(e,e.return,t)}}var li=!1,ll=!1,ls=!1,lu="function"==typeof WeakSet?WeakSet:Set,lc=null;function ld(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lS(e,n),4&r&&i3(5,n);break;case 1:if(lS(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){sD(n,n.return,e)}else{var a=ip(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){sD(n,n.return,e)}}64&r&&i8(n),512&r&&i9(n,n.return);break;case 3:if(lS(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{aL(e,t)}catch(e){sD(n,n.return,e)}}break;case 27:null===t&&4&r&&lo(n);case 26:case 5:lS(e,n),null===t&&4&r&&le(n),512&r&&i9(n,n.return);break;case 12:default:lS(e,n);break;case 31:lS(e,n),4&r&&lg(e,n);break;case 13:lS(e,n),4&r&&ly(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=sz.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||li)){t=null!==t&&null!==t.memoizedState||ll,a=li;var o=ll;li=r,(ll=t)&&!o?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,o=t,i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,r),i3(4,i);break;case 1:if(e(o,i,r),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){sD(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var s=a.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)aO(u[o],s)}catch(e){sD(a,a.return,e)}}r&&64&l&&i8(i),i9(i,i.return);break;case 27:lo(i);case 26:case 5:e(o,i,r),r&&null===a&&4&l&&le(i),i9(i,i.return);break;case 12:default:e(o,i,r);break;case 31:e(o,i,r),r&&4&l&&lg(o,i);break;case 13:e(o,i,r),r&&4&l&&ly(o,i);break;case 22:null===i.memoizedState&&e(o,i,r),i9(i,i.return);case 30:}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):lS(e,n),li=a,ll=o}case 30:}}var lf=null,lp=!1;function lm(e,t,n){for(n=n.child;null!==n;)lh(e,t,n),n=n.sibling}function lh(e,t,n){if(em&&"function"==typeof em.onCommitFiberUnmount)try{em.onCommitFiberUnmount(ep,n)}catch(e){}switch(n.tag){case 26:ll||i7(n,t),lm(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ll||i7(n,t);var r=lf,a=lp;uT(n.type)&&(lf=n.stateNode,lp=!1),lm(e,t,n),u$(n.stateNode),lf=r,lp=a;break;case 5:ll||i7(n,t);case 6:if(r=lf,a=lp,lf=null,lm(e,t,n),lf=r,lp=a,null!==lf)if(lp)try{(9===lf.nodeType?lf.body:"HTML"===lf.nodeName?lf.ownerDocument.body:lf).removeChild(n.stateNode)}catch(e){sD(n,t,e)}else try{lf.removeChild(n.stateNode)}catch(e){sD(n,t,e)}break;case 18:null!==lf&&(lp?(uj(9===(e=lf).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),cD(e)):uj(lf,n.stateNode));break;case 4:r=lf,a=lp,lf=n.stateNode.containerInfo,lp=!0,lm(e,t,n),lf=r,lp=a;break;case 0:case 11:case 14:case 15:i5(2,n,t),ll||i5(4,n,t),lm(e,t,n);break;case 1:ll||(i7(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&i6(n,t,r)),lm(e,t,n);break;case 21:default:lm(e,t,n);break;case 22:ll=(r=ll)||null!==n.memoizedState,lm(e,t,n),ll=r}}function lg(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{cD(e)}catch(e){sD(t,t.return,e)}}}function ly(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{cD(e)}catch(e){sD(t,t.return,e)}}function lb(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lu),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=s$.bind(null,e,t);t.then(r,r)}})}function lv(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r],o=e,i=t,s=i;e:for(;null!==s;){switch(s.tag){case 27:if(uT(s.type)){lf=s.stateNode,lp=!1;break e}break;case 5:lf=s.stateNode,lp=!1;break e;case 3:case 4:lf=s.stateNode.containerInfo,lp=!0;break e}s=s.return}if(null===lf)throw Error(l(160));lh(o,i,a),lf=null,lp=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)lk(t,e),t=t.sibling}var lw=null;function lk(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lv(t,e),lx(e),4&r&&(i5(3,e,e.return),i3(3,e),i5(5,e,e.return));break;case 1:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),64&r&&li&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var a=lw;if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(r){case"title":(!(o=a.getElementsByTagName("title")[0])||o[eq]||o[eI]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector("head > title"))),um(o,r,n),o[eI]=e,eK(o),r=o;break e;case"link":var i=u3("link","href",a).get(r+(n.href||""));if(i){for(var s=0;s<i.length;s++)if((o=i[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;case"meta":if(i=u3("meta","content",a).get(r+(n.content||""))){for(s=0;s<i.length;s++)if((o=i[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;default:throw Error(l(468,r))}o[eI]=e,eK(o),r=o}e.stateNode=r}else u5(a,e.type,e.stateNode);else e.stateNode=uJ(a,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?u5(a,e.type,e.stateNode):uJ(a,r,e.memoizedProps)):null===r&&null!==e.stateNode&&lt(e,e.memoizedProps,n.memoizedProps)}break;case 27:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),null!==n&&4&r&&lt(e,e.memoizedProps,n.memoizedProps);break;case 5:if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),32&e.flags){a=e.stateNode;try{tu(a,"")}catch(t){sD(e,e.return,t)}}4&r&&null!=e.stateNode&&(a=e.memoizedProps,lt(e,a,null!==n?n.memoizedProps:a)),1024&r&&(ls=!0);break;case 6:if(lv(t,e),lx(e),4&r){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){sD(e,e.return,t)}}break;case 3:if(u4=null,a=lw,lw=uq(t.containerInfo),lv(t,e),lw=a,lx(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{cD(t.containerInfo)}catch(t){sD(e,e.return,t)}ls&&(ls=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e));break;case 4:r=lw,lw=uq(e.stateNode.containerInfo),lv(t,e),lx(e),lw=r;break;case 12:default:lv(t,e),lx(e);break;case 31:case 19:lv(t,e),lx(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 13:lv(t,e),lx(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(l4=ea()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 22:a=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=li,d=ll;if(li=c||a,ll=d||u,lv(t,e),ll=d,li=c,lx(e),8192&r)e:for((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||u||li||ll||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:i5(4,n,n.return),e(n);break;case 1:i7(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&i6(n,n.return,r),e(n);break;case 27:u$(n.stateNode);case 26:case 5:i7(n,n.return),e(n);break;case 22:null===n.memoizedState&&e(n);break;default:e(n)}t=t.sibling}}(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,a)i=o.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){sD(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){sD(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var m=u.stateNode;a?uP(m,!0):uP(u.stateNode,!1)}catch(e){sD(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,lb(e,n));case 30:case 21:}}function lx(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(ln(r)){n=r;break}r=r.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var a=n.stateNode,o=lr(e);la(e,o,a);break;case 5:var i=n.stateNode;32&n.flags&&(tu(i,""),n.flags&=-33);var s=lr(e);la(e,s,i);break;case 3:case 4:var u=n.stateNode.containerInfo,c=lr(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(t,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=ty));else if(4!==a&&(27===a&&uT(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,c,u);break;default:throw Error(l(161))}}catch(t){sD(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function lS(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)ld(e,t.alternate,t),t=t.sibling}function lE(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&r4(n))}function lA(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e))}function lC(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)l_(e,t,n,r),t=t.sibling}function l_(e,t,n,r){var a=t.flags;switch(t.tag){case 0:case 11:case 15:lC(e,t,n,r),2048&a&&i3(9,t);break;case 1:case 31:case 13:default:lC(e,t,n,r);break;case 3:lC(e,t,n,r),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e)));break;case 12:if(2048&a){lC(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,l=o.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){sD(t,t.return,e)}}else lC(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?lC(e,t,n,r):lT(e,t):2&o._visibility?lC(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,o){for(o=o&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,a,o),i3(8,i);break;case 23:break;case 22:var s=i.stateNode;null!==i.memoizedState?2&s._visibility?e(t,i,r,a,o):lT(t,i):(s._visibility|=2,e(t,i,r,a,o)),o&&2048&l&&lE(i.alternate,i);break;case 24:e(t,i,r,a,o),o&&2048&l&&lA(i.alternate,i);break;default:e(t,i,r,a,o)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags))),2048&a&&lE(i,t);break;case 24:lC(e,t,n,r),2048&a&&lA(t.alternate,t)}}function lT(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:lT(e,n),2048&r&&lE(n.alternate,n);break;case 24:lT(e,n),2048&r&&lA(n.alternate,n);break;default:lT(e,n)}t=t.sibling}}var lj=8192;function lP(e,t,n){if(e.subtreeFlags&lj)for(e=e.child;null!==e;)lN(e,t,n),e=e.sibling}function lN(e,t,n){switch(e.tag){case 26:lP(e,t,n),e.flags&lj&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=uQ(r.href),o=t.querySelector(uK(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=u9.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,eK(o);return}o=t.ownerDocument||t,r=uY(r),(a=uB.get(a))&&u1(r,a),eK(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=u9.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,lw,e.memoizedState,e.memoizedProps);break;case 5:default:lP(e,t,n);break;case 3:case 4:var r=lw;lw=uq(e.stateNode.containerInfo),lP(e,t,n),lw=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lj,lj=0x1000000,lP(e,t,n),lj=r):lP(e,t,n))}}function lR(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function lO(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lc=r,lD(r,e)}lR(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lL(e),e=e.sibling}function lL(e){switch(e.tag){case 0:case 11:case 15:lO(e),2048&e.flags&&i5(9,e,e.return);break;case 3:case 12:default:lO(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];lc=a,lD(a,t)}lR(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:i5(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):lO(e)}}function lD(e,t){for(;null!==lc;){var n=lc;switch(n.tag){case 0:case 11:case 15:i5(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:r4(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lc=r;else for(n=e;null!==lc;){var a=(r=lc).sibling,o=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&eH(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lc=null;break}if(null!==a){a.return=o,lc=a;break}lc=o}}}var lI={getCacheForType:function(e){var t=rK(r1),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return rK(r1).controller.signal}},lM="function"==typeof WeakMap?WeakMap:Map,lF=0,lz=null,l$=null,lB=0,lU=0,lq=null,lH=!1,lG=!1,lW=!1,lV=0,lQ=0,lK=0,lY=0,lZ=0,lX=0,lJ=0,l0=null,l1=null,l2=!1,l4=0,l3=0,l5=1/0,l8=null,l6=null,l9=0,l7=null,se=null,st=0,sn=0,sr=null,sa=null,so=0,si=null;function sl(){return 0!=(2&lF)&&0!==lB?lB&-lB:null!==O.T?s0():eO()}function ss(){if(0===lX)if(0==(0x20000000&lB)||rT){var e=ew;0==(3932160&(ew<<=1))&&(ew=262144),lX=e}else lX=0x20000000;return null!==(e=a$.current)&&(e.flags|=32),lX}function su(e,t,n){(e===lz&&(2===lU||9===lU)||null!==e.cancelPendingCommit)&&(sh(e,0),sf(e,lB,lX,!1)),e_(e,n),(0==(2&lF)||e!==lz)&&(e===lz&&(0==(2&lF)&&(lY|=n),4===lQ&&sf(e,lB,lX,!1)),sV(e))}function sc(e,t,n){if(0!=(6&lF))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eE(e,t),a=r?function(e,t){var n=lF;lF|=2;var r=sb(),a=sv();lz!==e||lB!==t?(l8=null,l5=ea()+500,sh(e,t)):lG=eE(e,t);e:for(;;)try{if(0!==lU&&null!==l$){t=l$;var o=lq;t:switch(lU){case 1:lU=0,lq=null,sE(e,t,o,1);break;case 2:case 9:if(au(o)){lU=0,lq=null,sS(t);break}t=function(){2!==lU&&9!==lU||lz!==e||(lU=7),sV(e)},o.then(t,t);break e;case 3:lU=7;break e;case 4:lU=5;break e;case 7:au(o)?(lU=0,lq=null,sS(t)):(lU=0,lq=null,sE(e,t,o,7));break;case 5:var i=null;switch(l$.tag){case 26:i=l$.memoizedState;case 5:case 27:var s=l$;if(i?u8(i):s.stateNode.complete){lU=0,lq=null;var u=s.sibling;if(null!==u)l$=u;else{var c=s.return;null!==c?(l$=c,sA(c)):l$=null}break t}}lU=0,lq=null,sE(e,t,o,5);break;case 6:lU=0,lq=null,sE(e,t,o,6);break;case 8:sm(),lQ=6;break e;default:throw Error(l(462))}}for(;null!==l$&&!en();)sx(l$);break}catch(t){sg(e,t)}return(rB=r$=null,O.H=r,O.A=a,lF=n,null!==l$)?0:(lz=null,lB=0,n4(),lQ)}(e,t):sk(e,t,!0),o=r;;){if(0===a)lG&&!r&&sf(e,t,0,!1);else{if(n=e.current.alternate,o&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nC(o(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=sk(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{a=l0;var s=e.current.memoizedState.isDehydrated;if(s&&(sh(e,i).flags|=256),2!==(i=sk(e,i,!1))){if(lW&&!s){e.errorRecoveryDisabledLanes|=o,lY|=o,a=4;break e}o=l1,l1=a,null!==o&&(null===l1?l1=o:l1.push.apply(l1,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){sh(e,0),sf(e,t,0,!0);break}e:{switch(r=e,o=a){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t)break;case 6:sf(r,t,lX,!lH);break e;case 2:l1=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(a=l4+300-ea())){if(sf(r,t,lX,!lH),0!==eS(r,0,!0))break e;st=t,r.timeoutHandle=uS(sd.bind(null,r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,"Throttled",-0,0),a);break e}sd(r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,null,-0,0)}}break}sV(e)}function sd(e,t,n,r,a,o,i,l,s,u,c,d,f,p){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||0x1002000==(0x1002000&d)){lN(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ty});var m,h,g=(0x3c00000&o)===o?l4-ea():(4194048&o)===o?l3-ea():0;if(null!==(m=d,h=g,m.stylesheets&&0===m.count&&ce(m,m.stylesheets),g=0<m.count||0<m.imgCount?function(e){var t=setTimeout(function(){if(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend){var e=m.unsuspend;m.unsuspend=null,e()}},6e4+h);0<m.imgBytes&&0===u6&&(u6=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],o=a.transferSize,i=a.initiatorType,l=a.duration;if(o&&l&&uh(i)){for(i=0,l=a.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&uh(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(m.waitingForImages=!1,0===m.count&&(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend)){var e=m.unsuspend;m.unsuspend=null,e()}},(m.imgBytes>u6?50:800)+h);return m.unsuspend=e,function(){m.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)){st=o,e.cancelPendingCommit=g(s_.bind(null,e,t,o,n,r,a,i,l,s,c,d,null,f,p)),sf(e,o,i,!u);return}}s_(e,t,o,n,r,a,i,l,s)}function sf(e,t,n,r){t&=~lZ,t&=~lY,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var o=31-eg(a),i=1<<o;r[o]=-1,a&=~i}0!==n&&eT(e,n,t)}function sp(){return 0!=(6&lF)||(sQ(0,!1),!1)}function sm(){if(null!==l$){if(0===lU)var e=l$.return;else e=l$,rB=r$=null,oa(e),ah=null,ag=0,e=l$;for(;null!==e;)i4(e.alternate,e),e=e.return;l$=null}}function sh(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,uE(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),st=0,sm(),lz=e,l$=n=rr(e.current,null),lB=t,lU=0,lq=null,lH=!1,lG=eE(e,t),lW=!1,lJ=lX=lZ=lY=lK=lQ=0,l1=l0=null,l2=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eg(r),o=1<<a;t|=e[a],r&=~o}return lV=t,n4(),n}function sg(e,t){aY=null,O.H=ia,t===aa||t===al?(t=ap(),lU=3):t===ao?(t=ap(),lU=4):lU=t===ix?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lq=t,null===l$&&(lQ=1,iy(e,rd(t,e.current)))}function sy(){var e=a$.current;return null===e||((4194048&lB)===lB?null===aB:((0x3c00000&lB)===lB||0!=(0x20000000&lB))&&e===aB)}function sb(){var e=O.H;return O.H=ia,null===e?ia:e}function sv(){var e=O.A;return O.A=lI,e}function sw(){lQ=4,lH||(4194048&lB)!==lB&&null!==a$.current||(lG=!0),0==(0x7ffffff&lK)&&0==(0x7ffffff&lY)||null===lz||sf(lz,lB,lX,!1)}function sk(e,t,n){var r=lF;lF|=2;var a=sb(),o=sv();(lz!==e||lB!==t)&&(l8=null,sh(e,t)),t=!1;var i=lQ;e:for(;;)try{if(0!==lU&&null!==l$){var l=l$,s=lq;switch(lU){case 8:sm(),i=6;break e;case 3:case 2:case 9:case 6:null===a$.current&&(t=!0);var u=lU;if(lU=0,lq=null,sE(e,l,s,u),n&&lG){i=0;break e}break;default:u=lU,lU=0,lq=null,sE(e,l,s,u)}}(function(){for(;null!==l$;)sx(l$)})(),i=lQ;break}catch(t){sg(e,t)}return t&&e.shellSuspendCounter++,rB=r$=null,lF=r,O.H=a,O.A=o,null===l$&&(lz=null,lB=0,n4()),i}function sx(e){var t=iY(e.alternate,e,lV);e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sS(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=iD(n,t,t.pendingProps,t.type,void 0,lB);break;case 11:t=iD(n,t,t.pendingProps,t.type.render,t.ref,lB);break;case 5:oa(t);default:i4(n,t),t=iY(n,t=l$=ra(t,lV),lV)}e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sE(e,t,n,r){rB=r$=null,oa(t),ah=null,ag=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&rW(t,n,a,!0),null!==(n=a$.current)){switch(n.tag){case 31:case 13:return null===aB?sw():null===n.alternate&&0===lQ&&(lQ=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===as?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),sI(e,r,a)),!1;case 22:return n.flags|=65536,r===as?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),sI(e,r,a)),!1}throw Error(l(435,n.tag))}return sI(e,r,a),sw(),!1}if(rT)return null!==(t=a$.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rN&&rF(rd(e=Error(l(422),{cause:r}),n))):(r!==rN&&rF(rd(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rd(r,n),a=iv(e.stateNode,r,a),aj(e,a),4!==lQ&&(lQ=2)),!1;var o=Error(l(520),{cause:r});if(o=rd(o,n),null===l0?l0=[o]:l0.push(o),4!==lQ&&(lQ=2),null===t)return!0;r=rd(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=iv(n.stateNode,r,e),aj(n,e),!1;case 1:if(t=n.type,o=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===l6||!l6.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,ik(a=iw(a),e,n,r),aj(n,a),!1}n=n.return}while(null!==n)return!1}(e,a,t,n,lB)){lQ=1,iy(e,rd(n,e.current)),l$=null;return}}catch(t){if(null!==a)throw l$=a,t;lQ=1,iy(e,rd(n,e.current)),l$=null;return}32768&t.flags?(rT||1===r?e=!0:lG||0!=(0x20000000&lB)?e=!1:(lH=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a$.current)&&13===r.tag&&(r.flags|=16384)),sC(t,e)):sA(t)}function sA(e){var t=e;do{if(0!=(32768&t.flags))return void sC(t,lH);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rE(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return i2(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),rq(r1),W(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rD(t)?iZ(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,rM())),i2(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(iZ(t),null!==o?(i2(t),iJ(t,o)):(i2(t),iX(t,a,null,r,n))):o?o!==e.memoizedState?(iZ(t),i2(t),iJ(t,o)):(i2(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&iZ(t),i2(t),iX(t,a,e,r,n)),null;case 27:if(Q(t),n=q.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}e=B.current,rD(t)?rO(t,e):(t.stateNode=e=uz(a,r,n),iZ(t))}return i2(t),null;case 5:if(Q(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}if(o=B.current,rD(t))rO(t,o);else{var i=ub(q.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?i.createElement(a,{is:r.is}):i.createElement(a)}}o[eI]=t,o[eM]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,um(o,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&iZ(t)}}return i2(t),iX(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=q.current,rD(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rC))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eI]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ud(e.nodeValue,n)))||rR(t,!0)}else(e=ub(e).createTextNode(r))[eI]=t,t.stateNode=e}return i2(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rD(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),e=!1}else n=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return aW(t),t;return aW(t),null}if(0!=(128&t.flags))throw Error(l(558))}return i2(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rD(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(l(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(l(317));a[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),a=!1}else a=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return aW(t),t;return aW(t),null}}if(aW(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),i0(t,t.updateQueue),i2(t),null;case 4:return W(),null===e&&ut(t.stateNode.containerInfo),i2(t),null;case 10:return rq(t.type),i2(t),null;case 19:if(z(aV),null===(r=t.memoizedState))return i2(t),null;if(a=0!=(128&t.flags),null===(o=r.rendering))if(a)i1(r,!1);else{if(0!==lQ||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=aQ(e))){for(t.flags|=128,i1(r,!1),t.updateQueue=e=o.updateQueue,i0(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)ra(n,e),n=n.sibling;return $(aV,1&aV.current|2),rT&&rk(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ea()>l5&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=aQ(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,i0(t,e),i1(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!rT)return i2(t),null}else 2*ea()-r.renderingStartTime>l5&&0x20000000!==n&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ea(),e.sibling=null,n=aV.current,$(aV,a?1&n|2:1&n),rT&&rk(t,r.treeForkCount),e;return i2(t),null;case 22:case 23:return aW(t),az(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(i2(t),6&t.subtreeFlags&&(t.flags|=8192)):i2(t),null!==(n=t.updateQueue)&&i0(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&z(ae),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),rq(r1),i2(t),null;case 25:case 30:return null}throw Error(l(156,t.tag))}(t.alternate,t,lV);if(null!==n){l$=n;return}if(null!==(t=t.sibling)){l$=t;return}l$=t=e}while(null!==t)0===lQ&&(lQ=5)}function sC(e,t){do{var n=function(e,t){switch(rE(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rq(r1),W(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Q(t),null;case 31:if(null!==t.memoizedState){if(aW(t),null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(aW(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return z(aV),null;case 4:return W(),null;case 10:return rq(t.type),null;case 22:case 23:return aW(t),az(),null!==e&&z(ae),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return rq(r1),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,l$=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){l$=e;return}l$=e=n}while(null!==e)lQ=6,l$=null}function s_(e,t,n,r,a,o,i,s,u){e.cancelPendingCommit=null;do sR();while(0!==l9)if(0!=(6&lF))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));if(!function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-eg(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eT(e,r,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,n,o=t.lanes|t.childLanes|n2,i,s,u),e===lz&&(l$=lz=null,lB=0),se=t,l7=e,st=n,sn=o,sr=a,sa=r,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,ee(es,function(){return sO(),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=O.T,O.T=null,a=L.p,L.p=2,i=lF,lF|=4;try{!function(e,t){if(e=e.containerInfo,ug=cc,nN(e=nP(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,d=0,f=0,p=e,m=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(u=s+o),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(a=p.firstChild);)m=p,p=a;for(;;){if(p===e)break t;if(m===n&&++d===o&&(u=s),m===i&&++f===r&&(c=s),null!==(a=p.nextSibling))break;m=(p=m).parentNode}p=a}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(uy={focusedElem:e,selectionRange:n},cc=!1,lc=t;null!==lc;)if(e=(t=lc).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,lc=e;else for(;null!==lc;){switch(i=(t=lc).alternate,e=t.flags,t.tag){case 0:if(0!=(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==i){e=void 0,n=t,o=i.memoizedProps,i=i.memoizedState,r=n.stateNode;try{var h=ip(n.type,o);e=r.getSnapshotBeforeUpdate(h,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){sD(n,n.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(n=(e=t.stateNode.containerInfo).nodeType))uN(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uN(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(l(163))}if(null!==(e=t.sibling)){e.return=t.return,lc=e;break}lc=t.return}}(e,t)}finally{lF=i,L.p=a,O.T=r}}l9=1,sT(),sj(),sP()}}function sT(){if(1===l9){l9=0;var e=l7,t=se,n=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{lk(t,e);var o=uy,i=nP(e.containerInfo),l=o.focusedElem,s=o.selectionRange;if(i!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nN(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=l.textContent.length,h=Math.min(s.start,m),g=void 0===s.end?h:Math.min(s.end,m);!p.extend&&h>g&&(i=g,g=h,h=i);var y=nj(l,h),b=nj(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),h>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}cc=!!ug,uy=ug=null}finally{lF=a,L.p=r,O.T=n}}e.current=t,l9=2}}function sj(){if(2===l9){l9=0;var e=l7,t=se,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{ld(e,t.alternate,t)}finally{lF=a,L.p=r,O.T=n}}l9=3}}function sP(){if(4===l9||3===l9){l9=0,er();var e=l7,t=se,n=st,r=sa;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?l9=5:(l9=0,se=l7=null,sN(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(l6=null),eR(n),t=t.stateNode,em&&"function"==typeof em.onCommitFiberRoot)try{em.onCommitFiberRoot(ep,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=O.T,a=L.p,L.p=2,O.T=null;try{for(var o=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];o(l.value,{componentStack:l.stack})}}finally{O.T=t,L.p=a}}0!=(3&st)&&sR(),sV(e),a=e.pendingLanes,0!=(261930&n)&&0!=(42&a)?e===si?so++:(so=0,si=e):so=0,sQ(0,!1)}}function sN(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,r4(t))}function sR(){return sT(),sj(),sP(),sO()}function sO(){if(5!==l9)return!1;var e=l7,t=sn;sn=0;var n=eR(st),r=O.T,a=L.p;try{L.p=32>n?32:n,O.T=null,n=sr,sr=null;var o=l7,i=st;if(l9=0,se=l7=null,st=0,0!=(6&lF))throw Error(l(331));var s=lF;if(lF|=4,lL(o.current),l_(o,o.current,i,n),lF=s,sQ(0,!1),em&&"function"==typeof em.onPostCommitFiberRoot)try{em.onPostCommitFiberRoot(ep,o)}catch(e){}return!0}finally{L.p=a,O.T=r,sN(e,t)}}function sL(e,t,n){t=rd(n,t),t=iv(e.stateNode,t,2),null!==(e=a_(e,t,2))&&(e_(e,2),sV(e))}function sD(e,t,n){if(3===e.tag)sL(e,e,n);else for(;null!==t;){if(3===t.tag){sL(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===l6||!l6.has(r))){e=rd(n,e),null!==(r=a_(t,n=iw(2),2))&&(ik(n,r,t,e),e_(r,2),sV(r));break}}t=t.return}}function sI(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lM;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(lW=!0,a.add(n),e=sM.bind(null,e,t,n),t.then(e,e))}function sM(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lz===e&&(lB&n)===n&&(4===lQ||3===lQ&&(0x3c00000&lB)===lB&&300>ea()-l4?0==(2&lF)&&sh(e,0):lZ|=n,lJ===lB&&(lJ=0)),sV(e)}function sF(e,t){0===t&&(t=eA()),null!==(e=n8(e,t))&&(e_(e,t),sV(e))}function sz(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sF(e,n)}function s$(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),sF(e,n)}var sB=null,sU=null,sq=!1,sH=!1,sG=!1,sW=0;function sV(e){e!==sU&&null===e.next&&(null===sU?sB=sU=e:sU=sU.next=e),sH=!0,sq||(sq=!0,uC(function(){0!=(6&lF)?ee(ei,sK):sY()}))}function sQ(e,t){if(!sG&&sH){sG=!0;do for(var n=!1,r=sB;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,l=r.pingedLanes;o=0xc000095&(o=(1<<31-eg(42|e)+1)-1&(a&~(i&~l)))?0xc000095&o|1:o?2|o:0}0!==o&&(n=!0,sJ(r,o))}else o=lB,0==(3&(o=eS(r,r===lz?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eE(r,o)||(n=!0,sJ(r,o));r=r.next}while(n)sG=!1}}function sK(){sY()}function sY(){sH=sq=!1;var e,t=0;0===sW||((e=window.event)&&"popstate"===e.type?e===ux||(ux=e,0):(ux=null,1))||(t=sW);for(var n=ea(),r=null,a=sB;null!==a;){var o=a.next,i=sZ(a,n);0===i?(a.next=null,null===r?sB=o:r.next=o,null===o&&(sU=r)):(r=a,(0!==t||0!=(3&i))&&(sH=!0)),a=o}0!==l9&&5!==l9||sQ(t,!1),0!==sW&&(sW=0)}function sZ(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eg(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}if(t=lz,n=lB,n=eS(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lU||9===lU)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&et(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eE(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&et(r),eR(n)){case 2:case 8:n=el;break;case 32:default:n=es;break;case 0x10000000:n=ec}return n=ee(n,r=sX.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&et(r),e.callbackPriority=2,e.callbackNode=null,2}function sX(e,t){if(0!==l9&&5!==l9)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(sR()&&e.callbackNode!==n)return null;var r=lB;return 0===(r=eS(e,e===lz?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(sc(e,r,t),sZ(e,ea()),null!=e.callbackNode&&e.callbackNode===n?sX.bind(null,e):null)}function sJ(e,t){if(sR())return null;sc(e,t,!0)}function s0(){if(0===sW){var e=r8;0===e&&(e=ev,0==(261888&(ev<<=1))&&(ev=256)),sW=e}return sW}function s1(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tg(""+e)}function s2(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var s4=0;s4<nZ.length;s4++){var s3=nZ[s4];nX(s3.toLowerCase(),"on"+(s3[0].toUpperCase()+s3.slice(1)))}nX(nq,"onAnimationEnd"),nX(nH,"onAnimationIteration"),nX(nG,"onAnimationStart"),nX("dblclick","onDoubleClick"),nX("focusin","onFocus"),nX("focusout","onBlur"),nX(nW,"onTransitionRun"),nX(nV,"onTransitionStart"),nX(nQ,"onTransitionCancel"),nX(nK,"onTransitionEnd"),eJ("onMouseEnter",["mouseout","mouseover"]),eJ("onMouseLeave",["mouseout","mouseover"]),eJ("onPointerEnter",["pointerout","pointerover"]),eJ("onPointerLeave",["pointerout","pointerover"]),eX("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eX("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eX("onBeforeInput",["compositionend","keypress","textInput","paste"]),eX("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var s5="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),s8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(s5));function s6(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}}}}function s9(e,t){var n=t[ez];void 0===n&&(n=t[ez]=new Set);var r=e+"__bubble";n.has(r)||(un(t,e,2,!1),n.add(r))}function s7(e,t,n){var r=0;t&&(r|=4),un(n,e,r,t)}var ue="_reactListening"+Math.random().toString(36).slice(2);function ut(e){if(!e[ue]){e[ue]=!0,eY.forEach(function(t){"selectionchange"!==t&&(s8.has(t)||s7(t,!1,e),s7(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ue]||(t[ue]=!0,s7("selectionchange",!1,t))}}function un(e,t,n,r){switch(cy(t)){case 2:var a=cd;break;case 8:a=cf;break;default:a=cp}n=a.bind(null,t,n,e),a=void 0,t_&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function ur(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==l;){if(null===(i=eG(l)))return;if(5===(s=i.tag)||6===s||26===s||27===s){r=o=i;continue e}l=l.parentNode}}r=r.return}tE(function(){var r=o,a=tv(n),i=[];e:{var l=nY.get(e);if(void 0!==l){var s=tq,c=e;switch(e){case"keypress":if(0===tO(n))break e;case"keydown":case"keyup":s=t3;break;case"focusin":c="focus",s=tK;break;case"focusout":c="blur",s=tK;break;case"beforeblur":case"afterblur":s=tK;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=tV;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=tQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=t8;break;case nq:case nH:case nG:s=tY;break;case nK:s=t6;break;case"scroll":case"scrollend":s=tG;break;case"wheel":s=t9;break;case"copy":case"cut":case"paste":s=tZ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=t5;break;case"toggle":case"beforetoggle":s=t7}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var m,h=r;null!==h;){var g=h;if(m=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===m||null===p||null!=(g=tA(h,p))&&d.push(ua(h,g,m)),f)break;h=h.return}0<d.length&&(l=new s(l,c,null,n,a),i.push({event:l,listeners:d}))}}if(0==(7&t)){if((l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==tb&&(c=n.relatedTarget||n.fromElement)&&(eG(c)||c[eF])))&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,null!==(c=c?eG(c):null)&&(f=u(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(s=null,c=r),s!==c)){if(d=tV,g="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(d=t5,g="onPointerLeave",p="onPointerEnter",h="pointer"),f=null==s?l:eV(s),m=null==c?l:eV(c),(l=new d(g,h+"leave",s,n,a)).target=f,l.relatedTarget=m,g=null,eG(a)===r&&((d=new d(p,h+"enter",c,n,a)).target=m,d.relatedTarget=f,g=d),f=g,s&&c)t:{for(d=ui,p=s,h=c,m=0,g=p;g;g=d(g))m++;g=0;for(var y,b=h;b;b=d(b))g++;for(;0<m-g;)p=d(p),m--;for(;0<g-m;)h=d(h),g--;for(;m--;){if(p===h||null!==h&&p===h.alternate){d=p;break t}p=d(p),h=d(h)}d=null}else d=null;null!==s&&ul(i,l,s,d,!1),null!==c&&null!==f&&ul(i,f,c,d,!0)}e:{if("select"===(s=(l=r?eV(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ng;else if(nc(l))if(ny)v=nA;else{v=nS;var w=nx}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nE:r&&tp(r.elementType)&&(v=ng);if(v&&(v=v(e,r))){nd(i,v,n,a);break e}w&&w(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&to(l,"number",l.value)}switch(w=r?eV(r):window,e){case"focusin":(nc(w)||"true"===w.contentEditable)&&(nO=w,nL=r,nD=null);break;case"focusout":nD=nL=nO=null;break;case"mousedown":nI=!0;break;case"contextmenu":case"mouseup":case"dragend":nI=!1,nM(i,n,a);break;case"selectionchange":if(nR)break;case"keydown":case"keyup":nM(i,n,a)}if(nt)t:{switch(e){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else ns?ni(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(na&&"ko"!==n.locale&&(ns||"onCompositionStart"!==k?"onCompositionEnd"===k&&ns&&(y=tR()):(tP="value"in(tj=a)?tj.value:tj.textContent,ns=!0)),0<(w=uo(r,k)).length&&(k=new tX(k,e,null,n,a),i.push({event:k,listeners:w}),y?k.data=y:null!==(y=nl(n))&&(k.data=y))),(y=nr?function(e,t){switch(e){case"compositionend":return nl(t);case"keypress":if(32!==t.which)return null;return no=!0," ";case"textInput":return" "===(e=t.data)&&no?null:e;default:return null}}(e,n):function(e,t){if(ns)return"compositionend"===e||!nt&&ni(e,t)?(e=tR(),tN=tP=tj=null,ns=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return na&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(k=uo(r,"onBeforeInput")).length&&(w=new tX("onBeforeInput","beforeinput",null,n,a),i.push({event:w,listeners:k}),w.data=y);var x=e;if("submit"===x&&r&&r.stateNode===a){var S=s1((a[eM]||null).action),E=n.submitter;E&&null!==(x=(x=E[eM]||null)?s1(x.formAction):E.getAttribute("formAction"))&&(S=x,E=null);var A=new tq("action","action",null,n,a);i.push({event:A,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==sW){var e=E?s2(a,E):new FormData(a);oJ(r,{pending:!0,data:e,method:a.method,action:S},null,e)}}else"function"==typeof S&&(A.preventDefault(),oJ(r,{pending:!0,data:e=E?s2(a,E):new FormData(a),method:a.method,action:S},S,e))},currentTarget:a}]})}}s6(i,t)})}function ua(e,t,n){return{instance:e,listener:t,currentTarget:n}}function uo(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tA(e,n))&&r.unshift(ua(e,a,o)),null!=(a=tA(e,t))&&r.push(ua(e,a,o))),3===e.tag)return r;e=e.return}return[]}function ui(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function ul(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,a?null!=(u=tA(n,o))&&i.unshift(ua(n,u,s)):a||null!=(u=tA(n,o))&&i.push(ua(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var us=/\r\n?/g,uu=/\u0000|\uFFFD/g;function uc(e){return("string"==typeof e?e:""+e).replace(us,"\n").replace(uu,"")}function ud(e,t){return t=uc(t),uc(e)===t}function uf(e,t,n,r,a,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||tu(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&tu(e,""+r);break;case"className":e3(e,"class",r);break;case"tabIndex":e3(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":e3(e,n,r);break;case"style":tf(e,r,o);break;case"data":if("object"!==t){e3(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&uf(e,t,"name",a.name,a,null),uf(e,t,"formEncType",a.formEncType,a,null),uf(e,t,"formMethod",a.formMethod,a,null),uf(e,t,"formTarget",a.formTarget,a,null)):(uf(e,t,"encType",a.encType,a,null),uf(e,t,"method",a.method,a,null),uf(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=ty);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tg(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":s9("beforetoggle",e),s9("toggle",e),e4(e,"popover",r);break;case"xlinkActuate":e5(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":e5(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":e5(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":e5(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":e5(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":e5(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":e5(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":e5(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":e5(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":e4(e,"is",r);break;default:2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1])||e4(e,n=tm.get(n)||n,r)}}function up(e,t,n,r,a,o){switch(n){case"style":tf(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"children":"string"==typeof r?tu(e,r):("number"==typeof r||"bigint"==typeof r)&&tu(e,""+r);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"onClick":null!=r&&(e.onclick=ty);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eZ.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(o=null!=(o=e[eM]||null)?o[n]:null)&&e.removeEventListener(t,o,a),"function"==typeof r)){"function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break e}n in e?e[n]=r:!0===r?e.setAttribute(n,""):e4(e,n,r)}}}function um(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":s9("error",e),s9("load",e);var r,a=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,r,i,n,null)}}o&&uf(e,t,"srcSet",n.srcSet,n,null),a&&uf(e,t,"src",n.src,n,null);return;case"input":s9("invalid",e);var s=r=i=o=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:uf(e,t,a,d,n,null)}}ta(e,r,s,u,c,i,o,!1);return;case"select":for(o in s9("invalid",e),a=i=r=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:uf(e,t,o,s,n,null)}t=r,n=i,e.multiple=!!a,null!=t?ti(e,!!a,t,!1):null!=n&&ti(e,!!a,n,!0);return;case"textarea":for(i in s9("invalid",e),r=o=a=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:uf(e,t,i,s,n,null)}ts(e,a,o,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:uf(e,t,u,a,n,null));return;case"dialog":s9("beforetoggle",e),s9("toggle",e),s9("cancel",e),s9("close",e);break;case"iframe":case"object":s9("load",e);break;case"video":case"audio":for(a=0;a<s5.length;a++)s9(s5[a],e);break;case"image":s9("error",e),s9("load",e);break;case"details":s9("toggle",e);break;case"embed":case"source":case"link":s9("error",e),s9("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,c,a,n,null)}return;default:if(tp(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&up(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&uf(e,t,s,a,n,null)}function uh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var ug=null,uy=null;function ub(e){return 9===e.nodeType?e:e.ownerDocument}function uv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uw(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function uk(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ux=null,uS="function"==typeof setTimeout?setTimeout:void 0,uE="function"==typeof clearTimeout?clearTimeout:void 0,uA="function"==typeof Promise?Promise:void 0,uC="function"==typeof queueMicrotask?queueMicrotask:void 0!==uA?function(e){return uA.resolve(null).then(e).catch(u_)}:uS;function u_(e){setTimeout(function(){throw e})}function uT(e){return"head"===e}function uj(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),cD(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)u$(e.ownerDocument.documentElement);else if("head"===n){u$(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var i=o.nextSibling,l=o.nodeName;o[eq]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=i}}else"body"===n&&u$(e.ownerDocument.body);n=a}while(n)cD(t)}function uP(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function uN(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uN(n),eH(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function uR(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uD(e.nextSibling)))return null;return e}function uO(e){return"$?"===e.data||"$~"===e.data}function uL(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uD(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var uI=null;function uM(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return uD(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function uF(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function uz(e,t,n){switch(t=ub(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function u$(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);eH(e)}var uB=new Map,uU=new Set;function uq(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var uH=L.d;L.d={f:function(){var e=uH.f(),t=sp();return e||t},r:function(e){var t=eW(e);null!==t&&5===t.tag&&"form"===t.type?o1(t):uH.r(e)},D:function(e){uH.D(e),uW("dns-prefetch",e,null)},C:function(e,t){uH.C(e,t),uW("preconnect",e,t)},L:function(e,t,n){if(uH.L(e,t,n),uG&&e&&t){var r='link[rel="preload"][as="'+tn(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tn(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tn(n.imageSizes)+'"]')):r+='[href="'+tn(e)+'"]';var a=r;switch(t){case"style":a=uQ(e);break;case"script":a=uZ(e)}uB.has(a)||(e=p({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),uB.set(a,e),null!==uG.querySelector(r)||"style"===t&&uG.querySelector(uK(a))||"script"===t&&uG.querySelector(uX(a))||(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}},m:function(e,t){if(uH.m(e,t),uG&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tn(n)+'"][href="'+tn(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=uZ(e)}if(!uB.has(a)&&(e=p({rel:"modulepreload",href:e},t),uB.set(a,e),null===uG.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(uG.querySelector(uX(a)))return}um(n=uG.createElement("link"),"link",e),eK(n),uG.head.appendChild(n)}}},X:function(e,t){if(uH.X(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(uH.S(e,t,n),uG&&e){var r=eQ(uG).hoistableStyles,a=uQ(e);t=t||"default";var o=r.get(a);if(!o){var i={loading:0,preload:null};if(o=uG.querySelector(uK(a)))i.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},n),(n=uB.get(a))&&u1(e,n);var l=o=uG.createElement("link");eK(l),um(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,u0(o,t,uG)}o={type:"stylesheet",instance:o,count:1,state:i},r.set(a,o)}}},M:function(e,t){if(uH.M(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0,type:"module"},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var uG="u"<typeof document?null:document;function uW(e,t,n){if(uG&&"string"==typeof t&&t){var r=tn(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),uU.has(r)||(uU.add(r),e={rel:e,crossOrigin:n,href:t},null===uG.querySelector(r)&&(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}}function uV(e,t,n,r){var a=(a=q.current)?uq(a):null;if(!a)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=uQ(n.href),(r=(n=eQ(a).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=uQ(n.href);var o,i,s,u,c=eQ(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(uK(e)))&&!c._p&&(d.instance=c,d.state.loading=5),uB.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},uB.set(e,n),c||(o=a,i=e,s=n,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),um(i,"link",s),eK(i),o.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=uZ(n),(r=(n=eQ(a).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function uQ(e){return'href="'+tn(e)+'"'}function uK(e){return'link[rel="stylesheet"]['+e+"]"}function uY(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function uZ(e){return'[src="'+tn(e)+'"]'}function uX(e){return"script[async]"+e}function uJ(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tn(n.href)+'"]');if(r)return t.instance=r,eK(r),r;var a=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return eK(r=(e.ownerDocument||e).createElement("style")),um(r,"style",a),u0(r,n.precedence,e),t.instance=r;case"stylesheet":a=uQ(n.href);var o=e.querySelector(uK(a));if(o)return t.state.loading|=4,t.instance=o,eK(o),o;r=uY(n),(a=uB.get(a))&&u1(r,a),eK(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),t.state.loading|=4,u0(o,n.precedence,e),t.instance=o;case"script":if(o=uZ(n.src),a=e.querySelector(uX(o)))return t.instance=a,eK(a),a;return r=n,(a=uB.get(o))&&u2(r=p({},n),a),eK(a=(e=e.ownerDocument||e).createElement("script")),um(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,u0(r,n.precedence,e)),t.instance}function u0(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,o=a,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)o=l;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function u1(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function u2(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var u4=null;function u3(e,t,n){if(null===u4){var r=new Map,a=u4=new Map;a.set(n,r)}else(r=(a=u4).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var o=n[a];if(!(o[eq]||o[eI]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(o):r.set(i,[o])}}return r}function u5(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function u8(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var u6=0;function u9(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)ce(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var u7=null;function ce(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,u7=new Map,t.forEach(ct,e),u7=null,u9.call(e))}function ct(e,t){if(!(4&t.state.loading)){var n=u7.get(e);if(n)var r=n.get(null);else{n=new Map,u7.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(a=t.instance).getAttribute("data-precedence"),(o=n.get(i)||r)===r&&n.set(null,a),n.set(i,a),this.count++,r=u9.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var cn={$$typeof:k,Provider:null,Consumer:null,_currentValue:D,_currentValue2:D,_threadCount:0};function cr(e,t,n,r,a,o,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eC(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eC(0),this.hiddenUpdates=eC(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function ca(e,t,n,r,a,o,i,l,s,u,c,d){return e=new cr(e,t,n,i,s,u,c,d,l),t=1,!0===o&&(t|=24),o=rt(3,null,null,t),e.current=o,o.stateNode=e,t=r2(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},aE(o),e}function co(e,t,n,r,a,o){a=a?n7:n7,null===r.context?r.context=a:r.pendingContext=a,(r=aC(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=a_(e,r,t))&&(su(n,e,t),aT(n,e,t))}function ci(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function cl(e,t){ci(e,t),(e=e.alternate)&&ci(e,t)}function cs(e){if(13===e.tag||31===e.tag){var t=n8(e,0x4000000);null!==t&&su(t,e,0x4000000),cl(e,0x4000000)}}function cu(e){if(13===e.tag||31===e.tag){var t=sl(),n=n8(e,t=eN(t));null!==n&&su(n,e,t),cl(e,t)}}var cc=!0;function cd(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=2,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cf(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=8,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cp(e,t,n,r){if(cc){var a=cm(r);if(null===a)ur(e,t,r,ch,n),cC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return cv=c_(cv,e,t,n,r,a),!0;case"dragenter":return cw=c_(cw,e,t,n,r,a),!0;case"mouseover":return ck=c_(ck,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return cx.set(o,c_(cx.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,cS.set(o,c_(cS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(cC(e,r),4&t&&-1<cA.indexOf(e)){for(;null!==a;){var o=eW(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=ex(o.pendingLanes);if(0!==i){var l=o;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-eg(i);l.entanglements[1]|=s,i&=~s}sV(o),0==(6&lF)&&(l5=ea()+500,sQ(0,!1))}}break;case 31:case 13:null!==(l=n8(o,2))&&su(l,o,2),sp(),cl(o,2)}if(null===(o=cm(r))&&ur(e,t,r,ch,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else ur(e,t,r,null,n)}}function cm(e){return cg(e=tv(e))}var ch=null;function cg(e){if(ch=null,null!==(e=eG(e))){var t=u(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=d(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ch=e,null}function cy(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eo()){case ei:return 2;case el:return 8;case es:case eu:return 32;case ec:return 0x10000000;default:return 32}default:return 32}}var cb=!1,cv=null,cw=null,ck=null,cx=new Map,cS=new Map,cE=[],cA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function cC(e,t){switch(e){case"focusin":case"focusout":cv=null;break;case"dragenter":case"dragleave":cw=null;break;case"mouseover":case"mouseout":ck=null;break;case"pointerover":case"pointerout":cx.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cS.delete(t.pointerId)}}function c_(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=eW(t))&&cs(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function cT(e){var t=eG(e.target);if(null!==t){var n=u(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=c(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(31===t){if(null!==(t=d(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cj(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cm(e.nativeEvent);if(null!==n)return null!==(t=eW(n))&&cs(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tb=r,n.target.dispatchEvent(r),tb=null,t.shift()}return!0}function cP(e,t,n){cj(e)&&n.delete(t)}function cN(){cb=!1,null!==cv&&cj(cv)&&(cv=null),null!==cw&&cj(cw)&&(cw=null),null!==ck&&cj(ck)&&(ck=null),cx.forEach(cP),cS.forEach(cP)}function cR(e,t){e.blockedOn===t&&(e.blockedOn=null,cb||(cb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,cN)))}var cO=null;function cL(e){cO!==e&&(cO=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){cO===e&&(cO=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===cg(r||n))continue;else break;var o=eW(n);null!==o&&(e.splice(t,3),t-=3,oJ(o,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function cD(e){function t(t){return cR(t,e)}null!==cv&&cR(cv,e),null!==cw&&cR(cw,e),null!==ck&&cR(ck,e),cx.forEach(t),cS.forEach(t);for(var n=0;n<cE.length;n++){var r=cE[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<cE.length&&null===(n=cE[0]).blockedOn;)cT(n),null===n.blockedOn&&cE.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],o=n[r+1],i=a[eM]||null;if("function"==typeof o)i||cL(n);else if(i){var l=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eM]||null)l=i.formAction;else if(null!==cg(a))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),cL(n)}}}function cI(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function cM(e){this._internalRoot=e}function cF(e){this._internalRoot=e}cF.prototype.render=cM.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));co(t.current,sl(),e,t,null,null)},cF.prototype.unmount=cM.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;co(e.current,2,null,e,null,null),sp(),t[eF]=null}},cF.prototype.unstable_scheduleHydration=function(e){if(e){var t=eO();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cE.length&&0!==t&&t<cE[n].priority;n++);cE.splice(n,0,e),0===n&&cT(e)}};var cz=o.version;if("19.2.5"!==cz)throw Error(l(527,cz,"19.2.5"));if(L.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=u(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return f(a),e;if(o===r)return f(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,s=a.child;s;){if(s===n){i=!0,n=a,r=o;break}if(s===r){i=!0,r=a,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=a;break}if(s===r){i=!0,r=o,n=a;break}s=s.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var c$=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!c$.isDisabled&&c$.supportsFiber)try{ep=c$.inject({bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.5"}),em=c$}catch(e){}}t.createRoot=function(e,t){if(!s(e))throw Error(l(299));var n=!1,r="",a=im,o=ih,i=ig;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=ca(e,1,!1,null,null,n,r,null,a,o,i,cI),e[eF]=t.current,ut(e),new cM(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(l(299));var r=!1,a="",o=im,i=ih,u=ig,c=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.formState&&(c=n.formState)),(t=ca(e,1,!0,t,null!=n?n:null,r,a,c,o,i,u,cI)).context=n7,n=t.current,(a=aC(r=eN(r=sl()))).callback=null,a_(n,a,r),n=r,t.current.lanes=n,e_(t,n),sV(t),e[eF]=t.current,ut(e),new cF(t)},t.version="19.2.5"},6221(e,t,n){"use strict";var r=n(6540);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},l=Symbol.for("react.portal"),s=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},t.useFormStatus=function(){return s.H.useHostTransitionStatus()},t.version="19.2.5"},5338(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(1247)},961(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(6221)},115(e){var t="u">typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof)&&!e(o[u[s]],i[u[s]]))return!1;return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},545(e,t,n){"use strict";n.d(t,{mg:()=>Z,vd:()=>q});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map(function(e){return g[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=S(e,"defaultTitle");return t||r||void 0},A=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return f({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var a={};n.filter(function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e},[]).reverse()},_=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},T=function(e){return Array.isArray(e)?e.join(""):e},j=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return!function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},P=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},N=[g.NOSCRIPT,g.SCRIPT,g.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},O=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},L=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},D=function(e,t){return t.map(function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},I=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=L(n,a),[r.createElement(g.TITLE,o,e)]},toString:function(){var r,a,o,i;return r=t.title,a=t.titleAttributes,o=O(a),i=T(r),o?"<"+e+' data-rh="true" '+o+">"+R(i,n)+"</"+e+">":"<"+e+' data-rh="true">'+R(i,n)+"</"+e+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(t)},toString:function(){return O(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return t.reduce(function(t,r){var a=Object.keys(r).filter(function(e){return"innerHTML"!==e&&"cssText"!==e}).reduce(function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a},""),o=r.innerHTML||r.cssText||"",i=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")},"")}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,m,h,w,k,x,S=(p=e.linkTags,m=e.scriptTags,h=e.encode,w=j(e.metaTags,v),k=j(p,y),x=j(m,b),{priorityMethods:{toComponent:function(){return[].concat(D(g.META,w.priority),D(g.LINK,k.priority),D(g.SCRIPT,x.priority))},toString:function(){return I(g.META,w.priority,h)+" "+I(g.LINK,k.priority,h)+" "+I(g.SCRIPT,x.priority,h)}},metaTags:w.default,linkTags:k.default,scriptTags:x.default});f=S.priorityMethods,u=S.linkTags,c=S.metaTags,d=S.scriptTags}return{priority:f,base:I(g.BASE,t,r),bodyAttributes:I("bodyAttributes",n,r),htmlAttributes:I("htmlAttributes",a,r),link:I(g.LINK,u,r),meta:I(g.META,c,r),noscript:I(g.NOSCRIPT,o,r),script:I(g.SCRIPT,d,r),style:I(g.STYLE,i,r),title:I(g.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},F=[],z=function(e,t){var n=this;void 0===t&&(t="u">typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?F:n.instances},add:function(e){(n.canUseDOM?F:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?F:n.instances).indexOf(e);(n.canUseDOM?F:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="u">typeof document,q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);q.canUseDOM=U,q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(g.BODY,e.bodyAttributes),G(g.HTML,r),void 0!==c&&document.title!==c&&(document.title=T(c)),G(g.TITLE,d);var f={baseTag:H(g.BASE,n),linkTags:H(g.LINK,a),metaTags:H(g.META,o),noscriptTags:H(g.NOSCRIPT,i),scriptTags:H(g.SCRIPT,s),styleTags:H(g.STYLE,u)},p={},m={};Object.keys(f).forEach(function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)}),t&&t(),l(e,p,m)},V=null,Q=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=f({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[g.BASE]}).map(function(e){return e[g.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t},[])),bodyAttributes:A("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:A("htmlAttributes",t),linkTags:C(g.LINK,["rel","href"],t),metaTags:C(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(g.SCRIPT,["src","innerHTML"],t),styleTags:C(g.STYLE,["cssText"],t),title:E(t),titleAttributes:A("titleAttributes",t),prioritizeSeoTags:_(t,"prioritizeSeoTags")};q.canUseDOM?(V&&cancelAnimationFrame(V),o.defer?V=requestAnimationFrame(function(){W(o,function(){V=null})}):(W(o),V=null)):M&&(a=M(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:B.isRequired},Q.displayName="HelmetDispatcher";var K=["children"],Y=["children"],Z=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(P(this.props,"helmetData"),P(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach(function(t){var r;n=f({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,K),l=Object.keys(i).reduce(function(e,t){return e[x[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,Y),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(Q,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(Q,f({},a,{context:e}))})},t}(r.Component);Z.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},Z.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Z.displayName="Helmet"},2799(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},4363(e,t,n){"use strict";e.exports=n(2799)},3259(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=n(6540),s=[],u=[],c=l.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach(function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then(function(e){t.loaded[r]=e}).catch(function(e){t.error=e})})}catch(e){t.error=e}return t.promise=Promise.all(n).then(function(e){return t.loading=!1,e}).catch(function(e){throw t.loading=!1,e}),t}function p(e,t){return l.createElement(e&&e.__esModule?e.default:e,t)}function m(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,f,m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&u.push(function(){if((0,m.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return g()}),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()}),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach(function(t){e.context.report(t)}),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then(function(){return n(),null}).catch(function(e){return n(),null})}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),f}function h(e){return m(d,e)}function g(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return g(e)})}h.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)},h.Capture=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component),h.preloadAll=function(){return new Promise(function(e,t){g(s).then(e,t)})},h.preloadReady=function(){return new Promise(function(e,t){g(u).then(e,e)})},e.exports=h},2831(e,t,n){"use strict";n.d(t,{u:()=>function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.B6)(n,t):a.length?a[a.length-1].match:r.Ix.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a},v:()=>i});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map(function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})})):null}},4625(e,t,n){"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(6347),a=n(594),o=n(6540),i=n(3328),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h(function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),r())}});return m!==h?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=h(function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=e.history,r=p(f(d,e.location),e.location),s=r?n.createHref(r):"",g=(0,l.A)({},b,{href:s,navigate:function(){var t=f(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(p(t));(c||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,A=e.innerRef,C=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=w||e.location,i=p(f(E,n),n),s=i.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=_?(0,r.B6)(n.pathname,{path:_,exact:h,sensitive:k,strict:x}):null,j=!!(g?g(T,n):T),P="function"==typeof m?m(j):m,N="function"==typeof S?S(j):S;j&&(P=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(P,c),N=(0,l.A)({},N,d));var R=(0,l.A)({"aria-current":j&&a||null,className:P,style:N,to:i},C);return b!==v?R.ref=t||A:R.innerRef=A,o.createElement(y,R)})})},6347(e,t,n){"use strict";n.d(t,{B6:()=>v,Ix:()=>g,W6:()=>S,XZ:()=>h,dO:()=>k,qh:()=>w,zy:()=>E});var r=n(594),a=n(6540),o=n(5556),i=n.n(o),l=(n(3328),n(1561)),s=n(8168),u=n(5302),c=n.n(u);n(4363),n(8587),n(4146);var d="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==n.g?n.g:{},f=a.createContext||function(e,t){var n,o,l="__create-react-context-"+(d.__global_unique_id__=(d.__global_unique_id__||0)+1)+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return n=(t=e.call.apply(e,[this].concat(o))||this).props.value,r=[],t.emitter={on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}},t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;(r===a?0!==r||1/r==1/a:r!=r&&a!=a)?n=0:0!=(n=("function"==typeof t?t(r,a):0x3fffffff)|0)&&this.emitter.set(e.value,n)}},a.render=function(){return this.props.children},n}(a.Component);(n={})[l]=i().object.isRequired,s.childContextTypes=n;var u=function(t){function n(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(e.observedBits&n)!=0&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?0x3fffffff:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return(o={})[l]=i().object,u.contextTypes=o,{Provider:s,Consumer:u}},p=function(e){var t=f();return t.displayName=e,t},m=p("Router-History"),h=p("Router"),g=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component,a.Component;var y={},b=0;function v(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=y[n]||(y[n]={});if(r[e])return r[e];var a=[],o={regexp:c()(e,a,t),keys:a};return b<1e4&&(r[e]=o,b++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var d=s[0],f=s.slice(1),p=e===d;return o&&!p?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:p,params:i.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}var w=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?v(r.pathname,e.props):t.match,i=(0,s.A)({},t,{location:r,match:o}),u=e.props,c=u.children,d=u.component,f=u.render;return Array.isArray(c)&&(n=c,0===a.Children.count(n))&&(c=null),a.createElement(h.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):f?f(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);a.Component;var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?v(o.pathname,(0,s.A)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),x=a.useContext;function S(){return x(m)}function E(){return x(h).location}},9698(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var a=null;if(void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:a,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},9869(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function v(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var k=w.prototype=new v;k.constructor=w,g(k,b.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function S(){}var E={H:null,A:null,T:null,S:null},A=Object.prototype.hasOwnProperty;function C(e,t,r){var a=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==a?a:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function P(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),a,o,i,l)}}if(p)return l=l(t),p=""===i?"."+j(t,0):i,x(l)?(o="",null!=p&&(o=p.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(_(l)&&(s=l,u=o+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+p,l=C(s.type,u,s.props)),a.push(l)),1;p=0;var h=""===i?".":i+":";if(x(t))for(var g=0;g<t.length;g++)d=h+j(i=t[g],g),p+=e(i,a,o,d,l);else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=m&&c[m]||c["@@iterator"])?c:null))for(t=g.call(t),g=0;!(i=t.next()).done;)d=h+j(i=i.value,g++),p+=e(i,a,o,d,l);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),a,o,i,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};t.Activity=p,t.Children={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)A.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var i=Array(o),l=0;l<o;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,a,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,a={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)A.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(a[r]=t[r]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];a.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===a[r]&&(a[r]=i[r]);return C(e,o,a)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),a=E.S;null!==a&&a(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(S,R)}catch(e){R(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.2.5"},6540(e,t,n){"use strict";e.exports=n(9869)},4848(e,t,n){"use strict";e.exports=n(9698)},4477(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,m=3,h=!1,g=!1,y=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function S(e){if(y=!1,x(e),!g)if(null!==r(c))g=!0,E||(E=!0,i());else{var t=r(d);null!==t&&R(S,t.startTime-e)}}var E=!1,A=-1,C=5,_=-1;function T(){return!!b||!(t.unstable_now()-_<C)}function j(){if(b=!1,E){var e=t.unstable_now();_=e;var n=!0;try{e:{g=!1,y&&(y=!1,w(A),A=-1),h=!0;var o=m;try{t:{for(x(e),p=r(c);null!==p&&!(p.expirationTime>e&&T());){var l=p.callback;if("function"==typeof l){p.callback=null,m=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){p.callback=s,x(e),n=!0;break t}p===r(c)&&a(c),x(e)}else a(c);p=r(c)}if(null!==p)n=!0;else{var u=r(d);null!==u&&R(S,u.startTime-e),n=!1}}break e}finally{p=null,m=o,h=!1}}}finally{n?i():E=!1}}}if("function"==typeof k)i=function(){k(j)};else if("u">typeof MessageChannel){var P=new MessageChannel,N=P.port2;P.port1.onmessage=j,i=function(){N.postMessage(null)}}else i=function(){v(j,0)};function R(e,n){A=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,a,o){var l=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?l+o:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:s,sortIndex:-1},o>l?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(w(A),A=-1):y=!0,R(S,o-l))):(e.sortIndex=s,n(c,e),g||h||(g=!0,E||(E=!0,i()))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},9982(e,t,n){"use strict";e.exports=n(4477)},2833(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},8460(e,t,n){"use strict";n.d(t,{A:()=>f}),n(6540);var r=n(4848),a=n(3259),o=n.n(a),i=n(4054);let l={"0058b4c6":[()=>n.e("266").then(n.t.bind(n,6164,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",6164],"0402ec03":[()=>n.e("351").then(n.bind(n,6019)),"@site/docs/integrations/telegram.mdx",6019],"09292580":[()=>n.e("851").then(n.bind(n,3131)),"@site/docs/reference/permissions.mdx",3131],"115f7d00":[()=>n.e("618").then(n.bind(n,4176)),"@site/docs/reference/second-brain.mdx",4176],"138e0e15":[()=>n.e("234").then(n.t.bind(n,1597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",1597],"15bc3129":[()=>n.e("724").then(n.bind(n,4415)),"@site/docs/releases/1.1.6.mdx",4415],0x11113f9:[()=>Promise.all([n.e("14"),n.e("106")]).then(n.bind(n,8181)),"@theme/DocItem",8181],"1a4e3797":[()=>Promise.all([n.e("14"),n.e("847")]).then(n.bind(n,4907)),"@theme/SearchPage",4907],"1df93b7f":[()=>Promise.all([n.e("14"),n.e("452")]).then(n.bind(n,5146)),"@site/src/pages/index.tsx",5146],"2aa6d146":[()=>n.e("651").then(n.bind(n,685)),"@site/docs/daemon-mode/system-service.mdx",685],"2b538913":[()=>n.e("283").then(n.bind(n,15)),"@site/docs/integrations/spotify.mdx",15],"35a35434":[()=>n.e("770").then(n.bind(n,7705)),"@site/docs/cli-commands/commands.mdx",7705],"37a27735":[()=>n.e("263").then(n.bind(n,7175)),"@site/docs/reference/provider-fallback.mdx",7175],"449e68eb":[()=>n.e("871").then(n.bind(n,810)),"@site/docs/getting-started/setup.mdx",810],"47fe99a6":[()=>n.e("713").then(n.bind(n,2361)),"@site/docs/integrations/github-companion.mdx",2361],"4df8d22c":[()=>n.e("523").then(n.bind(n,1646)),"@site/docs/daemon-mode/background-mode.mdx",1646],"5e95c892":[()=>n.e("668").then(n.bind(n,6569)),"@theme/DocsRoot",6569],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"6459b84b":[()=>n.e("336").then(n.bind(n,6198)),"@site/docs/getting-started/installation.mdx",6198],"653db0f6":[()=>n.e("904").then(n.bind(n,439)),"@site/docs/reference/skills.mdx",439],"7e0893c3":[()=>n.e("454").then(n.bind(n,2979)),"@site/docs/reference/scheduling.mdx",2979],"8b9e049f":[()=>n.e("203").then(n.bind(n,5699)),"@site/docs/cli-commands/doctor.mdx",5699],a06fff0d:[()=>n.e("225").then(n.bind(n,8019)),"@site/docs/integrations/sub-agents.mdx",8019],a6e053fd:[()=>Promise.all([n.e("14"),n.e("368")]).then(n.bind(n,514)),"@site/docs/daemon-mode/platform-guide.mdx",514],a7456010:[()=>n.e("56").then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e("575").then(n.bind(n,8146)),"@theme/DocVersionRoot",8146],a94703ab:[()=>Promise.all([n.e("14"),n.e("785")]).then(n.bind(n,1399)),"@theme/DocRoot",1399],aba21aa0:[()=>n.e("747").then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],bc430709:[()=>n.e("788").then(n.bind(n,3505)),"@site/docs/getting-started/starting.mdx",3505],c12bbe07:[()=>n.e("624").then(n.bind(n,8494)),"@site/docs/integrations/coding-workspace.mdx",8494],c8078f0a:[()=>n.e("135").then(n.bind(n,7893)),"@site/docs/reference/configuration.mdx",7893],de57ece0:[()=>n.e("650").then(n.bind(n,4995)),"@site/docs/cli-commands/in-chat-commands.mdx",4995],e7df10b1:[()=>n.e("534").then(n.bind(n,5005)),"@site/docs/reference/built-in-tools.mdx",5005],f3244ec3:[()=>n.e("600").then(n.bind(n,9674)),"@site/docs/releases/releases.mdx",9674]};function s({error:e,retry:t,pastDelay:n}){return e?(0,r.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,r.jsx)("p",{children:String(e)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7665),c=n(7574);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("62").then(n.bind(n,629)),modules:["@theme/NotFound"],webpack:()=>[629],render(e,t){let n=e.default;return(0,r.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.A)(a)).forEach(([e,t])=>{let n=l[t];n&&(d[e]=n[0],f.push(n[1]),p.push(n[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(([t,n])=>{let r=n.default;if(!r)throw Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);("object"==typeof r||"function"==typeof r)&&Object.keys(n).filter(e=>"default"!==e).forEach(e=>{r[e]=n[e]});let a=o,i=t.split(".");i.slice(0,-1).forEach(e=>{a=a[e]}),a[i[i.length-1]]=r});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.W,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/search",component:d("/search","822"),exact:!0},{path:"/docs",component:d("/docs","c0c"),routes:[{path:"/docs",component:d("/docs","37f"),routes:[{path:"/docs",component:d("/docs","3b4"),routes:[{path:"/docs",component:d("/docs","731"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/cli-commands",component:d("/docs/cli-commands/cli-commands","5e0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/doctor",component:d("/docs/cli-commands/doctor","165"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/in-chat-commands",component:d("/docs/cli-commands/in-chat-commands","3be"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/daemon-mode",component:d("/docs/daemon-mode/daemon-mode","9c7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/platform-guide",component:d("/docs/daemon-mode/platform-guide","346"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/system-service",component:d("/docs/daemon-mode/system-service","d3a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/setup",component:d("/docs/getting-started/setup","870"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/starting",component:d("/docs/getting-started/starting","449"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/coding-workspace",component:d("/docs/integrations/coding-workspace","2c2"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/github-companion",component:d("/docs/integrations/github-companion","b37"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/spotify",component:d("/docs/integrations/spotify","10e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/sub-agents",component:d("/docs/integrations/sub-agents","1fe"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/telegram",component:d("/docs/integrations/telegram","ebc"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/built-in-tools",component:d("/docs/reference/built-in-tools","e86"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/configuration",component:d("/docs/reference/configuration","171"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/permissions",component:d("/docs/reference/permissions","bd4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/provider-fallback",component:d("/docs/reference/provider-fallback","b47"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/scheduling",component:d("/docs/reference/scheduling","0b4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/second-brain",component:d("/docs/reference/second-brain","2c4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/skills",component:d("/docs/reference/skills","d27"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases",component:d("/docs/releases","63f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases/1.1.6",component:d("/docs/releases/1.1.6","57f"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},1173(e,t,n){"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(4848),a=n(6540);let o=a.createContext(!1);function i({children:e}){let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{n(!0)},[]),(0,r.jsx)(o.Provider,{value:t,children:e})}},354(e,t,n){"use strict";var r=n(4848),a=n(6540),o=n(5338),i=n(545),l=n(4625),s=n(4784),u=n(1289);let c=[n(7612),n(6464),n(2489),n(3678),n(6448)];var d=n(8460),f=n(6347),p=n(2831);function m({children:e}){return(0,r.jsx)(r.Fragment,{children:e})}var h=n(3899);let g=e=>e.defaultFormatter(e);function y({children:e}){return(0,r.jsx)(h.AL,{formatter:g,children:e})}function b({children:e}){return(0,r.jsx)(y,{children:e})}var v=n(3572),w=n(898),k=n(6497),x=n(1022),S=n(4308),E=n(5243),A=n(5248),C=n(4175);function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,w.A)(),a=(0,E.o)(),o=n[e].htmlLang;return(0,r.jsxs)(v.A,{children:[Object.entries(n).map(([e,{htmlLang:t}])=>(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:e,fullyQualified:!0}),hrefLang:t},e)),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:o.replace("-","_")}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:e.htmlLang.replace("-","_")},`meta-og-${e.htmlLang}`))]})}function T({permalink:e}){let{siteConfig:{url:t}}=(0,w.A)(),n=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,w.A)(),{pathname:r}=(0,f.zy)();return e+(0,A.applyTrailingSlash)((0,k.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=e?`${t}${e}`:n;return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{property:"og:url",content:a}),(0,r.jsx)("link",{rel:"canonical",href:a})]})}function j(){let{i18n:{currentLocale:e}}=(0,w.A)(),{metadata:t,image:n}=(0,x.p)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{})]}),n&&(0,r.jsx)(S.be,{image:n}),(0,r.jsx)(T,{}),(0,r.jsx)(_,{}),(0,r.jsx)(C.A,{tag:"default",locale:e}),(0,r.jsx)(v.A,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let P=new Map;var N=n(1173),R=n(3587),O=n(9989);function L(e,...t){let n=c.map(n=>{let r=n.default?.[e]??n[e];return r?.(...t)});return()=>n.forEach(e=>e?.())}let D=function({children:e,location:t,previousLocation:n}){return(0,O.A)(()=>{n!==t&&(!function({location:e,previousLocation:t}){if(!t)return;let n=e.pathname===t.pathname,r=e.hash===t.hash,a=e.search===t.search;if(n&&r&&!a)return;let{hash:o}=e;if(o){let e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:n}),L("onRouteDidUpdate",{previousLocation:n,location:t}))},[n,t]),e};function I(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.u)(d.A,e)).flat().map(e=>e.route.component.preload?.()))}class M extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.A.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),I(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(D,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.qh,{location:t,render:()=>e})})}}let F="__docusaurus-base-url-issue-banner-suggestion-container";function z(){let{siteConfig:{baseUrl:e}}=(0,w.A)();return(0,r.jsx)(r.Fragment,{children:!u.A.canUseDOM&&(0,r.jsx)(v.A,{children:(0,r.jsx)("script",{children:`
+(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["889"],{7612(e,t,n){"use strict";n.r(t)},6464(e,t,n){"use strict";n.r(t)},6448(e,t,n){"use strict";n.r(t)},3328(e,t,n){"use strict";n.d(t,{AO:()=>f,yJ:()=>p,sC:()=>T,TM:()=>C,zR:()=>w});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}let i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;"string"==typeof e?(s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var h=!!("u">typeof window&&window.document&&window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,A=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return A&&(o=c(o,A)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,E)}var T=m();function j(e){(0,r.A)(B,e),B.length=n.length,T.notifyListeners(B.location,B.action)}function P(e){(void 0!==e.state||-1!==navigator.userAgent.indexOf("CriOS"))&&O(C(e.state))}function N(){O(C(v()))}var R=!1;function O(e){R?(R=!1,j()):T.confirmTransitionTo(e,"POP",x,function(t){var n,r,a,o,i;t?j({action:"POP",location:e}):(n=e,r=B.location,-1===(a=D.indexOf(r.key))&&(a=0),-1===(o=D.indexOf(n.key))&&(o=0),(i=a-o)&&(R=!0,M(i)))})}var L=C(v()),D=[L.key];function I(e){return A+f(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(y,P),o&&window.addEventListener(b,N)):0===F&&(window.removeEventListener(y,P),o&&window.removeEventListener(b,N))}var $=!1,B={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r="PUSH",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf(B.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,j({action:r,location:o})}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf(B.location.key);-1!==s&&(D[s]=o.key),j({action:r,location:o})}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return $||(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=T.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return -1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function A(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=x[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(E());return u&&(e=c(e,u)),p(e)}var C=m();function _(e){(0,r.A)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var T=!1,j=null;function P(){var e=E(),t=b(e);if(e!==t)A(t);else{var n,r=w(),a=z.location;if(!T&&a.pathname===r.pathname&&a.search===r.search&&a.hash===r.hash||j===f(r))return;j=null,n=r,T?(T=!1,_()):C.confirmTransitionTo(n,"POP",o,function(e){var t,r,a,o,i;e?_({action:"POP",location:n}):(t=n,r=z.location,-1===(a=L.lastIndexOf(f(r)))&&(a=0),-1===(o=L.lastIndexOf(f(t)))&&(o=0),(i=a-o)&&(T=!0,D(i)))})}}var N=E(),R=b(N);N!==R&&A(R);var O=w(),L=[f(O)];function D(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(k,P):0===I&&window.removeEventListener(k,P)}var F=!1,z={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);if(E()!==a){j=t,window.location.hash=a;var o=L.lastIndexOf(f(z.location)),i=L.slice(0,o+1);i.push(t),L=i,_({action:n,location:r})}else _()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);E()!==a&&(j=t,A(a));var o=L.indexOf(f(z.location));-1!==o&&(L[o]=t),_({action:n,location:r})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(M(1),F=!0),function(){return F&&(F=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=m();function c(e){(0,r.A)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=_(void 0===i?0:i,0,o.length-1),g=o.map(function(e){return"string"==typeof e?p(e,void 0,d()):p(e,void 0,e.key||d())});function y(e){var t=_(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:f,push:function(e,t){var r="PUSH",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},4146(e,t,n){"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var y=i[g];if(!o[y]&&!(r&&r[y])&&!(h&&h[y])&&!(l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(e){}}}}return t}},311(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},689(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var n=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||n||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){--r||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};l||u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;else if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){e.handled||a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}}()},5947(e){var t;t=function(){var e,t,n,r={};r.version="0.2.0";var a=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=o(e,a.minimum,1))?null:e;var n=r.render(!t),s=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,i(function(t){var o,i,d,f;""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),l(s,(o=e,i=u,d=c,(f="translate3d"===a.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===a.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+i+"ms "+d,f)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":(-1+(r.status||0))*100,s=document.querySelector(a.parent);return l(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&f(n),s!=document.body&&u(s,"nprogress-custom-parent"),s.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){var o;r=t[o=(o=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(o)),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);s(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(t):e.exports=t()},5302(e,t,n){var r=n(4634);e.exports=function e(t,n,a){if(r(n)||(a=n||a,n=[]),a=a||{},t instanceof RegExp){var i,l,s=n,d=t.source.match(/\((?!\?)/g);if(d)for(var f=0;f<d.length;f++)s.push({name:f,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return t.keys=s,t}if(r(t)){for(var p,m=n,h=a,g=[],y=0;y<t.length;y++)g.push(e(t[y],m,h).source);return(p=RegExp("(?:"+g.join("|")+")",u(h))).keys=m,p}return i=n,c(o(t,l=a),i,l)},e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=c;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c,d,f=n[0],p=n[1],m=n.index;if(l+=e.slice(i,m),i=m+f.length,p){l+=p[1];continue}var h=e[i],g=n[2],y=n[3],b=n[4],v=n[5],w=n[6],k=n[7];l&&(r.push(l),l="");var x=null!=g&&null!=h&&h!==g,S="+"===w||"*"===w,E="?"===w||"*"===w,A=g||u,C=b||v,_=g||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:y||o++,prefix:g||"",delimiter:A,optional:E,repeat:S,partial:x,asterisk:!!k,pattern:C?C.replace(/([=!:$\/()])/g,"\\$1"):k?".*":(c=A,!(d=_)||d.indexOf(c)>-1?"[^"+s(c)+"]+?":s(d)+"|(?:(?!"+s(d)+")[^"+s(c)+"])+?")})}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e,t){for(var n=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",u(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var f=l[d.name];if(null==f)if(d.optional){d.partial&&(o+=d.prefix);continue}else throw TypeError('Expected "'+d.name+'" to be defined');if(r(f)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length)if(d.optional)continue;else throw TypeError('Expected "'+d.name+'" to not be empty');for(var p=0;p<f.length;p++){if(c=s(f[p]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(f),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function c(e,t,n){r(t)||(n=t||n,t=[]);for(var a,o=(n=n||{}).strict,i=!1!==n.end,l="",c=0;c<e.length;c++){var d=e[c];if("string"==typeof d)l+=s(d);else{var f=s(d.prefix),p="(?:"+d.pattern+")";t.push(d),d.repeat&&(p+="(?:"+f+p+")*"),l+=p=d.optional?d.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=s(n.delimiter||"/"),h=l.slice(-m.length)===m;return o||(l=(h?l.slice(0,-m.length):l)+"(?:"+m+"(?=$))?"),i?l+="$":l+=o&&h?"":"(?="+m+"|$)",(a=RegExp("^"+l,u(n))).keys=t,a}},6969(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041A\u0443\u041C\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722(e,t,n){let r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter(e=>"meta"!=e):Array.isArray(e)||(e=[e]),a(r,e,[...o,...Object.keys(Prism.languages)]).load(e=>{if(!(e in r.languages)){i.silent||console.warn("Language does not exist: "+e);return}let t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)})}i.silent=!1,e.exports=i},9700(){var e=Prism;function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})},3157(e,t,n){var r={"./":"8722"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380(e){"use strict";e.exports=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}return function(r,a,o){var i,l,s,u,c=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(r),d=function(e){if(e in c)return e;if(!i)for(var n in i={},c){var r=c[n];t(r&&r.alias,function(e){if(e in i)throw Error(e+" cannot be alias for both "+n+" and "+i[e]);if(e in c)throw Error(e+" cannot be alias of "+n+" because it is a component.");i[e]=n})}return i[e]||e};a=a.map(d),o=(o||[]).map(d);var f=n(a),p=n(o);a.forEach(function e(n){var r=c[n];t(r&&r.require,function(t){t in p||(f[t]=!0,e(t))})});for(var m=(l={},s=[],function(e){var n=l[e];return n||(!function e(n,r){if(!(n in l)){r.push(n);var a=r.indexOf(n);if(a<r.length-1)throw Error("Circular dependency: "+r.slice(a).join(" -> "));var o={},i=c[n];if(i){function s(t){if(!(t in c))throw Error(n+" depends on an unknown component "+t);if(!(t in o))for(var a in e(t,r),o[t]=!0,l[t])o[a]=!0}t(i.require,s),t(i.optional,s),t(i.modify,s)}l[n]=o,r.pop()}}(e,s),n=l[e]),n}),h=f;function(e){for(var t in e)return!0;return!1}(h);){for(var g in u={},h){var y=c[g];t(y&&y.modify,function(e){e in p&&(u[e]=!0)})}for(var b in p)if(!(b in f)){for(var v in m(b))if(v in f){u[b]=!0;break}}for(var w in h=u)f[w]=!0}var k={getIds:function(){var e=[];return k.load(function(t){e.push(t)}),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};for(var u in n)!function e(a){if(a in l)return l[a];s[a]=!0;var u,c=[];for(var d in t(a))d in n&&c.push(d);if(0===c.length)u=r(a);else{var f=i(c.map(function(t){var n=e(t);return delete s[t],n}));o?u=o(f,function(){return r(a)}):r(a)}return l[a]=u}(u);var c=[];for(var d in s)c.push(l[d]);return i(c)}(m,f,t,n)}};return k}}()},2694(e,t,n){"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1247(e,t,n){"use strict";var r,a=n(9982),o=n(6540),i=n(961);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function u(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(u(e)!==e)throw Error(l(188))}var p=Object.assign,m=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var _=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var j=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var N=Symbol.for("react.client.reference"),R=Array.isArray,O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},I=[],M=-1;function F(e){return{current:e}}function z(e){0>M||(e.current=I[M],I[M]=null,M--)}function $(e,t){I[++M]=e.current,e.current=t}var B=F(null),U=F(null),q=F(null),H=F(null);function G(e,t){switch($(q,t),$(U,e),$(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uw(t=uv(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(B),$(B,e)}function W(){z(B),z(U),z(q)}function V(e){null!==e.memoizedState&&$(H,e);var t=B.current,n=uw(t,e.type);t!==n&&($(U,e),$(B,n))}function Q(e){U.current===e&&(z(B),z(U)),H.current===e&&(z(H),cn._currentValue=D)}function K(e){if(void 0===tM)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tM=t&&t[1]||"",tF=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tM+e+tF}var Y=!1;function Z(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),i=o[0],l=o[1];if(i&&l){var s=i.split("\n"),u=l.split("\n");for(a=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===s.length||a===u.length)for(r=s.length-1,a=u.length-1;1<=r&&0<=a&&s[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(s[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||s[r]!==u[a]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{Y=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?K(n):""}function X(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return K(e.type);case 16:return K("Lazy");case 13:return e.child!==t&&null!==t?K("Suspense Fallback"):K("Suspense");case 19:return K("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return K("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var J=Object.prototype.hasOwnProperty,ee=a.unstable_scheduleCallback,et=a.unstable_cancelCallback,en=a.unstable_shouldYield,er=a.unstable_requestPaint,ea=a.unstable_now,eo=a.unstable_getCurrentPriorityLevel,ei=a.unstable_ImmediatePriority,el=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,eu=a.unstable_LowPriority,ec=a.unstable_IdlePriority,ed=a.log,ef=a.unstable_setDisableYieldValue,ep=null,em=null;function eh(e){if("function"==typeof ed&&ef(e),em&&"function"==typeof em.setStrictMode)try{em.setStrictMode(ep,e)}catch(e){}}var eg=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ey(e)/eb|0)|0},ey=Math.log,eb=Math.LN2,ev=256,ew=262144,ek=4194304;function ex(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eS(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~o)?a=ex(r):0!=(i&=l)?a=ex(i):n||0!=(n=l&~e)&&(a=ex(n)):0!=(l=r&~o)?a=ex(l):0!==i?a=ex(i):n||0!=(n=r&~e)&&(a=ex(n)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(n=t&-t)||32===o&&0!=(4194048&n))?t:a}function eE(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eA(){var e=ek;return 0==(0x3c00000&(ek<<=1))&&(ek=4194304),e}function eC(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function e_(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eT(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eg(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ej(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eg(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eP(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eN(n))&(e.suspendedLanes|t))?0:n}function eN(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eR(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eO(){var e=L.p;return 0!==e?e:void 0===(e=window.event)?32:cy(e.type)}function eL(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var eD=Math.random().toString(36).slice(2),eI="__reactFiber$"+eD,eM="__reactProps$"+eD,eF="__reactContainer$"+eD,ez="__reactEvents$"+eD,e$="__reactListeners$"+eD,eB="__reactHandles$"+eD,eU="__reactResources$"+eD,eq="__reactMarker$"+eD;function eH(e){delete e[eI],delete e[eM],delete e[ez],delete e[e$],delete e[eB]}function eG(e){var t=e[eI];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eF]||n[eI]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uF(e);null!==e;){if(n=e[eI])return n;e=uF(e)}return t}n=(e=n).parentNode}return null}function eW(e){if(e=e[eI]||e[eF]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function eV(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function eQ(e){var t=e[eU];return t||(t=e[eU]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eK(e){e[eq]=!0}var eY=new Set,eZ={};function eX(e,t){eJ(e,t),eJ(e+"Capture",t)}function eJ(e,t){for(eZ[e]=t,e=0;e<t.length;e++)eY.add(t[e])}var e0=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),e1={},e2={};function e4(e,t,n){if(J.call(e2,t)||!J.call(e1,t)&&(e0.test(t)?e2[t]=!0:(e1[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function e3(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function e5(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function e8(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e6(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e9(e){if(!e._valueTracker){var t=e6(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function e7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e6(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function te(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tt=/[\n"\\]/g;function tn(e){return e.replace(tt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tr(e,t,n,r,a,o,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e8(t)):e.value!==""+e8(t)&&(e.value=""+e8(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?to(e,i,e8(t)):null!=n?to(e,i,e8(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+e8(l):e.removeAttribute("name")}function ta(e,t,n,r,a,o,i,l){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void e9(e);n=null!=n?""+e8(n):"",t=null!=t?""+e8(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),e9(e)}function to(e,t,n){"number"===t&&te(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ti(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(a=0,n=""+e8(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tl(e,t,n){if(null!=t&&((t=""+e8(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+e8(n):""}function ts(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(R(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=e8(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),e9(e)}function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function td(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tc.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tf(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&td(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&td(e,o,t[o])}function tp(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),th=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tg(e){return th.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ty(){}var tb=null;function tv(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tw=null,tk=null;function tx(e){var t=eW(e);if(t&&(e=t.stateNode)){var n=e[eM]||null;switch(e=t.stateNode,t.type){case"input":if(tr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eM]||null;if(!a)throw Error(l(90));tr(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&e7(r)}break;case"textarea":tl(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&ti(e,!!n.multiple,t,!1)}}}var tS=!1;function tE(e,t,n){if(tS)return e(t,n);tS=!0;try{return e(t)}finally{if(tS=!1,(null!==tw||null!==tk)&&(sp(),tw&&(t=tw,e=tk,tk=tw=null,tx(t),e)))for(t=0;t<e.length;t++)tx(e[t])}}function tA(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eM]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tC="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,t_=!1;if(tC)try{var tT={};Object.defineProperty(tT,"passive",{get:function(){t_=!0}}),window.addEventListener("test",tT,tT),window.removeEventListener("test",tT,tT)}catch(e){t_=!1}var tj=null,tP=null,tN=null;function tR(){if(tN)return tN;var e,t,n=tP,r=n.length,a="value"in tj?tj.value:tj.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return tN=a.slice(e,1<t?1-t:void 0)}function tO(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tL(){return!0}function tD(){return!1}function tI(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tL:tD,this.isPropagationStopped=tD,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tL)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tL)},persist:function(){},isPersistent:tL}),t}var tM,tF,tz,t$,tB,tU={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tq=tI(tU),tH=p({},tU,{view:0,detail:0}),tG=tI(tH),tW=p({},tH,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t4,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tB&&(tB&&"mousemove"===e.type?(tz=e.screenX-tB.screenX,t$=e.screenY-tB.screenY):t$=tz=0,tB=e),tz)},movementY:function(e){return"movementY"in e?e.movementY:t$}}),tV=tI(tW),tQ=tI(p({},tW,{dataTransfer:0})),tK=tI(p({},tH,{relatedTarget:0})),tY=tI(p({},tU,{animationName:0,elapsedTime:0,pseudoElement:0})),tZ=tI(p({},tU,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tX=tI(p({},tU,{data:0})),tJ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},t0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t1[e])&&!!t[e]}function t4(){return t2}var t3=tI(p({},tH,{key:function(e){if(e.key){var t=tJ[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tO(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?t0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t4,charCode:function(e){return"keypress"===e.type?tO(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tO(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tI(p({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t8=tI(p({},tH,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t4})),t6=tI(p({},tU,{propertyName:0,elapsedTime:0,pseudoElement:0})),t9=tI(p({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t7=tI(p({},tU,{newState:0,oldState:0})),ne=[9,13,27,32],nt=tC&&"CompositionEvent"in window,nn=null;tC&&"documentMode"in document&&(nn=document.documentMode);var nr=tC&&"TextEvent"in window&&!nn,na=tC&&(!nt||nn&&8<nn&&11>=nn),no=!1;function ni(e,t){switch(e){case"keyup":return -1!==ne.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nl(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ns=!1,nu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nu[e.type]:"textarea"===t}function nd(e,t,n,r){tw?tk?tk.push(r):tk=[r]:tw=r,0<(t=uo(t,"onChange")).length&&(n=new tq("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nf=null,np=null;function nm(e){s6(e,0)}function nh(e){if(e7(eV(e)))return e}function ng(e,t){if("change"===e)return t}var ny=!1;if(tC){if(tC){var nb="oninput"in document;if(!nb){var nv=document.createElement("div");nv.setAttribute("oninput","return;"),nb="function"==typeof nv.oninput}r=nb}else r=!1;ny=r&&(!document.documentMode||9<document.documentMode)}function nw(){nf&&(nf.detachEvent("onpropertychange",nk),np=nf=null)}function nk(e){if("value"===e.propertyName&&nh(np)){var t=[];nd(t,np,e,tv(e)),tE(nm,t)}}function nx(e,t,n){"focusin"===e?(nw(),nf=t,np=n,nf.attachEvent("onpropertychange",nk)):"focusout"===e&&nw()}function nS(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nh(np)}function nE(e,t){if("click"===e)return nh(t)}function nA(e,t){if("input"===e||"change"===e)return nh(t)}var nC="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function n_(e,t){if(nC(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!J.call(t,a)||!nC(e[a],t[a]))return!1}return!0}function nT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nj(e,t){var n,r=nT(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nT(r)}}function nP(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=te(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=te(e.document)}return t}function nN(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nR=tC&&"documentMode"in document&&11>=document.documentMode,nO=null,nL=null,nD=null,nI=!1;function nM(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nI||null==nO||nO!==te(r)||(r="selectionStart"in(r=nO)&&nN(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nD&&n_(nD,r)||(nD=r,0<(r=uo(nL,"onSelect")).length&&(t=new tq("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nO)))}function nF(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nz={animationend:nF("Animation","AnimationEnd"),animationiteration:nF("Animation","AnimationIteration"),animationstart:nF("Animation","AnimationStart"),transitionrun:nF("Transition","TransitionRun"),transitionstart:nF("Transition","TransitionStart"),transitioncancel:nF("Transition","TransitionCancel"),transitionend:nF("Transition","TransitionEnd")},n$={},nB={};function nU(e){if(n$[e])return n$[e];if(!nz[e])return e;var t,n=nz[e];for(t in n)if(n.hasOwnProperty(t)&&t in nB)return n$[e]=n[t];return e}tC&&(nB=document.createElement("div").style,"AnimationEvent"in window||(delete nz.animationend.animation,delete nz.animationiteration.animation,delete nz.animationstart.animation),"TransitionEvent"in window||delete nz.transitionend.transition);var nq=nU("animationend"),nH=nU("animationiteration"),nG=nU("animationstart"),nW=nU("transitionrun"),nV=nU("transitionstart"),nQ=nU("transitioncancel"),nK=nU("transitionend"),nY=new Map,nZ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function nX(e,t){nY.set(e,t),eX(t,[e])}nZ.push("scrollEnd");var nJ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},n0=[],n1=0,n2=0;function n4(){for(var e=n1,t=n2=n1=0;t<e;){var n=n0[t];n0[t++]=null;var r=n0[t];n0[t++]=null;var a=n0[t];n0[t++]=null;var o=n0[t];if(n0[t++]=null,null!==r&&null!==a){var i=r.pending;null===i?a.next=a:(a.next=i.next,i.next=a),r.pending=a}0!==o&&n6(n,a,o)}}function n3(e,t,n,r){n0[n1++]=e,n0[n1++]=t,n0[n1++]=n,n0[n1++]=r,n2|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function n5(e,t,n,r){return n3(e,t,n,r),n9(e)}function n8(e,t){return n3(e,null,null,t),n9(e)}function n6(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eg(n),null===(r=(e=o.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),o):null}function n9(e){if(50<so)throw so=0,si=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var n7={};function re(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rt(e,t,n,r){return new re(e,t,n,r)}function rn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rr(e,t){var n=e.alternate;return null===n?((n=rt(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x3e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ra(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ro(e,t,n,r,a,o){var i=0;if(r=e,"function"==typeof e)rn(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,B.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case _:return(e=rt(31,n,t,a)).elementType=_,e.lanes=o,e;case y:return ri(n.children,a,o,t);case b:i=8,a|=24;break;case v:return(e=rt(12,n,t,2|a)).elementType=v,e.lanes=o,e;case S:return(e=rt(13,n,t,a)).elementType=S,e.lanes=o,e;case E:return(e=rt(19,n,t,a)).elementType=E,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:i=10;break e;case w:i=9;break e;case x:i=11;break e;case A:i=14;break e;case C:i=16,r=null;break e}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rt(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function ri(e,t,n,r){return(e=rt(7,e,r,t)).lanes=n,e}function rl(e,t,n){return(e=rt(6,e,null,t)).lanes=n,e}function rs(e){var t=rt(18,null,null,0);return t.stateNode=e,t}function ru(e,t,n){return(t=rt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rc=new WeakMap;function rd(e,t){if("object"==typeof e&&null!==e){var n=rc.get(e);return void 0!==n?n:(t={value:e,source:t,stack:X(t)},rc.set(e,t),t)}return{value:e,source:t,stack:X(t)}}var rf=[],rp=0,rm=null,rh=0,rg=[],ry=0,rb=null,rv=1,rw="";function rk(e,t){rf[rp++]=rh,rf[rp++]=rm,rm=e,rh=t}function rx(e,t,n){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rb=e;var r=rv;e=rw;var a=32-eg(r)-1;r&=~(1<<a),n+=1;var o=32-eg(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,rv=1<<32-eg(t)+a|n<<a|r,rw=o+e}else rv=1<<o|n<<a|r,rw=e}function rS(e){null!==e.return&&(rk(e,1),rx(e,1,0))}function rE(e){for(;e===rm;)rm=rf[--rp],rf[rp]=null,rh=rf[--rp],rf[rp]=null;for(;e===rb;)rb=rg[--ry],rg[ry]=null,rw=rg[--ry],rg[ry]=null,rv=rg[--ry],rg[ry]=null}function rA(e,t){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rv=t.id,rw=t.overflow,rb=e}var rC=null,r_=null,rT=!1,rj=null,rP=!1,rN=Error(l(519));function rR(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw rF(rd(t,e)),rN}function rO(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eI]=e,t[eM]=r,n){case"dialog":s9("cancel",t),s9("close",t);break;case"iframe":case"object":case"embed":s9("load",t);break;case"video":case"audio":for(n=0;n<s5.length;n++)s9(s5[n],t);break;case"source":s9("error",t);break;case"img":case"image":case"link":s9("error",t),s9("load",t);break;case"details":s9("toggle",t);break;case"input":s9("invalid",t),ta(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":s9("invalid",t);break;case"textarea":s9("invalid",t),ts(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ud(t.textContent,n)?(null!=r.popover&&(s9("beforetoggle",t),s9("toggle",t)),null!=r.onScroll&&s9("scroll",t),null!=r.onScrollEnd&&s9("scrollend",t),null!=r.onClick&&(t.onclick=ty),t=!0):t=!1,t||rR(e,!0)}function rL(e){for(rC=e.return;rC;)switch(rC.tag){case 5:case 31:case 13:rP=!1;return;case 27:case 3:rP=!0;return;default:rC=rC.return}}function rD(e){if(e!==rC)return!1;if(!rT)return rL(e),rT=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||uk(e.type,e.memoizedProps)),t=!t),t&&r_&&rR(e),rL(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else 27===n?(n=r_,uT(e.type)?(e=uI,uI=null,r_=e):r_=n):r_=rC?uD(e.stateNode.nextSibling):null;return!0}function rI(){r_=rC=null,rT=!1}function rM(){var e=rj;return null!==e&&(null===l1?l1=e:l1.push.apply(l1,e),rj=null),e}function rF(e){null===rj?rj=[e]:rj.push(e)}var rz=F(null),r$=null,rB=null;function rU(e,t,n){$(rz,t._currentValue),t._currentValue=n}function rq(e){e._currentValue=rz.current,z(rz)}function rH(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rG(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;e:for(;null!==o;){var s=o;o=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),rH(o.return,n,e),r||(i=null);break e}o=s.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(l(341));i.lanes|=n,null!==(o=i.alternate)&&(o.lanes|=n),rH(i,n,e),i=null}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function rW(e,t,n,r){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=a.type;nC(a.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(a===H.current){if(null===(i=a.alternate))throw Error(l(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(cn):e=[cn])}a=a.return}null!==e&&rG(t,e,n,r),t.flags|=262144}function rV(e){for(e=e.firstContext;null!==e;){if(!nC(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rQ(e){r$=e,rB=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function rK(e){return rZ(r$,e)}function rY(e,t){return null===r$&&rQ(e),rZ(e,t)}function rZ(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===rB){if(null===e)throw Error(l(308));rB=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rB=rB.next=t;return n}var rX="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},rJ=a.unstable_scheduleCallback,r0=a.unstable_NormalPriority,r1={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function r2(){return{controller:new rX,data:new Map,refCount:0}}function r4(e){e.refCount--,0===e.refCount&&rJ(r0,function(){e.controller.abort()})}var r3=null,r5=0,r8=0,r6=null;function r9(){if(0==--r5&&null!==r3){null!==r6&&(r6.status="fulfilled");var e=r3;r3=null,r8=0,r6=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var r7=O.S;O.S=function(e,t){l3=ea(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===r3){var t=r3=[];r5=0,r8=s0(),r6={status:"pending",value:void 0,then:function(e){t.push(e)}}}r5++,e.then(r9,r9)}(t),null!==r7&&r7(e,t)};var ae=F(null);function at(){var e=ae.current;return null!==e?e:lz.pooledCache}function an(e,t){null===t?$(ae,ae.current):$(ae,t.pool)}function ar(){var e=at();return null===e?null:{parent:r1._currentValue,pool:e}}var aa=Error(l(460)),ao=Error(l(474)),al=Error(l(542)),as={then:function(){}};function au(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ac(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ty,ty),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e;default:if("string"==typeof t.status)t.then(ty,ty);else{if(null!==(e=lz)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e}throw af=t,aa}}function ad(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw af=e,aa;throw e}}var af=null;function ap(){if(null===af)throw Error(l(459));var e=af;return af=null,e}function am(e){if(e===aa||e===al)throw Error(l(483))}var ah=null,ag=0;function ay(e){var t=ag;return ag+=1,null===ah&&(ah=[]),ac(ah,e,t)}function ab(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function av(e,t){if(t.$$typeof===m)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aw(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=rr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x4000002,n):r:(t.flags|=0x4000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rl(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var o=n.type;return o===y?d(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&ad(o)===t.type)?ab(t=a(t,n.props),n):ab(t=ro(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ru(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,o){return null===t||7!==t.tag?(t=ri(n,e.mode,r,o)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return ab(n=ro(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=ru(t,e.mode,n)).return=e,t;case C:return f(e,t=ad(t),n)}if(R(t)||P(t))return(t=ri(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,ay(t),n);if(t.$$typeof===k)return f(e,rY(e,t),n);av(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===a?u(e,t,n,r):null;case g:return n.key===a?c(e,t,n,r):null;case C:return p(e,t,n=ad(n),r)}if(R(n)||P(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,ay(n),r);if(n.$$typeof===k)return p(e,t,rY(e,n),r);av(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case C:return m(e,t,n,r=ad(r),a)}if(R(r)||P(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return m(e,t,n,ay(r),a);if(r.$$typeof===k)return m(e,t,n,rY(t,r),a);av(t,r)}return null}return function(s,u,c,d){try{ag=0;var b=function s(u,c,d,b){if("object"==typeof d&&null!==d&&d.type===y&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case h:e:{for(var v=d.key;null!==c;){if(c.key===v){if((v=d.type)===y){if(7===c.tag){n(u,c.sibling),(b=a(c,d.props.children)).return=u,u=b;break e}}else if(c.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===C&&ad(v)===c.type){n(u,c.sibling),ab(b=a(c,d.props),d),b.return=u,u=b;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===y?(b=ri(d.props.children,u.mode,b,d.key)).return=u:(ab(b=ro(d.type,d.key,d.props,null,u.mode,b),d),b.return=u),u=b}return i(u);case g:e:{for(v=d.key;null!==c;){if(c.key===v)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(b=a(c,d.children||[])).return=u,u=b;break e}else{n(u,c);break}t(u,c),c=c.sibling}(b=ru(d,u.mode,b)).return=u,u=b}return i(u);case C:return s(u,c,d=ad(d),b)}if(R(d))return function(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=p(a,d,l[h],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===l.length)return n(a,d),rT&&rk(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return rT&&rk(a,h),u}for(d=r(d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rT&&rk(a,h),u}(u,c,d,b);if(P(d)){if("function"!=typeof(v=P(d)))throw Error(l(150));return function(a,i,s,u){if(null==s)throw Error(l(151));for(var c=null,d=null,h=i,g=i=0,y=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=p(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),i=o(v,i,g),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),rT&&rk(a,g),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=f(a,b.value,u))&&(i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return rT&&rk(a,g),c}for(h=r(h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(a,e)}),rT&&rk(a,g),c}(u,c,d=v.call(d),b)}if("function"==typeof d.then)return s(u,c,ay(d),b);if(d.$$typeof===k)return s(u,c,rY(u,d),b);av(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(b=a(c,d)).return=u):(n(u,c),(b=rl(d,u.mode,b)).return=u),i(u=b)):n(u,c)}(s,u,c,d);return ah=null,b}catch(e){if(e===aa||e===al)throw e;var v=rt(29,e,null,s.mode);return v.lanes=d,v.return=s,v}finally{}}}var ak=aw(!0),ax=aw(!1),aS=!1;function aE(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aA(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aC(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function a_(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lF)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=n9(e),n6(e,null,n),t}return n3(e,r,t,n),n9(e)}function aT(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ej(e,n)}}function aj(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n)null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aP=!1;function aN(){if(aP){var e=r6;if(null!==e)throw e}}function aR(e,t,n,r){aP=!1;var a=e.updateQueue;aS=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=-0x20000001&l.lane,m=f!==l.lane;if(m?(lB&f)===f:(r&f)===f){0!==f&&f===r8&&(aP=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,g=l;switch(f=t,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(n,d,f):h))break e;d=p({},d,f);break e;case 2:aS=!0}}null!==(f=l.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=a.callbacks)?a.callbacks=[f]:m.push(f))}else m={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=m,s=d):c=c.next=m,i|=f;if(null===(l=l.next))if(null===(l=a.shared.pending))break;else l=(m=l).next,m.next=null,a.lastBaseUpdate=m,a.shared.pending=null}null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),lK|=i,e.lanes=i,e.memoizedState=d}}function aO(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function aL(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aO(n[e],t)}var aD=F(null),aI=F(0);function aM(e,t){$(aI,e=lV),$(aD,t),lV=e|t.baseLanes}function aF(){$(aI,lV),$(aD,aD.current)}function az(){lV=aI.current,z(aD),z(aI)}var a$=F(null),aB=null;function aU(e){var t=e.alternate;$(aV,1&aV.current),$(a$,e),null===aB&&(null===t||null!==aD.current?aB=e:null!==t.memoizedState&&(aB=e))}function aq(e){$(aV,aV.current),$(a$,e),null===aB&&(aB=e)}function aH(e){22===e.tag?($(aV,aV.current),$(a$,e),null===aB&&(aB=e)):aG(e)}function aG(){$(aV,aV.current),$(a$,a$.current)}function aW(e){z(a$),aB===e&&(aB=null),z(aV)}var aV=F(0);function aQ(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||uO(n)||uL(n)))return t}else if(19===t.tag&&("forwards"===t.memoizedProps.revealOrder||"backwards"===t.memoizedProps.revealOrder||"unstable_legacy-backwards"===t.memoizedProps.revealOrder||"together"===t.memoizedProps.revealOrder)){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aK=0,aY=null,aZ=null,aX=null,aJ=!1,a0=!1,a1=!1,a2=0,a4=0,a3=null,a5=0;function a8(){throw Error(l(321))}function a6(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nC(e[n],t[n]))return!1;return!0}function a9(e,t,n,r,a,o){return aK=o,aY=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?io:ii,a1=!1,o=n(r,a),a1=!1,a0&&(o=oe(t,n,r,a)),a7(e),o}function a7(e){O.H=ia;var t=null!==aZ&&null!==aZ.next;if(aK=0,aX=aZ=aY=null,aJ=!1,a4=0,a3=null,t)throw Error(l(300));null===e||iS||null!==(e=e.dependencies)&&rV(e)&&(iS=!0)}function oe(e,t,n,r){aY=e;var a=0;do{if(a0&&(a3=null),a4=0,a0=!1,25<=a)throw Error(l(301));if(a+=1,aX=aZ=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}O.H=il,o=t(n,r)}while(a0)return o}function ot(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?os(t):t,e=e.useState()[0],(null!==aZ?aZ.memoizedState:null)!==e&&(aY.flags|=1024),t}function on(){var e=0!==a2;return a2=0,e}function or(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function oa(e){if(aJ){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}aJ=!1}aK=0,aX=aZ=aY=null,a0=!1,a4=a2=0,a3=null}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aX?aY.memoizedState=aX=e:aX=aX.next=e,aX}function oi(){if(null===aZ){var e=aY.alternate;e=null!==e?e.memoizedState:null}else e=aZ.next;var t=null===aX?aY.memoizedState:aX.next;if(null!==t)aX=t,aZ=e;else{if(null===e){if(null===aY.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(aZ=e).memoizedState,baseState:aZ.baseState,baseQueue:aZ.baseQueue,queue:aZ.queue,next:null},null===aX?aY.memoizedState=aX=e:aX=aX.next=e}return aX}function ol(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function os(e){var t=a4;return a4+=1,null===a3&&(a3=[]),e=ac(a3,e,t),t=aY,null===(null===aX?t.memoizedState:aX.next)&&(O.H=null===(t=t.alternate)||null===t.memoizedState?io:ii),e}function ou(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return os(e);if(e.$$typeof===k)return rK(e)}throw Error(l(438,String(e)))}function oc(e){var t=null,n=aY.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=aY.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=ol(),aY.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=T;return t.index++,n}function od(e,t){return"function"==typeof t?t(e):t}function of(e){return op(oi(),aZ,e)}function op(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var s=i=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(lB&f)===f:(aK&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===r8&&(d=!0);else if((aK&p)===p){c=c.next,p===r8&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,i=o):u=u.next=f,aY.lanes|=p,lK|=p;f=c.action,a1&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,i=o):u=u.next=p,aY.lanes|=f,lK|=f;c=c.next}while(null!==c&&c!==t)if(null===u?i=o:u.next=s,!nC(o,e.memoizedState)&&(iS=!0,d&&null!==(n=r6)))throw n;e.memoizedState=o,e.baseState=i,e.baseQueue=u,r.lastRenderedState=o}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function om(e){var t=oi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)nC(o,t.memoizedState)||(iS=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function oh(e,t,n){var r=aY,a=oi(),o=rT;if(o){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nC((aZ||a).memoizedState,n);if(i&&(a.memoizedState=n,iS=!0),a=a.queue,o$(ob.bind(null,r,a,e),[e]),a.getSnapshot!==t||i||null!==aX&&1&aX.memoizedState.tag){if(r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,a,n,t),null),null===lz)throw Error(l(349));o||0!=(127&aK)||og(r,t,n)}return n}function og(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=aY.updateQueue)?(t=ol(),aY.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function oy(e,t,n,r){t.value=n,t.getSnapshot=r,ov(t)&&ow(e)}function ob(e,t,n){return n(function(){ov(t)&&ow(e)})}function ov(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nC(e,n)}catch(e){return!0}}function ow(e){var t=n8(e,2);null!==t&&su(t,e,2)}function ok(e){var t=oo();if("function"==typeof e){var n=e;if(e=n(),a1){eh(!0);try{n()}finally{eh(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:e},t}function ox(e,t,n,r){return e.baseState=n,op(e,aZ,"function"==typeof r?r:od)}function oS(e,t,n,r,a){if(ie(e))throw Error(l(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==O.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,oE(t,o)):(o.next=n.next,t.pending=n.next=o)}}function oE(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var o=O.T,i={};O.T=i;try{var l=n(a,r),s=O.S;null!==s&&s(i,l),oA(e,t,l)}catch(n){o_(e,t,n)}finally{null!==o&&null!==i.types&&(o.types=i.types),O.T=o}}else try{o=n(a,r),oA(e,t,o)}catch(n){o_(e,t,n)}}function oA(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oC(e,t,n)},function(n){return o_(e,t,n)}):oC(e,t,n)}function oC(e,t,n){t.status="fulfilled",t.value=n,oT(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oE(e,n)))}function o_(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,oT(t),t=t.next;while(t!==r)}e.action=null}function oT(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oj(e,t){return t}function oP(e,t){if(rT){var n=lz.formState;if(null!==n){e:{var r=aY;if(rT){if(r_){t:{for(var a=r_,o=rP;8!==a.nodeType;)if(!o||null===(a=uD(a.nextSibling))){a=null;break t}a="F!"===(o=a.data)||"F"===o?a:null}if(a){r_=uD(a.nextSibling),r="F!"===a.data;break e}}rR(r)}r=!1}r&&(t=n[0])}}return(n=oo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oj,lastRenderedState:t},n.queue=r,n=o6.bind(null,aY,r),r.dispatch=n,r=ok(!1),o=o7.bind(null,aY,!1,r.queue),r=oo(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=oS.bind(null,aY,a,o,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function oN(e){return oR(oi(),aZ,e)}function oR(e,t,n){if(t=op(e,t,oj)[0],e=of(od)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=os(t)}catch(e){if(e===aa)throw al;throw e}else r=t;var a=(t=oi()).queue,o=a.dispatch;return n!==t.memoizedState&&(aY.flags|=2048,oD(9,{destroy:void 0},oO.bind(null,a,n),null)),[r,o,e]}function oO(e,t){e.action=t}function oL(e){var t=oi(),n=aZ;if(null!==n)return oR(t,n,e);oi(),t=t.memoizedState;var r=(n=oi()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function oD(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=aY.updateQueue)&&(t=ol(),aY.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oI(){return oi().memoizedState}function oM(e,t,n,r){var a=oo();aY.flags|=e,a.memoizedState=oD(1|t,{destroy:void 0},n,void 0===r?null:r)}function oF(e,t,n,r){var a=oi();r=void 0===r?null:r;var o=a.memoizedState.inst;null!==aZ&&null!==r&&a6(r,aZ.memoizedState.deps)?a.memoizedState=oD(t,o,n,r):(aY.flags|=e,a.memoizedState=oD(1|t,o,n,r))}function oz(e,t){oM(8390656,8,e,t)}function o$(e,t){oF(2048,8,e,t)}function oB(e){var t=oi().memoizedState,n={ref:t,nextImpl:e};aY.flags|=4;var r=aY.updateQueue;if(null===r)r=ol(),aY.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&lF))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function oU(e,t){return oF(4,2,e,t)}function oq(e,t){return oF(4,4,e,t)}function oH(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oG(e,t,n){n=null!=n?n.concat([e]):null,oF(4,4,oH.bind(null,t,e),n)}function oW(){}function oV(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&a6(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oQ(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&a6(t,r[1]))return r[0];if(r=e(),a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r}function oK(e,t,n){return void 0===n||0!=(0x40000000&aK)&&0==(261930&lB)?e.memoizedState=t:(e.memoizedState=n,e=ss(),aY.lanes|=e,lK|=e,n)}function oY(e,t,n,r){return nC(n,t)?n:null!==aD.current?(nC(e=oK(e,n,r),t)||(iS=!0),e):0==(42&aK)||0!=(0x40000000&aK)&&0==(261930&lB)?(iS=!0,e.memoizedState=n):(e=ss(),aY.lanes|=e,lK|=e,t)}function oZ(e,t,n,r,a){var o=L.p;L.p=0!==o&&8>o?o:8;var i=O.T,l={};O.T=l,o7(e,!1,t,n);try{var s=a(),u=O.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);o9(e,t,f,sl(e))}else o9(e,t,r,sl(e))}catch(n){o9(e,t,{then:function(){},status:"rejected",reason:n},sl())}finally{L.p=o,null!==i&&null!==l.types&&(i.types=l.types),O.T=i}}function oX(){}function oJ(e,t,n,r){if(5!==e.tag)throw Error(l(476));var a=o0(e).queue;oZ(e,a,t,D,null===n?oX:function(){return o1(e),n(r)})}function o0(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:D},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function o1(e){var t=o0(e);null===t.next&&(t=e.alternate.memoizedState),o9(e,t.next.queue,{},sl())}function o2(){return rK(cn)}function o4(){return oi().memoizedState}function o3(){return oi().memoizedState}function o5(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=sl(),r=a_(t,e=aC(n),n);null!==r&&(su(r,t,n),aT(r,t,n)),t={cache:r2()},e.payload=t;return}t=t.return}}function o8(e,t,n){var r=sl();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ie(e)?it(t,n):null!==(n=n5(e,t,n,r))&&(su(n,e,r),ir(n,t,r))}function o6(e,t,n){o9(e,t,n,sl())}function o9(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ie(e))it(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nC(l,i))return n3(e,t,a,0),null===lz&&n4(),!1}catch(e){}finally{}if(null!==(n=n5(e,t,a,r)))return su(n,e,r),ir(n,t,r),!0}return!1}function o7(e,t,n,r){if(r={lane:2,revertLane:s0(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ie(e)){if(t)throw Error(l(479))}else null!==(t=n5(e,n,r,2))&&su(t,e,2)}function ie(e){var t=e.alternate;return e===aY||null!==t&&t===aY}function it(e,t){a0=aJ=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ir(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ej(e,n)}}var ia={readContext:rK,use:ou,useCallback:a8,useContext:a8,useEffect:a8,useImperativeHandle:a8,useLayoutEffect:a8,useInsertionEffect:a8,useMemo:a8,useReducer:a8,useRef:a8,useState:a8,useDebugValue:a8,useDeferredValue:a8,useTransition:a8,useSyncExternalStore:a8,useId:a8,useHostTransitionStatus:a8,useFormState:a8,useActionState:a8,useOptimistic:a8,useMemoCache:a8,useCacheRefresh:a8};ia.useEffectEvent=a8;var io={readContext:rK,use:ou,useCallback:function(e,t){return oo().memoizedState=[e,void 0===t?null:t],e},useContext:rK,useEffect:oz,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,oM(4194308,4,oH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){oM(4,2,e,t)},useMemo:function(e,t){var n=oo();t=void 0===t?null:t;var r=e();if(a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=oo();if(void 0!==n){var a=n(t);if(a1){eh(!0);try{n(t)}finally{eh(!1)}}}else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=o8.bind(null,aY,e),[r.memoizedState,e]},useRef:function(e){return oo().memoizedState={current:e}},useState:function(e){var t=(e=ok(e)).queue,n=o6.bind(null,aY,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:oW,useDeferredValue:function(e,t){return oK(oo(),e,t)},useTransition:function(){var e=ok(!1);return e=oZ.bind(null,aY,e.queue,!0,!1),oo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=aY,a=oo();if(rT){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lz)throw Error(l(349));0!=(127&lB)||og(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oz(ob.bind(null,r,o,e),[e]),r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,o,n,t),null),n},useId:function(){var e=oo(),t=lz.identifierPrefix;if(rT){var n=rw,r=rv;t="_"+t+"R_"+(n=(r&~(1<<32-eg(r)-1)).toString(32)+n),0<(n=a2++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=a5++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:o2,useFormState:oP,useActionState:oP,useOptimistic:function(e){var t=oo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=o7.bind(null,aY,!0,n),n.dispatch=t,[e,t]},useMemoCache:oc,useCacheRefresh:function(){return oo().memoizedState=o5.bind(null,aY)},useEffectEvent:function(e){var t=oo(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lF))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},ii={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:of,useRef:oI,useState:function(){return of(od)},useDebugValue:oW,useDeferredValue:function(e,t){return oY(oi(),aZ.memoizedState,e,t)},useTransition:function(){var e=of(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oN,useActionState:oN,useOptimistic:function(e,t){return ox(oi(),aZ,e,t)},useMemoCache:oc,useCacheRefresh:o3};ii.useEffectEvent=oB;var il={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:om,useRef:oI,useState:function(){return om(od)},useDebugValue:oW,useDeferredValue:function(e,t){var n=oi();return null===aZ?oK(n,e,t):oY(n,aZ.memoizedState,e,t)},useTransition:function(){var e=om(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oL,useActionState:oL,useOptimistic:function(e,t){var n=oi();return null!==aZ?ox(n,aZ,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:oc,useCacheRefresh:o3};function is(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:p({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}il.useEffectEvent=oB;var iu={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sl(),r=aC(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=a_(e,r,n))&&(su(t,e,n),aT(t,e,n))}};function ic(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!n_(n,r)||!n_(a,o)}function id(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iu.enqueueReplaceState(t,t.state,null)}function ip(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=p({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function im(e){nJ(e)}function ih(e){console.error(e)}function ig(e){nJ(e)}function iy(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ib(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iv(e,t,n){return(n=aC(n)).tag=3,n.payload={element:null},n.callback=function(){iy(e,t)},n}function iw(e){return(e=aC(e)).tag=3,e}function ik(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var o=r.value;e.payload=function(){return a(o)},e.callback=function(){ib(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){ib(t,n,r),"function"!=typeof a&&(null===l6?l6=new Set([this]):l6.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var ix=Error(l(461)),iS=!1;function iE(e,t,n,r){t.child=null===e?ax(t,null,n,r):ak(t,e.child,n,r)}function iA(e,t,n,r,a){n=n.render;var o=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return(rQ(t),r=a9(e,t,n,i,o,a),l=on(),null===e||iS)?(rT&&l&&rS(t),t.flags|=1,iE(e,t,r,a),t.child):(or(e,t,a),iQ(e,t,a))}function iC(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||rn(o)||void 0!==o.defaultProps||null!==n.compare?((e=ro(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,i_(e,t,o,r,a))}if(o=e.child,!iK(e,a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:n_)(i,r)&&e.ref===t.ref)return iQ(e,t,a)}return t.flags|=1,(e=rr(o,r)).ref=t.ref,e.return=t,t.child=e}function i_(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n_(o,r)&&e.ref===t.ref)if(iS=!1,t.pendingProps=r=o,!iK(e,a))return t.lanes=e.lanes,iQ(e,t,a);else 0!=(131072&e.flags)&&(iS=!0)}return iL(e,t,n,r,a)}function iT(e,t,n,r){var a=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|n:n,null!==e){for(a=0,r=t.child=e.child;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~o}else r=0,t.child=null;return iP(e,t,o,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iP(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&an(t,null!==o?o.cachePool:null),null!==o?aM(t,o):aF(),aH(t)}else null!==o?(an(t,o.cachePool),aM(t,o),aG(t),t.memoizedState=null):(null!==e&&an(t,null),aF(),aG(t));return iE(e,t,a,n),t.child}function ij(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iP(e,t,n,r,a){var o=at();return t.memoizedState={baseLanes:n,cachePool:o=null===o?null:{parent:r1._currentValue,pool:o}},null!==e&&an(t,null),aF(),aH(t),null!==e&&rW(e,t,r,!0),t.childLanes=a,null}function iN(e,t){return(t=iq({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iR(e,t,n){return ak(t,e.child,null,n),e=iN(t,t.pendingProps),e.flags|=2,aW(t),t.memoizedState=null,e}function iO(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function iL(e,t,n,r,a){return(rQ(t),n=a9(e,t,n,r,void 0,a),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,a),t.child):(or(e,t,a),iQ(e,t,a))}function iD(e,t,n,r,a,o){return(rQ(t),t.updateQueue=null,n=oe(t,r,n,a),a7(e),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,o),t.child):(or(e,t,o),iQ(e,t,o))}function iI(e,t,n,r,a){if(rQ(t),null===t.stateNode){var o=n7,i=n.contextType;"object"==typeof i&&null!==i&&(o=rK(i)),t.memoizedState=null!==(o=new n(r,o)).state&&void 0!==o.state?o.state:null,o.updater=iu,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},aE(t),i=n.contextType,o.context="object"==typeof i&&null!==i?rK(i):n7,o.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(is(t,n,i,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&iu.enqueueReplaceState(o,o.state,null),aR(t,r,o,a),aN(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var l=t.memoizedProps,s=ip(n,l);o.props=s;var u=o.context,c=n.contextType;i=n7,"object"==typeof c&&null!==c&&(i=rK(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l||u!==i)&&id(t,o,r,i),aS=!1;var f=t.memoizedState;o.state=f,aR(t,r,o,a),aN(),u=t.memoizedState,l||f!==u||aS?("function"==typeof d&&(is(t,n,d,r),u=t.memoizedState),(s=aS||ic(t,n,s,r,f,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=i,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,aA(e,t),c=ip(n,i=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,s=n7,"object"==typeof u&&null!==u&&(s=rK(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==s)&&id(t,o,r,s),aS=!1,f=t.memoizedState,o.state=f,aR(t,r,o,a),aN();var p=t.memoizedState;i!==d||f!==p||aS||null!==e&&null!==e.dependencies&&rV(e.dependencies)?("function"==typeof l&&(is(t,n,l,r),p=t.memoizedState),(c=aS||ic(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&rV(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,iO(e,t),r=0!=(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ak(t,e.child,null,a),t.child=ak(t,null,n,a)):iE(e,t,n,a),t.memoizedState=o.state,e=t.child):e=iQ(e,t,a),e}function iM(e,t,n,r){return rI(),t.flags|=256,iE(e,t,n,r),t.child}var iF={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iz(e){return{baseLanes:e,cachePool:ar()}}function i$(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lX),e}function iB(e,t,n){var r,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&aV.current)),r&&(o=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rT){if(o?aU(t):aG(t),(e=r_)?null!==(e=null!==(e=uR(e,rP))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(n=rs(e)).return=t,t.child=n,rC=t,r_=null):e=null,null===e)throw rR(t);return uL(e)?t.lanes=32:t.lanes=0x20000000,null}var s=a.children;return(a=a.fallback,o)?(aG(t),s=iq({mode:"hidden",children:s},o=t.mode),a=ri(a,o,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(null,a)):(aU(t),iU(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(i)256&t.flags?(aU(t),t.flags&=-257,t=iH(e,t,n)):null!==t.memoizedState?(aG(t),t.child=e.child,t.flags|=128,t=null):(aG(t),s=a.fallback,o=t.mode,a=iq({mode:"visible",children:a.children},o),s=ri(s,o,n,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,ak(t,e.child,null,n),(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,t=ij(null,a));else if(aU(t),uL(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var c=r.dgst;r=c,(a=Error(l(419))).stack="",a.digest=r,rF({value:a,source:null,stack:null}),t=iH(e,t,n)}else if(iS||rW(e,t,n,!1),r=0!=(n&e.childLanes),iS||r){if(null!==(r=lz)&&0!==(a=eP(r,n))&&a!==u.retryLane)throw u.retryLane=a,n8(e,a),su(r,e,a),ix;uO(s)||sw(),t=iH(e,t,n)}else uO(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,r_=uD(s.nextSibling),rC=t,rT=!0,rj=null,rP=!1,null!==e&&rA(t,e),t=iU(t,a.children),t.flags|=4096);return t}return o?(aG(t),s=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=rr(u,{mode:"hidden",children:a.children})).subtreeFlags=0x3e00000&u.subtreeFlags,null!==c?s=rr(c,s):(s=ri(s,o,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,ij(null,a),a=t.child,null===(s=e.child.memoizedState)?s=iz(n):(null!==(o=s.cachePool)?(u=r1._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=ar(),s={baseLanes:s.baseLanes|n,cachePool:o}),a.memoizedState=s,a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(e.child,a)):(aU(t),e=(n=e.child).sibling,(n=rr(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function iU(e,t){return(t=iq({mode:"visible",children:t},e.mode)).return=e,e.child=t}function iq(e,t){return(e=rt(22,e,null,t)).lanes=0,e}function iH(e,t,n){return ak(t,e.child,null,n),e=iU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iG(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),rH(e.return,t,n)}function iW(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.treeForkCount=o)}function iV(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;r=r.children;var i=aV.current,l=0!=(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,$(aV,i),iE(e,t,r,n),r=rT?rh:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iG(e,n,t);else if(19===e.tag)iG(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===aQ(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iW(t,!1,a,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===aQ(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iW(t,!0,n,null,o,r);break;case"together":iW(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function iQ(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lK|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(rW(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iK(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&rV(e))}function iY(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iS=!0;else{if(!iK(e,n)&&0==(128&t.flags))return iS=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),rU(t,r1,e.memoizedState.cache),rI();break;case 27:case 5:V(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:rU(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,aq(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return aU(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return iB(e,t,n);return aU(t),null!==(e=iQ(e,t,n))?e.sibling:null}aU(t);break;case 19:var a=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(rW(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return iV(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),$(aV,aV.current),!r)return null;break;case 22:return t.lanes=0,iT(e,t,n,t.pendingProps);case 24:rU(t,r1,e.memoizedState.cache)}return iQ(e,t,n)}(e,t,n);iS=0!=(131072&e.flags)}else iS=!1,rT&&0!=(1048576&t.flags)&&rx(t,rh,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ad(t.elementType),t.type=e,"function"==typeof e)rn(e)?(r=ip(e,r),t.tag=1,t=iI(null,t,e,r,n)):(t.tag=0,t=iL(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===x){t.tag=11,t=iA(null,t,e,r,n);break e}if(a===A){t.tag=14,t=iC(null,t,e,r,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===N?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case y:return"Fragment";case v:return"Profiler";case b:return"StrictMode";case S:return"Suspense";case E:return"SuspenseList";case _:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case g:return"Portal";case k:return t.displayName||"Context";case w:return(t._context.displayName||"Context")+".Consumer";case x:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case C:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return iL(e,t,t.type,t.pendingProps,n);case 1:return a=ip(r=t.type,t.pendingProps),iI(e,t,r,a,n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,aA(e,t),aR(t,r,null,n);var i=t.memoizedState;if(rU(t,r1,r=i.cache),r!==o.cache&&rG(t,[r1],n,!0),aN(),r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=iM(e,t,r,n);break e}else if(r!==a){rF(a=rd(Error(l(424)),t)),t=iM(e,t,r,n);break e}else for(r_=uD((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rC=t,rT=!0,rj=null,rP=!0,n=ax(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rI(),r===a){t=iQ(e,t,n);break e}iE(e,t,r,n)}t=t.child}return t;case 26:return iO(e,t),null===e?(n=uV(t.type,null,t.pendingProps,null))?t.memoizedState=n:rT||(n=t.type,e=t.pendingProps,(r=ub(q.current).createElement(n))[eI]=t,r[eM]=e,um(r,n,e),eK(r),t.stateNode=r):t.memoizedState=uV(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return V(t),null===e&&rT&&(r=t.stateNode=uz(t.type,t.pendingProps,q.current),rC=t,rP=!0,a=r_,uT(t.type)?(uI=a,r_=uD(r.firstChild)):r_=a),iE(e,t,t.pendingProps.children,n),iO(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rT&&((a=r=r_)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eq])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=uD(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rP))?(t.stateNode=r,rC=t,r_=uD(r.firstChild),rP=!1,a=!0):a=!1),a||rR(t)),V(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,r=o.children,uk(a,o)?r=null:null!==i&&uk(a,i)&&(t.flags|=32),null!==t.memoizedState&&(cn._currentValue=a=a9(e,t,ot,null,null,n)),iO(e,t),iE(e,t,r,n),t.child;case 6:return null===e&&rT&&((e=n=r_)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=uD(e.nextSibling)))return null;return e}(n,t.pendingProps,rP))?(t.stateNode=n,rC=t,r_=null,e=!0):e=!1),e||rR(t)),null;case 13:return iB(e,t,n);case 4:return G(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ak(t,null,r,n):iE(e,t,r,n),t.child;case 11:return iA(e,t,t.type,t.pendingProps,n);case 7:return iE(e,t,t.pendingProps,n),t.child;case 8:case 12:return iE(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,rU(t,t.type,r.value),iE(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,rQ(t),r=r(a=rK(a)),t.flags|=1,iE(e,t,r,n),t.child;case 14:return iC(e,t,t.type,t.pendingProps,n);case 15:return i_(e,t,t.type,t.pendingProps,n);case 19:return iV(e,t,n);case 31:var s=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===s){if(rT){if("hidden"===d.mode)return s=iN(u,d),u.lanes=0x20000000,ij(null,s);if(aq(u),(s=r_)?null!==(s=null!==(s=uR(s,rP))&&"&"===s.data?s:null)&&(u.memoizedState={dehydrated:s,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(c=rs(s)).return=u,u.child=c,rC=u,r_=null):s=null,null===s)throw rR(u);return u.lanes=0x20000000,null}return iN(u,d)}var p=s.memoizedState;if(null!==p){var m=p.dehydrated;if(aq(u),f)if(256&u.flags)u.flags&=-257,u=iR(s,u,c);else if(null!==u.memoizedState)u.child=s.child,u.flags|=128,u=null;else throw Error(l(558));else if(iS||rW(s,u,c,!1),f=0!=(c&s.childLanes),iS||f){if(null!==(d=lz)&&0!==(m=eP(d,c))&&m!==p.retryLane)throw p.retryLane=m,n8(s,m),su(d,s,m),ix;sw(),u=iR(s,u,c)}else s=p.treeContext,r_=uD(m.nextSibling),rC=u,rT=!0,rj=null,rP=!1,null!==s&&rA(u,s),u=iN(u,d),u.flags|=4096;return u}return(s=rr(s.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=s,s.return=u,s;case 22:return iT(e,t,n,t.pendingProps);case 24:return rQ(t),r=rK(r1),null===e?(null===(a=at())&&(a=lz,o=r2(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},aE(t),rU(t,r1,a)):(0!=(e.lanes&n)&&(aA(e,t),aR(t,null,null,n),aN()),a=e.memoizedState,o=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),rU(t,r1,r)):(rU(t,r1,r=o.cache),r!==a.cache&&rG(t,[r1],n,!0))),iE(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function iZ(e){e.flags|=4}function iX(e,t,n,r,a){if((t=0!=(32&e.mode))&&(t=!1),t){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(sy())e.flags|=8192;else throw af=as,ao}else e.flags&=-0x1000001}function iJ(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!u8(t))if(sy())e.flags|=8192;else throw af=as,ao}function i0(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eA():0x20000000,e.lanes|=t,lJ|=t)}function i1(e,t){if(!rT)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function i2(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x3e00000&a.subtreeFlags,r|=0x3e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function i4(e,t){switch(rE(t),t.tag){case 3:rq(r1),W();break;case 26:case 27:case 5:Q(t);break;case 4:W();break;case 31:null!==t.memoizedState&&aW(t);break;case 13:aW(t);break;case 19:z(aV);break;case 10:rq(t.type);break;case 22:case 23:aW(t),az(),null!==e&&z(ae);break;case 24:rq(r1)}}function i3(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var o=n.create;n.inst.destroy=r=o()}n=n.next}while(n!==a)}}catch(e){sD(t,t.return,e)}}function i5(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next;r=o;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,a=t;try{l()}catch(e){sD(a,n,e)}}}r=r.next}while(r!==o)}}catch(e){sD(t,t.return,e)}}function i8(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aL(t,n)}catch(t){sD(e,e.return,t)}}}function i6(e,t,n){n.props=ip(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){sD(e,t,n)}}function i9(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){sD(e,t,n)}}function i7(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){sD(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){sD(e,t,n)}else n.current=null}function le(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){sD(e,e.return,t)}}function lt(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,i=null,s=null,u=null,c=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&null!=f)switch(m){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(m)||uf(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=m||null!=f))switch(p){case"type":o=m;break;case"name":a=m;break;case"checked":c=m;break;case"defaultChecked":d=m;break;case"value":i=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(l(137,t));break;default:m!==f&&uf(e,t,p,m,r,f)}}tr(e,i,s,u,c,d,o,a);return;case"select":for(o in m=i=s=p=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":m=u;default:r.hasOwnProperty(o)||uf(e,t,o,null,r,u)}for(a in r)if(o=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":p=o;break;case"defaultValue":s=o;break;case"multiple":i=o;default:o!==u&&uf(e,t,a,o,r,u)}t=s,n=i,r=m,null!=p?ti(e,!!n,p,!1):!!r!=!!n&&(null!=t?ti(e,!!n,t,!0):ti(e,!!n,n?[]:"",!1));return;case"textarea":for(s in m=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:uf(e,t,s,null,r,a)}for(i in r)if(a=r[i],o=n[i],r.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":p=a;break;case"defaultValue":m=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(l(91));break;default:a!==o&&uf(e,t,i,a,r,o)}tl(e,p,m);return;case"option":for(var h in n)p=n[h],n.hasOwnProperty(h)&&null!=p&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:uf(e,t,h,null,r,p));for(u in r)p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(null!=p||null!=m)&&("selected"===u?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:uf(e,t,u,p,r,m));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&uf(e,t,g,null,r,p);for(c in r)if(p=r[c],m=n[c],r.hasOwnProperty(c)&&p!==m&&(null!=p||null!=m))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:uf(e,t,c,p,r,m)}return;default:if(tp(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&up(e,t,y,void 0,r,p);for(d in r)p=r[d],m=n[d],r.hasOwnProperty(d)&&p!==m&&(void 0!==p||void 0!==m)&&up(e,t,d,p,r,m);return}}for(var b in n)p=n[b],n.hasOwnProperty(b)&&null!=p&&!r.hasOwnProperty(b)&&uf(e,t,b,null,r,p);for(f in r)p=r[f],m=n[f],r.hasOwnProperty(f)&&p!==m&&(null!=p||null!=m)&&uf(e,t,f,p,r,m)})(r,e.type,n,t),r[eM]=t}catch(t){sD(e,e.return,t)}}function ln(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&uT(e.type)||4===e.tag}function lr(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ln(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&uT(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function la(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&uT(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(la(e,t,n),e=e.sibling;null!==e;)la(e,t,n),e=e.sibling}function lo(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);um(t,r,n),t[eI]=e,t[eM]=n}catch(t){sD(e,e.return,t)}}var li=!1,ll=!1,ls=!1,lu="function"==typeof WeakSet?WeakSet:Set,lc=null;function ld(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lS(e,n),4&r&&i3(5,n);break;case 1:if(lS(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){sD(n,n.return,e)}else{var a=ip(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){sD(n,n.return,e)}}64&r&&i8(n),512&r&&i9(n,n.return);break;case 3:if(lS(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{aL(e,t)}catch(e){sD(n,n.return,e)}}break;case 27:null===t&&4&r&&lo(n);case 26:case 5:lS(e,n),null===t&&4&r&&le(n),512&r&&i9(n,n.return);break;case 12:default:lS(e,n);break;case 31:lS(e,n),4&r&&lg(e,n);break;case 13:lS(e,n),4&r&&ly(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=sz.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||li)){t=null!==t&&null!==t.memoizedState||ll,a=li;var o=ll;li=r,(ll=t)&&!o?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,o=t,i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,r),i3(4,i);break;case 1:if(e(o,i,r),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){sD(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var s=a.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)aO(u[o],s)}catch(e){sD(a,a.return,e)}}r&&64&l&&i8(i),i9(i,i.return);break;case 27:lo(i);case 26:case 5:e(o,i,r),r&&null===a&&4&l&&le(i),i9(i,i.return);break;case 12:default:e(o,i,r);break;case 31:e(o,i,r),r&&4&l&&lg(o,i);break;case 13:e(o,i,r),r&&4&l&&ly(o,i);break;case 22:null===i.memoizedState&&e(o,i,r),i9(i,i.return);case 30:}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):lS(e,n),li=a,ll=o}case 30:}}var lf=null,lp=!1;function lm(e,t,n){for(n=n.child;null!==n;)lh(e,t,n),n=n.sibling}function lh(e,t,n){if(em&&"function"==typeof em.onCommitFiberUnmount)try{em.onCommitFiberUnmount(ep,n)}catch(e){}switch(n.tag){case 26:ll||i7(n,t),lm(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ll||i7(n,t);var r=lf,a=lp;uT(n.type)&&(lf=n.stateNode,lp=!1),lm(e,t,n),u$(n.stateNode),lf=r,lp=a;break;case 5:ll||i7(n,t);case 6:if(r=lf,a=lp,lf=null,lm(e,t,n),lf=r,lp=a,null!==lf)if(lp)try{(9===lf.nodeType?lf.body:"HTML"===lf.nodeName?lf.ownerDocument.body:lf).removeChild(n.stateNode)}catch(e){sD(n,t,e)}else try{lf.removeChild(n.stateNode)}catch(e){sD(n,t,e)}break;case 18:null!==lf&&(lp?(uj(9===(e=lf).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),cD(e)):uj(lf,n.stateNode));break;case 4:r=lf,a=lp,lf=n.stateNode.containerInfo,lp=!0,lm(e,t,n),lf=r,lp=a;break;case 0:case 11:case 14:case 15:i5(2,n,t),ll||i5(4,n,t),lm(e,t,n);break;case 1:ll||(i7(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&i6(n,t,r)),lm(e,t,n);break;case 21:default:lm(e,t,n);break;case 22:ll=(r=ll)||null!==n.memoizedState,lm(e,t,n),ll=r}}function lg(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{cD(e)}catch(e){sD(t,t.return,e)}}}function ly(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{cD(e)}catch(e){sD(t,t.return,e)}}function lb(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lu),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=s$.bind(null,e,t);t.then(r,r)}})}function lv(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r],o=e,i=t,s=i;e:for(;null!==s;){switch(s.tag){case 27:if(uT(s.type)){lf=s.stateNode,lp=!1;break e}break;case 5:lf=s.stateNode,lp=!1;break e;case 3:case 4:lf=s.stateNode.containerInfo,lp=!0;break e}s=s.return}if(null===lf)throw Error(l(160));lh(o,i,a),lf=null,lp=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)lk(t,e),t=t.sibling}var lw=null;function lk(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lv(t,e),lx(e),4&r&&(i5(3,e,e.return),i3(3,e),i5(5,e,e.return));break;case 1:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),64&r&&li&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var a=lw;if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(r){case"title":(!(o=a.getElementsByTagName("title")[0])||o[eq]||o[eI]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector("head > title"))),um(o,r,n),o[eI]=e,eK(o),r=o;break e;case"link":var i=u3("link","href",a).get(r+(n.href||""));if(i){for(var s=0;s<i.length;s++)if((o=i[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;case"meta":if(i=u3("meta","content",a).get(r+(n.content||""))){for(s=0;s<i.length;s++)if((o=i[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;default:throw Error(l(468,r))}o[eI]=e,eK(o),r=o}e.stateNode=r}else u5(a,e.type,e.stateNode);else e.stateNode=uJ(a,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?u5(a,e.type,e.stateNode):uJ(a,r,e.memoizedProps)):null===r&&null!==e.stateNode&&lt(e,e.memoizedProps,n.memoizedProps)}break;case 27:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),null!==n&&4&r&&lt(e,e.memoizedProps,n.memoizedProps);break;case 5:if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),32&e.flags){a=e.stateNode;try{tu(a,"")}catch(t){sD(e,e.return,t)}}4&r&&null!=e.stateNode&&(a=e.memoizedProps,lt(e,a,null!==n?n.memoizedProps:a)),1024&r&&(ls=!0);break;case 6:if(lv(t,e),lx(e),4&r){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){sD(e,e.return,t)}}break;case 3:if(u4=null,a=lw,lw=uq(t.containerInfo),lv(t,e),lw=a,lx(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{cD(t.containerInfo)}catch(t){sD(e,e.return,t)}ls&&(ls=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e));break;case 4:r=lw,lw=uq(e.stateNode.containerInfo),lv(t,e),lx(e),lw=r;break;case 12:default:lv(t,e),lx(e);break;case 31:case 19:lv(t,e),lx(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 13:lv(t,e),lx(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(l4=ea()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 22:a=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=li,d=ll;if(li=c||a,ll=d||u,lv(t,e),ll=d,li=c,lx(e),8192&r)e:for((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||u||li||ll||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:i5(4,n,n.return),e(n);break;case 1:i7(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&i6(n,n.return,r),e(n);break;case 27:u$(n.stateNode);case 26:case 5:i7(n,n.return),e(n);break;case 22:null===n.memoizedState&&e(n);break;default:e(n)}t=t.sibling}}(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,a)i=o.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){sD(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){sD(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var m=u.stateNode;a?uP(m,!0):uP(u.stateNode,!1)}catch(e){sD(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,lb(e,n));case 30:case 21:}}function lx(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(ln(r)){n=r;break}r=r.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var a=n.stateNode,o=lr(e);la(e,o,a);break;case 5:var i=n.stateNode;32&n.flags&&(tu(i,""),n.flags&=-33);var s=lr(e);la(e,s,i);break;case 3:case 4:var u=n.stateNode.containerInfo,c=lr(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(t,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=ty));else if(4!==a&&(27===a&&uT(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,c,u);break;default:throw Error(l(161))}}catch(t){sD(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function lS(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)ld(e,t.alternate,t),t=t.sibling}function lE(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&r4(n))}function lA(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e))}function lC(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)l_(e,t,n,r),t=t.sibling}function l_(e,t,n,r){var a=t.flags;switch(t.tag){case 0:case 11:case 15:lC(e,t,n,r),2048&a&&i3(9,t);break;case 1:case 31:case 13:default:lC(e,t,n,r);break;case 3:lC(e,t,n,r),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e)));break;case 12:if(2048&a){lC(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,l=o.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){sD(t,t.return,e)}}else lC(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?lC(e,t,n,r):lT(e,t):2&o._visibility?lC(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,o){for(o=o&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,a,o),i3(8,i);break;case 23:break;case 22:var s=i.stateNode;null!==i.memoizedState?2&s._visibility?e(t,i,r,a,o):lT(t,i):(s._visibility|=2,e(t,i,r,a,o)),o&&2048&l&&lE(i.alternate,i);break;case 24:e(t,i,r,a,o),o&&2048&l&&lA(i.alternate,i);break;default:e(t,i,r,a,o)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags))),2048&a&&lE(i,t);break;case 24:lC(e,t,n,r),2048&a&&lA(t.alternate,t)}}function lT(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:lT(e,n),2048&r&&lE(n.alternate,n);break;case 24:lT(e,n),2048&r&&lA(n.alternate,n);break;default:lT(e,n)}t=t.sibling}}var lj=8192;function lP(e,t,n){if(e.subtreeFlags&lj)for(e=e.child;null!==e;)lN(e,t,n),e=e.sibling}function lN(e,t,n){switch(e.tag){case 26:lP(e,t,n),e.flags&lj&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=uQ(r.href),o=t.querySelector(uK(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=u9.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,eK(o);return}o=t.ownerDocument||t,r=uY(r),(a=uB.get(a))&&u1(r,a),eK(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=u9.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,lw,e.memoizedState,e.memoizedProps);break;case 5:default:lP(e,t,n);break;case 3:case 4:var r=lw;lw=uq(e.stateNode.containerInfo),lP(e,t,n),lw=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lj,lj=0x1000000,lP(e,t,n),lj=r):lP(e,t,n))}}function lR(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function lO(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lc=r,lD(r,e)}lR(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lL(e),e=e.sibling}function lL(e){switch(e.tag){case 0:case 11:case 15:lO(e),2048&e.flags&&i5(9,e,e.return);break;case 3:case 12:default:lO(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];lc=a,lD(a,t)}lR(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:i5(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):lO(e)}}function lD(e,t){for(;null!==lc;){var n=lc;switch(n.tag){case 0:case 11:case 15:i5(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:r4(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lc=r;else for(n=e;null!==lc;){var a=(r=lc).sibling,o=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&eH(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lc=null;break}if(null!==a){a.return=o,lc=a;break}lc=o}}}var lI={getCacheForType:function(e){var t=rK(r1),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return rK(r1).controller.signal}},lM="function"==typeof WeakMap?WeakMap:Map,lF=0,lz=null,l$=null,lB=0,lU=0,lq=null,lH=!1,lG=!1,lW=!1,lV=0,lQ=0,lK=0,lY=0,lZ=0,lX=0,lJ=0,l0=null,l1=null,l2=!1,l4=0,l3=0,l5=1/0,l8=null,l6=null,l9=0,l7=null,se=null,st=0,sn=0,sr=null,sa=null,so=0,si=null;function sl(){return 0!=(2&lF)&&0!==lB?lB&-lB:null!==O.T?s0():eO()}function ss(){if(0===lX)if(0==(0x20000000&lB)||rT){var e=ew;0==(3932160&(ew<<=1))&&(ew=262144),lX=e}else lX=0x20000000;return null!==(e=a$.current)&&(e.flags|=32),lX}function su(e,t,n){(e===lz&&(2===lU||9===lU)||null!==e.cancelPendingCommit)&&(sh(e,0),sf(e,lB,lX,!1)),e_(e,n),(0==(2&lF)||e!==lz)&&(e===lz&&(0==(2&lF)&&(lY|=n),4===lQ&&sf(e,lB,lX,!1)),sV(e))}function sc(e,t,n){if(0!=(6&lF))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eE(e,t),a=r?function(e,t){var n=lF;lF|=2;var r=sb(),a=sv();lz!==e||lB!==t?(l8=null,l5=ea()+500,sh(e,t)):lG=eE(e,t);e:for(;;)try{if(0!==lU&&null!==l$){t=l$;var o=lq;t:switch(lU){case 1:lU=0,lq=null,sE(e,t,o,1);break;case 2:case 9:if(au(o)){lU=0,lq=null,sS(t);break}t=function(){2!==lU&&9!==lU||lz!==e||(lU=7),sV(e)},o.then(t,t);break e;case 3:lU=7;break e;case 4:lU=5;break e;case 7:au(o)?(lU=0,lq=null,sS(t)):(lU=0,lq=null,sE(e,t,o,7));break;case 5:var i=null;switch(l$.tag){case 26:i=l$.memoizedState;case 5:case 27:var s=l$;if(i?u8(i):s.stateNode.complete){lU=0,lq=null;var u=s.sibling;if(null!==u)l$=u;else{var c=s.return;null!==c?(l$=c,sA(c)):l$=null}break t}}lU=0,lq=null,sE(e,t,o,5);break;case 6:lU=0,lq=null,sE(e,t,o,6);break;case 8:sm(),lQ=6;break e;default:throw Error(l(462))}}for(;null!==l$&&!en();)sx(l$);break}catch(t){sg(e,t)}return(rB=r$=null,O.H=r,O.A=a,lF=n,null!==l$)?0:(lz=null,lB=0,n4(),lQ)}(e,t):sk(e,t,!0),o=r;;){if(0===a)lG&&!r&&sf(e,t,0,!1);else{if(n=e.current.alternate,o&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nC(o(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=sk(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{a=l0;var s=e.current.memoizedState.isDehydrated;if(s&&(sh(e,i).flags|=256),2!==(i=sk(e,i,!1))){if(lW&&!s){e.errorRecoveryDisabledLanes|=o,lY|=o,a=4;break e}o=l1,l1=a,null!==o&&(null===l1?l1=o:l1.push.apply(l1,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){sh(e,0),sf(e,t,0,!0);break}e:{switch(r=e,o=a){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t)break;case 6:sf(r,t,lX,!lH);break e;case 2:l1=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(a=l4+300-ea())){if(sf(r,t,lX,!lH),0!==eS(r,0,!0))break e;st=t,r.timeoutHandle=uS(sd.bind(null,r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,"Throttled",-0,0),a);break e}sd(r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,null,-0,0)}}break}sV(e)}function sd(e,t,n,r,a,o,i,l,s,u,c,d,f,p){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||0x1002000==(0x1002000&d)){lN(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ty});var m,h,g=(0x3c00000&o)===o?l4-ea():(4194048&o)===o?l3-ea():0;if(null!==(m=d,h=g,m.stylesheets&&0===m.count&&ce(m,m.stylesheets),g=0<m.count||0<m.imgCount?function(e){var t=setTimeout(function(){if(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend){var e=m.unsuspend;m.unsuspend=null,e()}},6e4+h);0<m.imgBytes&&0===u6&&(u6=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],o=a.transferSize,i=a.initiatorType,l=a.duration;if(o&&l&&uh(i)){for(i=0,l=a.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&uh(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(m.waitingForImages=!1,0===m.count&&(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend)){var e=m.unsuspend;m.unsuspend=null,e()}},(m.imgBytes>u6?50:800)+h);return m.unsuspend=e,function(){m.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)){st=o,e.cancelPendingCommit=g(s_.bind(null,e,t,o,n,r,a,i,l,s,c,d,null,f,p)),sf(e,o,i,!u);return}}s_(e,t,o,n,r,a,i,l,s)}function sf(e,t,n,r){t&=~lZ,t&=~lY,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var o=31-eg(a),i=1<<o;r[o]=-1,a&=~i}0!==n&&eT(e,n,t)}function sp(){return 0!=(6&lF)||(sQ(0,!1),!1)}function sm(){if(null!==l$){if(0===lU)var e=l$.return;else e=l$,rB=r$=null,oa(e),ah=null,ag=0,e=l$;for(;null!==e;)i4(e.alternate,e),e=e.return;l$=null}}function sh(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,uE(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),st=0,sm(),lz=e,l$=n=rr(e.current,null),lB=t,lU=0,lq=null,lH=!1,lG=eE(e,t),lW=!1,lJ=lX=lZ=lY=lK=lQ=0,l1=l0=null,l2=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eg(r),o=1<<a;t|=e[a],r&=~o}return lV=t,n4(),n}function sg(e,t){aY=null,O.H=ia,t===aa||t===al?(t=ap(),lU=3):t===ao?(t=ap(),lU=4):lU=t===ix?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lq=t,null===l$&&(lQ=1,iy(e,rd(t,e.current)))}function sy(){var e=a$.current;return null===e||((4194048&lB)===lB?null===aB:((0x3c00000&lB)===lB||0!=(0x20000000&lB))&&e===aB)}function sb(){var e=O.H;return O.H=ia,null===e?ia:e}function sv(){var e=O.A;return O.A=lI,e}function sw(){lQ=4,lH||(4194048&lB)!==lB&&null!==a$.current||(lG=!0),0==(0x7ffffff&lK)&&0==(0x7ffffff&lY)||null===lz||sf(lz,lB,lX,!1)}function sk(e,t,n){var r=lF;lF|=2;var a=sb(),o=sv();(lz!==e||lB!==t)&&(l8=null,sh(e,t)),t=!1;var i=lQ;e:for(;;)try{if(0!==lU&&null!==l$){var l=l$,s=lq;switch(lU){case 8:sm(),i=6;break e;case 3:case 2:case 9:case 6:null===a$.current&&(t=!0);var u=lU;if(lU=0,lq=null,sE(e,l,s,u),n&&lG){i=0;break e}break;default:u=lU,lU=0,lq=null,sE(e,l,s,u)}}(function(){for(;null!==l$;)sx(l$)})(),i=lQ;break}catch(t){sg(e,t)}return t&&e.shellSuspendCounter++,rB=r$=null,lF=r,O.H=a,O.A=o,null===l$&&(lz=null,lB=0,n4()),i}function sx(e){var t=iY(e.alternate,e,lV);e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sS(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=iD(n,t,t.pendingProps,t.type,void 0,lB);break;case 11:t=iD(n,t,t.pendingProps,t.type.render,t.ref,lB);break;case 5:oa(t);default:i4(n,t),t=iY(n,t=l$=ra(t,lV),lV)}e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sE(e,t,n,r){rB=r$=null,oa(t),ah=null,ag=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&rW(t,n,a,!0),null!==(n=a$.current)){switch(n.tag){case 31:case 13:return null===aB?sw():null===n.alternate&&0===lQ&&(lQ=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===as?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),sI(e,r,a)),!1;case 22:return n.flags|=65536,r===as?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),sI(e,r,a)),!1}throw Error(l(435,n.tag))}return sI(e,r,a),sw(),!1}if(rT)return null!==(t=a$.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rN&&rF(rd(e=Error(l(422),{cause:r}),n))):(r!==rN&&rF(rd(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rd(r,n),a=iv(e.stateNode,r,a),aj(e,a),4!==lQ&&(lQ=2)),!1;var o=Error(l(520),{cause:r});if(o=rd(o,n),null===l0?l0=[o]:l0.push(o),4!==lQ&&(lQ=2),null===t)return!0;r=rd(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=iv(n.stateNode,r,e),aj(n,e),!1;case 1:if(t=n.type,o=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===l6||!l6.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,ik(a=iw(a),e,n,r),aj(n,a),!1}n=n.return}while(null!==n)return!1}(e,a,t,n,lB)){lQ=1,iy(e,rd(n,e.current)),l$=null;return}}catch(t){if(null!==a)throw l$=a,t;lQ=1,iy(e,rd(n,e.current)),l$=null;return}32768&t.flags?(rT||1===r?e=!0:lG||0!=(0x20000000&lB)?e=!1:(lH=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a$.current)&&13===r.tag&&(r.flags|=16384)),sC(t,e)):sA(t)}function sA(e){var t=e;do{if(0!=(32768&t.flags))return void sC(t,lH);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rE(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return i2(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),rq(r1),W(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rD(t)?iZ(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,rM())),i2(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(iZ(t),null!==o?(i2(t),iJ(t,o)):(i2(t),iX(t,a,null,r,n))):o?o!==e.memoizedState?(iZ(t),i2(t),iJ(t,o)):(i2(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&iZ(t),i2(t),iX(t,a,e,r,n)),null;case 27:if(Q(t),n=q.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}e=B.current,rD(t)?rO(t,e):(t.stateNode=e=uz(a,r,n),iZ(t))}return i2(t),null;case 5:if(Q(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}if(o=B.current,rD(t))rO(t,o);else{var i=ub(q.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?i.createElement(a,{is:r.is}):i.createElement(a)}}o[eI]=t,o[eM]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,um(o,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&iZ(t)}}return i2(t),iX(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=q.current,rD(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rC))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eI]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ud(e.nodeValue,n)))||rR(t,!0)}else(e=ub(e).createTextNode(r))[eI]=t,t.stateNode=e}return i2(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rD(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),e=!1}else n=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return aW(t),t;return aW(t),null}if(0!=(128&t.flags))throw Error(l(558))}return i2(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rD(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(l(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(l(317));a[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),a=!1}else a=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return aW(t),t;return aW(t),null}}if(aW(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),i0(t,t.updateQueue),i2(t),null;case 4:return W(),null===e&&ut(t.stateNode.containerInfo),i2(t),null;case 10:return rq(t.type),i2(t),null;case 19:if(z(aV),null===(r=t.memoizedState))return i2(t),null;if(a=0!=(128&t.flags),null===(o=r.rendering))if(a)i1(r,!1);else{if(0!==lQ||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=aQ(e))){for(t.flags|=128,i1(r,!1),t.updateQueue=e=o.updateQueue,i0(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)ra(n,e),n=n.sibling;return $(aV,1&aV.current|2),rT&&rk(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ea()>l5&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=aQ(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,i0(t,e),i1(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!rT)return i2(t),null}else 2*ea()-r.renderingStartTime>l5&&0x20000000!==n&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ea(),e.sibling=null,n=aV.current,$(aV,a?1&n|2:1&n),rT&&rk(t,r.treeForkCount),e;return i2(t),null;case 22:case 23:return aW(t),az(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(i2(t),6&t.subtreeFlags&&(t.flags|=8192)):i2(t),null!==(n=t.updateQueue)&&i0(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&z(ae),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),rq(r1),i2(t),null;case 25:case 30:return null}throw Error(l(156,t.tag))}(t.alternate,t,lV);if(null!==n){l$=n;return}if(null!==(t=t.sibling)){l$=t;return}l$=t=e}while(null!==t)0===lQ&&(lQ=5)}function sC(e,t){do{var n=function(e,t){switch(rE(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rq(r1),W(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Q(t),null;case 31:if(null!==t.memoizedState){if(aW(t),null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(aW(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return z(aV),null;case 4:return W(),null;case 10:return rq(t.type),null;case 22:case 23:return aW(t),az(),null!==e&&z(ae),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return rq(r1),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,l$=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){l$=e;return}l$=e=n}while(null!==e)lQ=6,l$=null}function s_(e,t,n,r,a,o,i,s,u){e.cancelPendingCommit=null;do sR();while(0!==l9)if(0!=(6&lF))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));if(!function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-eg(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eT(e,r,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,n,o=t.lanes|t.childLanes|n2,i,s,u),e===lz&&(l$=lz=null,lB=0),se=t,l7=e,st=n,sn=o,sr=a,sa=r,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,ee(es,function(){return sO(),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=O.T,O.T=null,a=L.p,L.p=2,i=lF,lF|=4;try{!function(e,t){if(e=e.containerInfo,ug=cc,nN(e=nP(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,d=0,f=0,p=e,m=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(u=s+o),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(a=p.firstChild);)m=p,p=a;for(;;){if(p===e)break t;if(m===n&&++d===o&&(u=s),m===i&&++f===r&&(c=s),null!==(a=p.nextSibling))break;m=(p=m).parentNode}p=a}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(uy={focusedElem:e,selectionRange:n},cc=!1,lc=t;null!==lc;)if(e=(t=lc).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,lc=e;else for(;null!==lc;){switch(i=(t=lc).alternate,e=t.flags,t.tag){case 0:if(0!=(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==i){e=void 0,n=t,o=i.memoizedProps,i=i.memoizedState,r=n.stateNode;try{var h=ip(n.type,o);e=r.getSnapshotBeforeUpdate(h,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){sD(n,n.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(n=(e=t.stateNode.containerInfo).nodeType))uN(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uN(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(l(163))}if(null!==(e=t.sibling)){e.return=t.return,lc=e;break}lc=t.return}}(e,t)}finally{lF=i,L.p=a,O.T=r}}l9=1,sT(),sj(),sP()}}function sT(){if(1===l9){l9=0;var e=l7,t=se,n=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{lk(t,e);var o=uy,i=nP(e.containerInfo),l=o.focusedElem,s=o.selectionRange;if(i!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nN(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=l.textContent.length,h=Math.min(s.start,m),g=void 0===s.end?h:Math.min(s.end,m);!p.extend&&h>g&&(i=g,g=h,h=i);var y=nj(l,h),b=nj(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),h>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}cc=!!ug,uy=ug=null}finally{lF=a,L.p=r,O.T=n}}e.current=t,l9=2}}function sj(){if(2===l9){l9=0;var e=l7,t=se,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{ld(e,t.alternate,t)}finally{lF=a,L.p=r,O.T=n}}l9=3}}function sP(){if(4===l9||3===l9){l9=0,er();var e=l7,t=se,n=st,r=sa;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?l9=5:(l9=0,se=l7=null,sN(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(l6=null),eR(n),t=t.stateNode,em&&"function"==typeof em.onCommitFiberRoot)try{em.onCommitFiberRoot(ep,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=O.T,a=L.p,L.p=2,O.T=null;try{for(var o=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];o(l.value,{componentStack:l.stack})}}finally{O.T=t,L.p=a}}0!=(3&st)&&sR(),sV(e),a=e.pendingLanes,0!=(261930&n)&&0!=(42&a)?e===si?so++:(so=0,si=e):so=0,sQ(0,!1)}}function sN(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,r4(t))}function sR(){return sT(),sj(),sP(),sO()}function sO(){if(5!==l9)return!1;var e=l7,t=sn;sn=0;var n=eR(st),r=O.T,a=L.p;try{L.p=32>n?32:n,O.T=null,n=sr,sr=null;var o=l7,i=st;if(l9=0,se=l7=null,st=0,0!=(6&lF))throw Error(l(331));var s=lF;if(lF|=4,lL(o.current),l_(o,o.current,i,n),lF=s,sQ(0,!1),em&&"function"==typeof em.onPostCommitFiberRoot)try{em.onPostCommitFiberRoot(ep,o)}catch(e){}return!0}finally{L.p=a,O.T=r,sN(e,t)}}function sL(e,t,n){t=rd(n,t),t=iv(e.stateNode,t,2),null!==(e=a_(e,t,2))&&(e_(e,2),sV(e))}function sD(e,t,n){if(3===e.tag)sL(e,e,n);else for(;null!==t;){if(3===t.tag){sL(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===l6||!l6.has(r))){e=rd(n,e),null!==(r=a_(t,n=iw(2),2))&&(ik(n,r,t,e),e_(r,2),sV(r));break}}t=t.return}}function sI(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lM;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(lW=!0,a.add(n),e=sM.bind(null,e,t,n),t.then(e,e))}function sM(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lz===e&&(lB&n)===n&&(4===lQ||3===lQ&&(0x3c00000&lB)===lB&&300>ea()-l4?0==(2&lF)&&sh(e,0):lZ|=n,lJ===lB&&(lJ=0)),sV(e)}function sF(e,t){0===t&&(t=eA()),null!==(e=n8(e,t))&&(e_(e,t),sV(e))}function sz(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sF(e,n)}function s$(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),sF(e,n)}var sB=null,sU=null,sq=!1,sH=!1,sG=!1,sW=0;function sV(e){e!==sU&&null===e.next&&(null===sU?sB=sU=e:sU=sU.next=e),sH=!0,sq||(sq=!0,uC(function(){0!=(6&lF)?ee(ei,sK):sY()}))}function sQ(e,t){if(!sG&&sH){sG=!0;do for(var n=!1,r=sB;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,l=r.pingedLanes;o=0xc000095&(o=(1<<31-eg(42|e)+1)-1&(a&~(i&~l)))?0xc000095&o|1:o?2|o:0}0!==o&&(n=!0,sJ(r,o))}else o=lB,0==(3&(o=eS(r,r===lz?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eE(r,o)||(n=!0,sJ(r,o));r=r.next}while(n)sG=!1}}function sK(){sY()}function sY(){sH=sq=!1;var e,t=0;0===sW||((e=window.event)&&"popstate"===e.type?e===ux||(ux=e,0):(ux=null,1))||(t=sW);for(var n=ea(),r=null,a=sB;null!==a;){var o=a.next,i=sZ(a,n);0===i?(a.next=null,null===r?sB=o:r.next=o,null===o&&(sU=r)):(r=a,(0!==t||0!=(3&i))&&(sH=!0)),a=o}0!==l9&&5!==l9||sQ(t,!1),0!==sW&&(sW=0)}function sZ(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eg(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}if(t=lz,n=lB,n=eS(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lU||9===lU)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&et(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eE(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&et(r),eR(n)){case 2:case 8:n=el;break;case 32:default:n=es;break;case 0x10000000:n=ec}return n=ee(n,r=sX.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&et(r),e.callbackPriority=2,e.callbackNode=null,2}function sX(e,t){if(0!==l9&&5!==l9)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(sR()&&e.callbackNode!==n)return null;var r=lB;return 0===(r=eS(e,e===lz?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(sc(e,r,t),sZ(e,ea()),null!=e.callbackNode&&e.callbackNode===n?sX.bind(null,e):null)}function sJ(e,t){if(sR())return null;sc(e,t,!0)}function s0(){if(0===sW){var e=r8;0===e&&(e=ev,0==(261888&(ev<<=1))&&(ev=256)),sW=e}return sW}function s1(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tg(""+e)}function s2(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var s4=0;s4<nZ.length;s4++){var s3=nZ[s4];nX(s3.toLowerCase(),"on"+(s3[0].toUpperCase()+s3.slice(1)))}nX(nq,"onAnimationEnd"),nX(nH,"onAnimationIteration"),nX(nG,"onAnimationStart"),nX("dblclick","onDoubleClick"),nX("focusin","onFocus"),nX("focusout","onBlur"),nX(nW,"onTransitionRun"),nX(nV,"onTransitionStart"),nX(nQ,"onTransitionCancel"),nX(nK,"onTransitionEnd"),eJ("onMouseEnter",["mouseout","mouseover"]),eJ("onMouseLeave",["mouseout","mouseover"]),eJ("onPointerEnter",["pointerout","pointerover"]),eJ("onPointerLeave",["pointerout","pointerover"]),eX("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eX("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eX("onBeforeInput",["compositionend","keypress","textInput","paste"]),eX("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var s5="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),s8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(s5));function s6(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}}}}function s9(e,t){var n=t[ez];void 0===n&&(n=t[ez]=new Set);var r=e+"__bubble";n.has(r)||(un(t,e,2,!1),n.add(r))}function s7(e,t,n){var r=0;t&&(r|=4),un(n,e,r,t)}var ue="_reactListening"+Math.random().toString(36).slice(2);function ut(e){if(!e[ue]){e[ue]=!0,eY.forEach(function(t){"selectionchange"!==t&&(s8.has(t)||s7(t,!1,e),s7(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ue]||(t[ue]=!0,s7("selectionchange",!1,t))}}function un(e,t,n,r){switch(cy(t)){case 2:var a=cd;break;case 8:a=cf;break;default:a=cp}n=a.bind(null,t,n,e),a=void 0,t_&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function ur(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==l;){if(null===(i=eG(l)))return;if(5===(s=i.tag)||6===s||26===s||27===s){r=o=i;continue e}l=l.parentNode}}r=r.return}tE(function(){var r=o,a=tv(n),i=[];e:{var l=nY.get(e);if(void 0!==l){var s=tq,c=e;switch(e){case"keypress":if(0===tO(n))break e;case"keydown":case"keyup":s=t3;break;case"focusin":c="focus",s=tK;break;case"focusout":c="blur",s=tK;break;case"beforeblur":case"afterblur":s=tK;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=tV;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=tQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=t8;break;case nq:case nH:case nG:s=tY;break;case nK:s=t6;break;case"scroll":case"scrollend":s=tG;break;case"wheel":s=t9;break;case"copy":case"cut":case"paste":s=tZ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=t5;break;case"toggle":case"beforetoggle":s=t7}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var m,h=r;null!==h;){var g=h;if(m=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===m||null===p||null!=(g=tA(h,p))&&d.push(ua(h,g,m)),f)break;h=h.return}0<d.length&&(l=new s(l,c,null,n,a),i.push({event:l,listeners:d}))}}if(0==(7&t)){if((l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==tb&&(c=n.relatedTarget||n.fromElement)&&(eG(c)||c[eF])))&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,null!==(c=c?eG(c):null)&&(f=u(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(s=null,c=r),s!==c)){if(d=tV,g="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(d=t5,g="onPointerLeave",p="onPointerEnter",h="pointer"),f=null==s?l:eV(s),m=null==c?l:eV(c),(l=new d(g,h+"leave",s,n,a)).target=f,l.relatedTarget=m,g=null,eG(a)===r&&((d=new d(p,h+"enter",c,n,a)).target=m,d.relatedTarget=f,g=d),f=g,s&&c)t:{for(d=ui,p=s,h=c,m=0,g=p;g;g=d(g))m++;g=0;for(var y,b=h;b;b=d(b))g++;for(;0<m-g;)p=d(p),m--;for(;0<g-m;)h=d(h),g--;for(;m--;){if(p===h||null!==h&&p===h.alternate){d=p;break t}p=d(p),h=d(h)}d=null}else d=null;null!==s&&ul(i,l,s,d,!1),null!==c&&null!==f&&ul(i,f,c,d,!0)}e:{if("select"===(s=(l=r?eV(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ng;else if(nc(l))if(ny)v=nA;else{v=nS;var w=nx}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nE:r&&tp(r.elementType)&&(v=ng);if(v&&(v=v(e,r))){nd(i,v,n,a);break e}w&&w(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&to(l,"number",l.value)}switch(w=r?eV(r):window,e){case"focusin":(nc(w)||"true"===w.contentEditable)&&(nO=w,nL=r,nD=null);break;case"focusout":nD=nL=nO=null;break;case"mousedown":nI=!0;break;case"contextmenu":case"mouseup":case"dragend":nI=!1,nM(i,n,a);break;case"selectionchange":if(nR)break;case"keydown":case"keyup":nM(i,n,a)}if(nt)t:{switch(e){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else ns?ni(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(na&&"ko"!==n.locale&&(ns||"onCompositionStart"!==k?"onCompositionEnd"===k&&ns&&(y=tR()):(tP="value"in(tj=a)?tj.value:tj.textContent,ns=!0)),0<(w=uo(r,k)).length&&(k=new tX(k,e,null,n,a),i.push({event:k,listeners:w}),y?k.data=y:null!==(y=nl(n))&&(k.data=y))),(y=nr?function(e,t){switch(e){case"compositionend":return nl(t);case"keypress":if(32!==t.which)return null;return no=!0," ";case"textInput":return" "===(e=t.data)&&no?null:e;default:return null}}(e,n):function(e,t){if(ns)return"compositionend"===e||!nt&&ni(e,t)?(e=tR(),tN=tP=tj=null,ns=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return na&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(k=uo(r,"onBeforeInput")).length&&(w=new tX("onBeforeInput","beforeinput",null,n,a),i.push({event:w,listeners:k}),w.data=y);var x=e;if("submit"===x&&r&&r.stateNode===a){var S=s1((a[eM]||null).action),E=n.submitter;E&&null!==(x=(x=E[eM]||null)?s1(x.formAction):E.getAttribute("formAction"))&&(S=x,E=null);var A=new tq("action","action",null,n,a);i.push({event:A,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==sW){var e=E?s2(a,E):new FormData(a);oJ(r,{pending:!0,data:e,method:a.method,action:S},null,e)}}else"function"==typeof S&&(A.preventDefault(),oJ(r,{pending:!0,data:e=E?s2(a,E):new FormData(a),method:a.method,action:S},S,e))},currentTarget:a}]})}}s6(i,t)})}function ua(e,t,n){return{instance:e,listener:t,currentTarget:n}}function uo(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tA(e,n))&&r.unshift(ua(e,a,o)),null!=(a=tA(e,t))&&r.push(ua(e,a,o))),3===e.tag)return r;e=e.return}return[]}function ui(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function ul(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,a?null!=(u=tA(n,o))&&i.unshift(ua(n,u,s)):a||null!=(u=tA(n,o))&&i.push(ua(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var us=/\r\n?/g,uu=/\u0000|\uFFFD/g;function uc(e){return("string"==typeof e?e:""+e).replace(us,"\n").replace(uu,"")}function ud(e,t){return t=uc(t),uc(e)===t}function uf(e,t,n,r,a,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||tu(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&tu(e,""+r);break;case"className":e3(e,"class",r);break;case"tabIndex":e3(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":e3(e,n,r);break;case"style":tf(e,r,o);break;case"data":if("object"!==t){e3(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&uf(e,t,"name",a.name,a,null),uf(e,t,"formEncType",a.formEncType,a,null),uf(e,t,"formMethod",a.formMethod,a,null),uf(e,t,"formTarget",a.formTarget,a,null)):(uf(e,t,"encType",a.encType,a,null),uf(e,t,"method",a.method,a,null),uf(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=ty);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tg(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":s9("beforetoggle",e),s9("toggle",e),e4(e,"popover",r);break;case"xlinkActuate":e5(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":e5(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":e5(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":e5(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":e5(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":e5(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":e5(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":e5(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":e5(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":e4(e,"is",r);break;default:2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1])||e4(e,n=tm.get(n)||n,r)}}function up(e,t,n,r,a,o){switch(n){case"style":tf(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"children":"string"==typeof r?tu(e,r):("number"==typeof r||"bigint"==typeof r)&&tu(e,""+r);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"onClick":null!=r&&(e.onclick=ty);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eZ.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(o=null!=(o=e[eM]||null)?o[n]:null)&&e.removeEventListener(t,o,a),"function"==typeof r)){"function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break e}n in e?e[n]=r:!0===r?e.setAttribute(n,""):e4(e,n,r)}}}function um(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":s9("error",e),s9("load",e);var r,a=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,r,i,n,null)}}o&&uf(e,t,"srcSet",n.srcSet,n,null),a&&uf(e,t,"src",n.src,n,null);return;case"input":s9("invalid",e);var s=r=i=o=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:uf(e,t,a,d,n,null)}}ta(e,r,s,u,c,i,o,!1);return;case"select":for(o in s9("invalid",e),a=i=r=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:uf(e,t,o,s,n,null)}t=r,n=i,e.multiple=!!a,null!=t?ti(e,!!a,t,!1):null!=n&&ti(e,!!a,n,!0);return;case"textarea":for(i in s9("invalid",e),r=o=a=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:uf(e,t,i,s,n,null)}ts(e,a,o,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:uf(e,t,u,a,n,null));return;case"dialog":s9("beforetoggle",e),s9("toggle",e),s9("cancel",e),s9("close",e);break;case"iframe":case"object":s9("load",e);break;case"video":case"audio":for(a=0;a<s5.length;a++)s9(s5[a],e);break;case"image":s9("error",e),s9("load",e);break;case"details":s9("toggle",e);break;case"embed":case"source":case"link":s9("error",e),s9("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,c,a,n,null)}return;default:if(tp(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&up(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&uf(e,t,s,a,n,null)}function uh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var ug=null,uy=null;function ub(e){return 9===e.nodeType?e:e.ownerDocument}function uv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uw(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function uk(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ux=null,uS="function"==typeof setTimeout?setTimeout:void 0,uE="function"==typeof clearTimeout?clearTimeout:void 0,uA="function"==typeof Promise?Promise:void 0,uC="function"==typeof queueMicrotask?queueMicrotask:void 0!==uA?function(e){return uA.resolve(null).then(e).catch(u_)}:uS;function u_(e){setTimeout(function(){throw e})}function uT(e){return"head"===e}function uj(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),cD(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)u$(e.ownerDocument.documentElement);else if("head"===n){u$(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var i=o.nextSibling,l=o.nodeName;o[eq]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=i}}else"body"===n&&u$(e.ownerDocument.body);n=a}while(n)cD(t)}function uP(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function uN(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uN(n),eH(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function uR(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uD(e.nextSibling)))return null;return e}function uO(e){return"$?"===e.data||"$~"===e.data}function uL(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uD(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var uI=null;function uM(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return uD(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function uF(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function uz(e,t,n){switch(t=ub(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function u$(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);eH(e)}var uB=new Map,uU=new Set;function uq(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var uH=L.d;L.d={f:function(){var e=uH.f(),t=sp();return e||t},r:function(e){var t=eW(e);null!==t&&5===t.tag&&"form"===t.type?o1(t):uH.r(e)},D:function(e){uH.D(e),uW("dns-prefetch",e,null)},C:function(e,t){uH.C(e,t),uW("preconnect",e,t)},L:function(e,t,n){if(uH.L(e,t,n),uG&&e&&t){var r='link[rel="preload"][as="'+tn(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tn(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tn(n.imageSizes)+'"]')):r+='[href="'+tn(e)+'"]';var a=r;switch(t){case"style":a=uQ(e);break;case"script":a=uZ(e)}uB.has(a)||(e=p({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),uB.set(a,e),null!==uG.querySelector(r)||"style"===t&&uG.querySelector(uK(a))||"script"===t&&uG.querySelector(uX(a))||(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}},m:function(e,t){if(uH.m(e,t),uG&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tn(n)+'"][href="'+tn(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=uZ(e)}if(!uB.has(a)&&(e=p({rel:"modulepreload",href:e},t),uB.set(a,e),null===uG.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(uG.querySelector(uX(a)))return}um(n=uG.createElement("link"),"link",e),eK(n),uG.head.appendChild(n)}}},X:function(e,t){if(uH.X(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(uH.S(e,t,n),uG&&e){var r=eQ(uG).hoistableStyles,a=uQ(e);t=t||"default";var o=r.get(a);if(!o){var i={loading:0,preload:null};if(o=uG.querySelector(uK(a)))i.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},n),(n=uB.get(a))&&u1(e,n);var l=o=uG.createElement("link");eK(l),um(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,u0(o,t,uG)}o={type:"stylesheet",instance:o,count:1,state:i},r.set(a,o)}}},M:function(e,t){if(uH.M(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0,type:"module"},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var uG="u"<typeof document?null:document;function uW(e,t,n){if(uG&&"string"==typeof t&&t){var r=tn(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),uU.has(r)||(uU.add(r),e={rel:e,crossOrigin:n,href:t},null===uG.querySelector(r)&&(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}}function uV(e,t,n,r){var a=(a=q.current)?uq(a):null;if(!a)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=uQ(n.href),(r=(n=eQ(a).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=uQ(n.href);var o,i,s,u,c=eQ(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(uK(e)))&&!c._p&&(d.instance=c,d.state.loading=5),uB.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},uB.set(e,n),c||(o=a,i=e,s=n,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),um(i,"link",s),eK(i),o.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=uZ(n),(r=(n=eQ(a).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function uQ(e){return'href="'+tn(e)+'"'}function uK(e){return'link[rel="stylesheet"]['+e+"]"}function uY(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function uZ(e){return'[src="'+tn(e)+'"]'}function uX(e){return"script[async]"+e}function uJ(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tn(n.href)+'"]');if(r)return t.instance=r,eK(r),r;var a=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return eK(r=(e.ownerDocument||e).createElement("style")),um(r,"style",a),u0(r,n.precedence,e),t.instance=r;case"stylesheet":a=uQ(n.href);var o=e.querySelector(uK(a));if(o)return t.state.loading|=4,t.instance=o,eK(o),o;r=uY(n),(a=uB.get(a))&&u1(r,a),eK(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),t.state.loading|=4,u0(o,n.precedence,e),t.instance=o;case"script":if(o=uZ(n.src),a=e.querySelector(uX(o)))return t.instance=a,eK(a),a;return r=n,(a=uB.get(o))&&u2(r=p({},n),a),eK(a=(e=e.ownerDocument||e).createElement("script")),um(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,u0(r,n.precedence,e)),t.instance}function u0(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,o=a,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)o=l;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function u1(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function u2(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var u4=null;function u3(e,t,n){if(null===u4){var r=new Map,a=u4=new Map;a.set(n,r)}else(r=(a=u4).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var o=n[a];if(!(o[eq]||o[eI]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(o):r.set(i,[o])}}return r}function u5(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function u8(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var u6=0;function u9(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)ce(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var u7=null;function ce(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,u7=new Map,t.forEach(ct,e),u7=null,u9.call(e))}function ct(e,t){if(!(4&t.state.loading)){var n=u7.get(e);if(n)var r=n.get(null);else{n=new Map,u7.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(a=t.instance).getAttribute("data-precedence"),(o=n.get(i)||r)===r&&n.set(null,a),n.set(i,a),this.count++,r=u9.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var cn={$$typeof:k,Provider:null,Consumer:null,_currentValue:D,_currentValue2:D,_threadCount:0};function cr(e,t,n,r,a,o,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eC(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eC(0),this.hiddenUpdates=eC(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function ca(e,t,n,r,a,o,i,l,s,u,c,d){return e=new cr(e,t,n,i,s,u,c,d,l),t=1,!0===o&&(t|=24),o=rt(3,null,null,t),e.current=o,o.stateNode=e,t=r2(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},aE(o),e}function co(e,t,n,r,a,o){a=a?n7:n7,null===r.context?r.context=a:r.pendingContext=a,(r=aC(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=a_(e,r,t))&&(su(n,e,t),aT(n,e,t))}function ci(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function cl(e,t){ci(e,t),(e=e.alternate)&&ci(e,t)}function cs(e){if(13===e.tag||31===e.tag){var t=n8(e,0x4000000);null!==t&&su(t,e,0x4000000),cl(e,0x4000000)}}function cu(e){if(13===e.tag||31===e.tag){var t=sl(),n=n8(e,t=eN(t));null!==n&&su(n,e,t),cl(e,t)}}var cc=!0;function cd(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=2,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cf(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=8,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cp(e,t,n,r){if(cc){var a=cm(r);if(null===a)ur(e,t,r,ch,n),cC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return cv=c_(cv,e,t,n,r,a),!0;case"dragenter":return cw=c_(cw,e,t,n,r,a),!0;case"mouseover":return ck=c_(ck,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return cx.set(o,c_(cx.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,cS.set(o,c_(cS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(cC(e,r),4&t&&-1<cA.indexOf(e)){for(;null!==a;){var o=eW(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=ex(o.pendingLanes);if(0!==i){var l=o;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-eg(i);l.entanglements[1]|=s,i&=~s}sV(o),0==(6&lF)&&(l5=ea()+500,sQ(0,!1))}}break;case 31:case 13:null!==(l=n8(o,2))&&su(l,o,2),sp(),cl(o,2)}if(null===(o=cm(r))&&ur(e,t,r,ch,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else ur(e,t,r,null,n)}}function cm(e){return cg(e=tv(e))}var ch=null;function cg(e){if(ch=null,null!==(e=eG(e))){var t=u(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=d(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ch=e,null}function cy(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eo()){case ei:return 2;case el:return 8;case es:case eu:return 32;case ec:return 0x10000000;default:return 32}default:return 32}}var cb=!1,cv=null,cw=null,ck=null,cx=new Map,cS=new Map,cE=[],cA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function cC(e,t){switch(e){case"focusin":case"focusout":cv=null;break;case"dragenter":case"dragleave":cw=null;break;case"mouseover":case"mouseout":ck=null;break;case"pointerover":case"pointerout":cx.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cS.delete(t.pointerId)}}function c_(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=eW(t))&&cs(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function cT(e){var t=eG(e.target);if(null!==t){var n=u(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=c(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(31===t){if(null!==(t=d(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cj(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cm(e.nativeEvent);if(null!==n)return null!==(t=eW(n))&&cs(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tb=r,n.target.dispatchEvent(r),tb=null,t.shift()}return!0}function cP(e,t,n){cj(e)&&n.delete(t)}function cN(){cb=!1,null!==cv&&cj(cv)&&(cv=null),null!==cw&&cj(cw)&&(cw=null),null!==ck&&cj(ck)&&(ck=null),cx.forEach(cP),cS.forEach(cP)}function cR(e,t){e.blockedOn===t&&(e.blockedOn=null,cb||(cb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,cN)))}var cO=null;function cL(e){cO!==e&&(cO=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){cO===e&&(cO=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===cg(r||n))continue;else break;var o=eW(n);null!==o&&(e.splice(t,3),t-=3,oJ(o,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function cD(e){function t(t){return cR(t,e)}null!==cv&&cR(cv,e),null!==cw&&cR(cw,e),null!==ck&&cR(ck,e),cx.forEach(t),cS.forEach(t);for(var n=0;n<cE.length;n++){var r=cE[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<cE.length&&null===(n=cE[0]).blockedOn;)cT(n),null===n.blockedOn&&cE.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],o=n[r+1],i=a[eM]||null;if("function"==typeof o)i||cL(n);else if(i){var l=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eM]||null)l=i.formAction;else if(null!==cg(a))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),cL(n)}}}function cI(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function cM(e){this._internalRoot=e}function cF(e){this._internalRoot=e}cF.prototype.render=cM.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));co(t.current,sl(),e,t,null,null)},cF.prototype.unmount=cM.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;co(e.current,2,null,e,null,null),sp(),t[eF]=null}},cF.prototype.unstable_scheduleHydration=function(e){if(e){var t=eO();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cE.length&&0!==t&&t<cE[n].priority;n++);cE.splice(n,0,e),0===n&&cT(e)}};var cz=o.version;if("19.2.5"!==cz)throw Error(l(527,cz,"19.2.5"));if(L.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=u(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return f(a),e;if(o===r)return f(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,s=a.child;s;){if(s===n){i=!0,n=a,r=o;break}if(s===r){i=!0,r=a,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=a;break}if(s===r){i=!0,r=o,n=a;break}s=s.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var c$=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!c$.isDisabled&&c$.supportsFiber)try{ep=c$.inject({bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.5"}),em=c$}catch(e){}}t.createRoot=function(e,t){if(!s(e))throw Error(l(299));var n=!1,r="",a=im,o=ih,i=ig;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=ca(e,1,!1,null,null,n,r,null,a,o,i,cI),e[eF]=t.current,ut(e),new cM(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(l(299));var r=!1,a="",o=im,i=ih,u=ig,c=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.formState&&(c=n.formState)),(t=ca(e,1,!0,t,null!=n?n:null,r,a,c,o,i,u,cI)).context=n7,n=t.current,(a=aC(r=eN(r=sl()))).callback=null,a_(n,a,r),n=r,t.current.lanes=n,e_(t,n),sV(t),e[eF]=t.current,ut(e),new cF(t)},t.version="19.2.5"},6221(e,t,n){"use strict";var r=n(6540);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},l=Symbol.for("react.portal"),s=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},t.useFormStatus=function(){return s.H.useHostTransitionStatus()},t.version="19.2.5"},5338(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(1247)},961(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(6221)},115(e){var t="u">typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof)&&!e(o[u[s]],i[u[s]]))return!1;return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},545(e,t,n){"use strict";n.d(t,{mg:()=>Z,vd:()=>q});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map(function(e){return g[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=S(e,"defaultTitle");return t||r||void 0},A=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return f({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var a={};n.filter(function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e},[]).reverse()},_=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},T=function(e){return Array.isArray(e)?e.join(""):e},j=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return!function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},P=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},N=[g.NOSCRIPT,g.SCRIPT,g.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},O=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},L=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},D=function(e,t){return t.map(function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},I=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=L(n,a),[r.createElement(g.TITLE,o,e)]},toString:function(){var r,a,o,i;return r=t.title,a=t.titleAttributes,o=O(a),i=T(r),o?"<"+e+' data-rh="true" '+o+">"+R(i,n)+"</"+e+">":"<"+e+' data-rh="true">'+R(i,n)+"</"+e+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(t)},toString:function(){return O(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return t.reduce(function(t,r){var a=Object.keys(r).filter(function(e){return"innerHTML"!==e&&"cssText"!==e}).reduce(function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a},""),o=r.innerHTML||r.cssText||"",i=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")},"")}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,m,h,w,k,x,S=(p=e.linkTags,m=e.scriptTags,h=e.encode,w=j(e.metaTags,v),k=j(p,y),x=j(m,b),{priorityMethods:{toComponent:function(){return[].concat(D(g.META,w.priority),D(g.LINK,k.priority),D(g.SCRIPT,x.priority))},toString:function(){return I(g.META,w.priority,h)+" "+I(g.LINK,k.priority,h)+" "+I(g.SCRIPT,x.priority,h)}},metaTags:w.default,linkTags:k.default,scriptTags:x.default});f=S.priorityMethods,u=S.linkTags,c=S.metaTags,d=S.scriptTags}return{priority:f,base:I(g.BASE,t,r),bodyAttributes:I("bodyAttributes",n,r),htmlAttributes:I("htmlAttributes",a,r),link:I(g.LINK,u,r),meta:I(g.META,c,r),noscript:I(g.NOSCRIPT,o,r),script:I(g.SCRIPT,d,r),style:I(g.STYLE,i,r),title:I(g.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},F=[],z=function(e,t){var n=this;void 0===t&&(t="u">typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?F:n.instances},add:function(e){(n.canUseDOM?F:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?F:n.instances).indexOf(e);(n.canUseDOM?F:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="u">typeof document,q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);q.canUseDOM=U,q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(g.BODY,e.bodyAttributes),G(g.HTML,r),void 0!==c&&document.title!==c&&(document.title=T(c)),G(g.TITLE,d);var f={baseTag:H(g.BASE,n),linkTags:H(g.LINK,a),metaTags:H(g.META,o),noscriptTags:H(g.NOSCRIPT,i),scriptTags:H(g.SCRIPT,s),styleTags:H(g.STYLE,u)},p={},m={};Object.keys(f).forEach(function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)}),t&&t(),l(e,p,m)},V=null,Q=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=f({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[g.BASE]}).map(function(e){return e[g.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t},[])),bodyAttributes:A("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:A("htmlAttributes",t),linkTags:C(g.LINK,["rel","href"],t),metaTags:C(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(g.SCRIPT,["src","innerHTML"],t),styleTags:C(g.STYLE,["cssText"],t),title:E(t),titleAttributes:A("titleAttributes",t),prioritizeSeoTags:_(t,"prioritizeSeoTags")};q.canUseDOM?(V&&cancelAnimationFrame(V),o.defer?V=requestAnimationFrame(function(){W(o,function(){V=null})}):(W(o),V=null)):M&&(a=M(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:B.isRequired},Q.displayName="HelmetDispatcher";var K=["children"],Y=["children"],Z=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(P(this.props,"helmetData"),P(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach(function(t){var r;n=f({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,K),l=Object.keys(i).reduce(function(e,t){return e[x[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,Y),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(Q,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(Q,f({},a,{context:e}))})},t}(r.Component);Z.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},Z.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Z.displayName="Helmet"},2799(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},4363(e,t,n){"use strict";e.exports=n(2799)},3259(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=n(6540),s=[],u=[],c=l.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach(function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then(function(e){t.loaded[r]=e}).catch(function(e){t.error=e})})}catch(e){t.error=e}return t.promise=Promise.all(n).then(function(e){return t.loading=!1,e}).catch(function(e){throw t.loading=!1,e}),t}function p(e,t){return l.createElement(e&&e.__esModule?e.default:e,t)}function m(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,f,m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&u.push(function(){if((0,m.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return g()}),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()}),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach(function(t){e.context.report(t)}),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then(function(){return n(),null}).catch(function(e){return n(),null})}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),f}function h(e){return m(d,e)}function g(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return g(e)})}h.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)},h.Capture=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component),h.preloadAll=function(){return new Promise(function(e,t){g(s).then(e,t)})},h.preloadReady=function(){return new Promise(function(e,t){g(u).then(e,e)})},e.exports=h},2831(e,t,n){"use strict";n.d(t,{u:()=>function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.B6)(n,t):a.length?a[a.length-1].match:r.Ix.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a},v:()=>i});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map(function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})})):null}},4625(e,t,n){"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(6347),a=n(594),o=n(6540),i=n(3328),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h(function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),r())}});return m!==h?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=h(function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=e.history,r=p(f(d,e.location),e.location),s=r?n.createHref(r):"",g=(0,l.A)({},b,{href:s,navigate:function(){var t=f(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(p(t));(c||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,A=e.innerRef,C=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=w||e.location,i=p(f(E,n),n),s=i.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=_?(0,r.B6)(n.pathname,{path:_,exact:h,sensitive:k,strict:x}):null,j=!!(g?g(T,n):T),P="function"==typeof m?m(j):m,N="function"==typeof S?S(j):S;j&&(P=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(P,c),N=(0,l.A)({},N,d));var R=(0,l.A)({"aria-current":j&&a||null,className:P,style:N,to:i},C);return b!==v?R.ref=t||A:R.innerRef=A,o.createElement(y,R)})})},6347(e,t,n){"use strict";n.d(t,{B6:()=>v,Ix:()=>g,W6:()=>S,XZ:()=>h,dO:()=>k,qh:()=>w,zy:()=>E});var r=n(594),a=n(6540),o=n(5556),i=n.n(o),l=(n(3328),n(1561)),s=n(8168),u=n(5302),c=n.n(u);n(4363),n(8587),n(4146);var d="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==n.g?n.g:{},f=a.createContext||function(e,t){var n,o,l="__create-react-context-"+(d.__global_unique_id__=(d.__global_unique_id__||0)+1)+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return n=(t=e.call.apply(e,[this].concat(o))||this).props.value,r=[],t.emitter={on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}},t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;(r===a?0!==r||1/r==1/a:r!=r&&a!=a)?n=0:0!=(n=("function"==typeof t?t(r,a):0x3fffffff)|0)&&this.emitter.set(e.value,n)}},a.render=function(){return this.props.children},n}(a.Component);(n={})[l]=i().object.isRequired,s.childContextTypes=n;var u=function(t){function n(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(e.observedBits&n)!=0&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?0x3fffffff:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return(o={})[l]=i().object,u.contextTypes=o,{Provider:s,Consumer:u}},p=function(e){var t=f();return t.displayName=e,t},m=p("Router-History"),h=p("Router"),g=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component,a.Component;var y={},b=0;function v(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=y[n]||(y[n]={});if(r[e])return r[e];var a=[],o={regexp:c()(e,a,t),keys:a};return b<1e4&&(r[e]=o,b++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var d=s[0],f=s.slice(1),p=e===d;return o&&!p?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:p,params:i.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}var w=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?v(r.pathname,e.props):t.match,i=(0,s.A)({},t,{location:r,match:o}),u=e.props,c=u.children,d=u.component,f=u.render;return Array.isArray(c)&&(n=c,0===a.Children.count(n))&&(c=null),a.createElement(h.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):f?f(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);a.Component;var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?v(o.pathname,(0,s.A)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),x=a.useContext;function S(){return x(m)}function E(){return x(h).location}},9698(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var a=null;if(void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:a,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},9869(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function v(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var k=w.prototype=new v;k.constructor=w,g(k,b.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function S(){}var E={H:null,A:null,T:null,S:null},A=Object.prototype.hasOwnProperty;function C(e,t,r){var a=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==a?a:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function P(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),a,o,i,l)}}if(p)return l=l(t),p=""===i?"."+j(t,0):i,x(l)?(o="",null!=p&&(o=p.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(_(l)&&(s=l,u=o+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+p,l=C(s.type,u,s.props)),a.push(l)),1;p=0;var h=""===i?".":i+":";if(x(t))for(var g=0;g<t.length;g++)d=h+j(i=t[g],g),p+=e(i,a,o,d,l);else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=m&&c[m]||c["@@iterator"])?c:null))for(t=g.call(t),g=0;!(i=t.next()).done;)d=h+j(i=i.value,g++),p+=e(i,a,o,d,l);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),a,o,i,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};t.Activity=p,t.Children={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)A.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var i=Array(o),l=0;l<o;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,a,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,a={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)A.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(a[r]=t[r]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];a.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===a[r]&&(a[r]=i[r]);return C(e,o,a)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),a=E.S;null!==a&&a(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(S,R)}catch(e){R(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.2.5"},6540(e,t,n){"use strict";e.exports=n(9869)},4848(e,t,n){"use strict";e.exports=n(9698)},4477(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,m=3,h=!1,g=!1,y=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function S(e){if(y=!1,x(e),!g)if(null!==r(c))g=!0,E||(E=!0,i());else{var t=r(d);null!==t&&R(S,t.startTime-e)}}var E=!1,A=-1,C=5,_=-1;function T(){return!!b||!(t.unstable_now()-_<C)}function j(){if(b=!1,E){var e=t.unstable_now();_=e;var n=!0;try{e:{g=!1,y&&(y=!1,w(A),A=-1),h=!0;var o=m;try{t:{for(x(e),p=r(c);null!==p&&!(p.expirationTime>e&&T());){var l=p.callback;if("function"==typeof l){p.callback=null,m=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){p.callback=s,x(e),n=!0;break t}p===r(c)&&a(c),x(e)}else a(c);p=r(c)}if(null!==p)n=!0;else{var u=r(d);null!==u&&R(S,u.startTime-e),n=!1}}break e}finally{p=null,m=o,h=!1}}}finally{n?i():E=!1}}}if("function"==typeof k)i=function(){k(j)};else if("u">typeof MessageChannel){var P=new MessageChannel,N=P.port2;P.port1.onmessage=j,i=function(){N.postMessage(null)}}else i=function(){v(j,0)};function R(e,n){A=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,a,o){var l=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?l+o:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:s,sortIndex:-1},o>l?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(w(A),A=-1):y=!0,R(S,o-l))):(e.sortIndex=s,n(c,e),g||h||(g=!0,E||(E=!0,i()))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},9982(e,t,n){"use strict";e.exports=n(4477)},2833(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},8460(e,t,n){"use strict";n.d(t,{A:()=>f}),n(6540);var r=n(4848),a=n(3259),o=n.n(a),i=n(4054);let l={"0058b4c6":[()=>n.e("266").then(n.t.bind(n,6164,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",6164],"0402ec03":[()=>n.e("351").then(n.bind(n,6019)),"@site/docs/integrations/telegram.mdx",6019],"09292580":[()=>n.e("851").then(n.bind(n,3131)),"@site/docs/reference/permissions.mdx",3131],"115f7d00":[()=>n.e("618").then(n.bind(n,4176)),"@site/docs/reference/second-brain.mdx",4176],"138e0e15":[()=>n.e("234").then(n.t.bind(n,1597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",1597],"13fe4b11":[()=>n.e("461").then(n.bind(n,7489)),"@site/docs/releases/1.1.7.mdx",7489],"15bc3129":[()=>n.e("724").then(n.bind(n,4415)),"@site/docs/releases/1.1.6.mdx",4415],0x11113f9:[()=>Promise.all([n.e("14"),n.e("106")]).then(n.bind(n,8181)),"@theme/DocItem",8181],"1a4e3797":[()=>Promise.all([n.e("14"),n.e("847")]).then(n.bind(n,4907)),"@theme/SearchPage",4907],"1df93b7f":[()=>Promise.all([n.e("14"),n.e("452")]).then(n.bind(n,9735)),"@site/src/pages/index.tsx",9735],"2aa6d146":[()=>n.e("651").then(n.bind(n,685)),"@site/docs/daemon-mode/system-service.mdx",685],"2b538913":[()=>n.e("283").then(n.bind(n,15)),"@site/docs/integrations/spotify.mdx",15],"35a35434":[()=>n.e("770").then(n.bind(n,7705)),"@site/docs/cli-commands/commands.mdx",7705],"37a27735":[()=>n.e("263").then(n.bind(n,7175)),"@site/docs/reference/provider-fallback.mdx",7175],"449e68eb":[()=>n.e("871").then(n.bind(n,810)),"@site/docs/getting-started/setup.mdx",810],"47fe99a6":[()=>n.e("713").then(n.bind(n,2361)),"@site/docs/integrations/github-companion.mdx",2361],"4df8d22c":[()=>n.e("523").then(n.bind(n,1646)),"@site/docs/daemon-mode/background-mode.mdx",1646],"5e95c892":[()=>n.e("668").then(n.bind(n,6569)),"@theme/DocsRoot",6569],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"6459b84b":[()=>n.e("336").then(n.bind(n,6198)),"@site/docs/getting-started/installation.mdx",6198],"653db0f6":[()=>n.e("904").then(n.bind(n,439)),"@site/docs/reference/skills.mdx",439],"7e0893c3":[()=>n.e("454").then(n.bind(n,2979)),"@site/docs/reference/scheduling.mdx",2979],"8b9e049f":[()=>n.e("203").then(n.bind(n,5699)),"@site/docs/cli-commands/doctor.mdx",5699],a06fff0d:[()=>n.e("225").then(n.bind(n,8019)),"@site/docs/integrations/sub-agents.mdx",8019],a6e053fd:[()=>Promise.all([n.e("14"),n.e("368")]).then(n.bind(n,514)),"@site/docs/daemon-mode/platform-guide.mdx",514],a7456010:[()=>n.e("56").then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e("575").then(n.bind(n,8146)),"@theme/DocVersionRoot",8146],a94703ab:[()=>Promise.all([n.e("14"),n.e("785")]).then(n.bind(n,1399)),"@theme/DocRoot",1399],aba21aa0:[()=>n.e("747").then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],bc430709:[()=>n.e("788").then(n.bind(n,3505)),"@site/docs/getting-started/starting.mdx",3505],c12bbe07:[()=>n.e("624").then(n.bind(n,8494)),"@site/docs/integrations/coding-workspace.mdx",8494],c8078f0a:[()=>n.e("135").then(n.bind(n,7893)),"@site/docs/reference/configuration.mdx",7893],de57ece0:[()=>n.e("650").then(n.bind(n,4995)),"@site/docs/cli-commands/in-chat-commands.mdx",4995],e7df10b1:[()=>n.e("534").then(n.bind(n,5005)),"@site/docs/reference/built-in-tools.mdx",5005],f3244ec3:[()=>n.e("600").then(n.bind(n,9674)),"@site/docs/releases/releases.mdx",9674]};function s({error:e,retry:t,pastDelay:n}){return e?(0,r.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,r.jsx)("p",{children:String(e)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7665),c=n(7574);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("62").then(n.bind(n,629)),modules:["@theme/NotFound"],webpack:()=>[629],render(e,t){let n=e.default;return(0,r.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.A)(a)).forEach(([e,t])=>{let n=l[t];n&&(d[e]=n[0],f.push(n[1]),p.push(n[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(([t,n])=>{let r=n.default;if(!r)throw Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);("object"==typeof r||"function"==typeof r)&&Object.keys(n).filter(e=>"default"!==e).forEach(e=>{r[e]=n[e]});let a=o,i=t.split(".");i.slice(0,-1).forEach(e=>{a=a[e]}),a[i[i.length-1]]=r});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.W,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/search",component:d("/search","822"),exact:!0},{path:"/docs",component:d("/docs","b5f"),routes:[{path:"/docs",component:d("/docs","423"),routes:[{path:"/docs",component:d("/docs","20d"),routes:[{path:"/docs",component:d("/docs","731"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/cli-commands",component:d("/docs/cli-commands/cli-commands","5e0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/doctor",component:d("/docs/cli-commands/doctor","165"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/in-chat-commands",component:d("/docs/cli-commands/in-chat-commands","3be"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/daemon-mode",component:d("/docs/daemon-mode/daemon-mode","9c7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/platform-guide",component:d("/docs/daemon-mode/platform-guide","346"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/system-service",component:d("/docs/daemon-mode/system-service","d3a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/setup",component:d("/docs/getting-started/setup","870"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/starting",component:d("/docs/getting-started/starting","449"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/coding-workspace",component:d("/docs/integrations/coding-workspace","2c2"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/github-companion",component:d("/docs/integrations/github-companion","b37"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/spotify",component:d("/docs/integrations/spotify","10e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/sub-agents",component:d("/docs/integrations/sub-agents","1fe"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/telegram",component:d("/docs/integrations/telegram","ebc"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/built-in-tools",component:d("/docs/reference/built-in-tools","e86"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/configuration",component:d("/docs/reference/configuration","171"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/permissions",component:d("/docs/reference/permissions","bd4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/provider-fallback",component:d("/docs/reference/provider-fallback","b47"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/scheduling",component:d("/docs/reference/scheduling","0b4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/second-brain",component:d("/docs/reference/second-brain","2c4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/skills",component:d("/docs/reference/skills","d27"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases",component:d("/docs/releases","63f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases/1.1.6",component:d("/docs/releases/1.1.6","57f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases/1.1.7",component:d("/docs/releases/1.1.7","a16"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},1173(e,t,n){"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(4848),a=n(6540);let o=a.createContext(!1);function i({children:e}){let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{n(!0)},[]),(0,r.jsx)(o.Provider,{value:t,children:e})}},354(e,t,n){"use strict";var r=n(4848),a=n(6540),o=n(5338),i=n(545),l=n(4625),s=n(4784),u=n(1289);let c=[n(7612),n(6464),n(2489),n(3678),n(6448)];var d=n(8460),f=n(6347),p=n(2831);function m({children:e}){return(0,r.jsx)(r.Fragment,{children:e})}var h=n(3899);let g=e=>e.defaultFormatter(e);function y({children:e}){return(0,r.jsx)(h.AL,{formatter:g,children:e})}function b({children:e}){return(0,r.jsx)(y,{children:e})}var v=n(3572),w=n(898),k=n(6497),x=n(1022),S=n(4308),E=n(5243),A=n(5248),C=n(4175);function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,w.A)(),a=(0,E.o)(),o=n[e].htmlLang;return(0,r.jsxs)(v.A,{children:[Object.entries(n).map(([e,{htmlLang:t}])=>(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:e,fullyQualified:!0}),hrefLang:t},e)),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:o.replace("-","_")}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:e.htmlLang.replace("-","_")},`meta-og-${e.htmlLang}`))]})}function T({permalink:e}){let{siteConfig:{url:t}}=(0,w.A)(),n=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,w.A)(),{pathname:r}=(0,f.zy)();return e+(0,A.applyTrailingSlash)((0,k.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=e?`${t}${e}`:n;return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{property:"og:url",content:a}),(0,r.jsx)("link",{rel:"canonical",href:a})]})}function j(){let{i18n:{currentLocale:e}}=(0,w.A)(),{metadata:t,image:n}=(0,x.p)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{})]}),n&&(0,r.jsx)(S.be,{image:n}),(0,r.jsx)(T,{}),(0,r.jsx)(_,{}),(0,r.jsx)(C.A,{tag:"default",locale:e}),(0,r.jsx)(v.A,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let P=new Map;var N=n(1173),R=n(3587),O=n(9989);function L(e,...t){let n=c.map(n=>{let r=n.default?.[e]??n[e];return r?.(...t)});return()=>n.forEach(e=>e?.())}let D=function({children:e,location:t,previousLocation:n}){return(0,O.A)(()=>{n!==t&&(!function({location:e,previousLocation:t}){if(!t)return;let n=e.pathname===t.pathname,r=e.hash===t.hash,a=e.search===t.search;if(n&&r&&!a)return;let{hash:o}=e;if(o){let e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:n}),L("onRouteDidUpdate",{previousLocation:n,location:t}))},[n,t]),e};function I(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.u)(d.A,e)).flat().map(e=>e.route.component.preload?.()))}class M extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.A.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),I(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(D,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.qh,{location:t,render:()=>e})})}}let F="__docusaurus-base-url-issue-banner-suggestion-container";function z(){let{siteConfig:{baseUrl:e}}=(0,w.A)();return(0,r.jsx)(r.Fragment,{children:!u.A.canUseDOM&&(0,r.jsx)(v.A,{children:(0,r.jsx)("script",{children:`
document.addEventListener('DOMContentLoaded', function maybeInsertBanner() {
var shouldInsert = typeof window['docusaurus'] === 'undefined';
shouldInsert && insertBanner();
@@ -24,7 +24,7 @@ function insertBanner() {
: actualHomePagePath + '/';
suggestionContainer.innerHTML = suggestedBaseUrl;
}
-`})})})}function $(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,w.A)(),{pathname:n}=(0,f.zy)();return t&&n===e?(0,r.jsx)(z,{}):null}function B(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,w.A)(),i=(0,k.Ay)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var U=n(1701),q=n(9863);function H(){let e=(0,q.A)();return(0,r.jsx)(v.A,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let G=(0,p.v)(d.A);function W(){let e=function(e){if(P.has(e.pathname))return{...e,pathname:P.get(e.pathname)};if((0,p.u)(d.A,e.pathname).some(({route:e})=>!0===e.exact))return P.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return P.set(e.pathname,t),{...e,pathname:t}}((0,f.zy)());return(0,r.jsx)(M,{location:e,children:G})}var V=n(4054);let Q=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("u"<typeof document)return void n();let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var K=n(7665);let Y=new Set,Z=new Set,X=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,J=Object.freeze({prefetch:e=>!(X()||Z.has(e)||Y.has(e))&&(Y.add(e),Promise.all((0,p.u)(d.A,e).flatMap(e=>{let t;return t=e.route.path,Object.entries(V).filter(([e])=>e.replace(/-[^-]+$/,"")===t).flatMap(([,e])=>Object.values((0,K.A)(e)))}).map(e=>{let t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch(()=>{}):Promise.resolve()}))),preload:e=>!(X()||Z.has(e))&&(Z.add(e),I(e))});if(u.A.canUseDOM){window.docusaurus=J;let e=document.getElementById("__docusaurus"),t=(0,r.jsx)(i.vd,{children:(0,r.jsx)(function({children:e}){return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.I9,{children:e}):(0,r.jsx)(l.Kd,{children:e})},{children:(0,r.jsx)(function(){return(0,r.jsx)(U.A,{children:(0,r.jsx)(R.l,{children:(0,r.jsxs)(N.x,{children:[(0,r.jsx)(m,{children:(0,r.jsxs)(b,{children:[(0,r.jsx)(B,{}),(0,r.jsx)(j,{}),(0,r.jsx)($,{}),(0,r.jsx)(W,{})]})}),(0,r.jsx)(H,{})]})})})},{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},u=()=>{window.docusaurusRoot?window.docusaurusRoot.render(t):window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n})};I(window.location.pathname).then(()=>{(0,a.startTransition)(u)})}},3587(e,t,n){"use strict";n.d(t,{l:()=>f,o:()=>d});var r=n(4848),a=n(6540),o=n(4784),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"getting-started/installation","docs":[{"id":"cli-commands/cli-commands","path":"/docs/cli-commands/cli-commands","sidebar":"docsSidebar"},{"id":"cli-commands/doctor","path":"/docs/cli-commands/doctor","sidebar":"docsSidebar"},{"id":"cli-commands/in-chat-commands","path":"/docs/cli-commands/in-chat-commands","sidebar":"docsSidebar"},{"id":"daemon-mode/daemon-mode","path":"/docs/daemon-mode/daemon-mode","sidebar":"docsSidebar"},{"id":"daemon-mode/platform-guide","path":"/docs/daemon-mode/platform-guide","sidebar":"docsSidebar"},{"id":"daemon-mode/system-service","path":"/docs/daemon-mode/system-service","sidebar":"docsSidebar"},{"id":"getting-started/installation","path":"/docs/","sidebar":"docsSidebar"},{"id":"getting-started/setup","path":"/docs/getting-started/setup","sidebar":"docsSidebar"},{"id":"getting-started/starting","path":"/docs/getting-started/starting","sidebar":"docsSidebar"},{"id":"integrations/coding-workspace","path":"/docs/integrations/coding-workspace","sidebar":"docsSidebar"},{"id":"integrations/github-companion","path":"/docs/integrations/github-companion","sidebar":"docsSidebar"},{"id":"integrations/spotify","path":"/docs/integrations/spotify","sidebar":"docsSidebar"},{"id":"integrations/sub-agents","path":"/docs/integrations/sub-agents","sidebar":"docsSidebar"},{"id":"integrations/telegram","path":"/docs/integrations/telegram","sidebar":"docsSidebar"},{"id":"reference/built-in-tools","path":"/docs/reference/built-in-tools","sidebar":"docsSidebar"},{"id":"reference/configuration","path":"/docs/reference/configuration","sidebar":"docsSidebar"},{"id":"reference/permissions","path":"/docs/reference/permissions","sidebar":"docsSidebar"},{"id":"reference/provider-fallback","path":"/docs/reference/provider-fallback","sidebar":"docsSidebar"},{"id":"reference/scheduling","path":"/docs/reference/scheduling","sidebar":"docsSidebar"},{"id":"reference/second-brain","path":"/docs/reference/second-brain","sidebar":"docsSidebar"},{"id":"reference/skills","path":"/docs/reference/skills","sidebar":"docsSidebar"},{"id":"releases/1.1.6","path":"/docs/releases/1.1.6","sidebar":"docsSidebar"},{"id":"releases/releases","path":"/docs/releases/","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/","label":"getting-started/installation"}}}}],"breadcrumbs":true}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en","translate":false,"url":"https://mercury.cosmicstack.org","baseUrl":"/"}}}'),s=n(2654),u=JSON.parse('{"docusaurusVersion":"3.10.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-css-cascade-layers":{"type":"package","name":"@docusaurus/plugin-css-cascade-layers","version":"3.10.0"},"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.10.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.10.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.10.0"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.10.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.10.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.55.1"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f({children:e}){return(0,r.jsx)(d.Provider,{value:c,children:e})}},1701(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(4848),a=n(6540),o=n(1289),i=n(3572),l=n(5248),s=n(816),u=n(7574);function c({error:e,tryAgain:t}){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:e})]})}function d({error:e}){let t=(0,l.getErrorCausalChain)(e).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function f({children:e}){return(0,r.jsx)(u.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function p({error:e,tryAgain:t}){return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{fallback:()=>(0,r.jsx)(c,{error:e,tryAgain:t}),children:[(0,r.jsx)(i.A,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.A,{children:(0,r.jsx)(c,{error:e,tryAgain:t})})]})})}class m extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??(e=>(0,r.jsx)(p,{...e})))({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},1289(e,t,n){"use strict";n.d(t,{A:()=>a});let r="u">typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},3572(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(545);function o(e){return(0,r.jsx)(a.mg,{...e})}},5310(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(4848),a=n(6540),o=n(4625),i=n(5248),l=n(898),s=n(8310),u=n(1289),c=n(5916),d=n(6497);let f=a.forwardRef(function({isNavLink:e,to:t,href:n,activeClassName:f,isActive:p,"data-noBrokenLinkCheck":m,autoAddBaseUrl:h=!0,...g},y){var b;let{siteConfig:v}=(0,l.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,d.hH)(),E=(0,c.A)(),A=(0,a.useRef)(null);(0,a.useImperativeHandle)(y,()=>A.current);let C=t||n,_=(0,s.A)(C),T=C?.replace("pathname://",""),j=void 0!==T?(b=T,h&&b.startsWith("/")?S(b):b):void 0;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&_&&(j=(0,i.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));let P=(0,a.useRef)(!1),N=e?o.k2:o.N_,R=u.A.canUseIntersectionObserver,O=(0,a.useRef)(void 0),L=()=>{P.current||null==j||(window.docusaurus.preload(j),P.current=!0)};(0,a.useEffect)(()=>(!R&&_&&u.A.canUseDOM&&null!=j&&window.docusaurus.prefetch(j),()=>{R&&O.current&&O.current.disconnect()}),[O,j,R,_]);let D=j?.startsWith("#")??!1,I=!g.target||"_self"===g.target,M=!j||!_||!I||D&&"hash"!==x;m||!D&&M||E.collectLink(j),g.id&&E.collectAnchor(g.id);let F={};return M?(0,r.jsx)("a",{ref:A,href:j,...C&&!_&&{target:"_blank",rel:"noopener noreferrer"},...g,...F}):(0,r.jsx)(N,{...g,onMouseEnter:L,onTouchStart:L,innerRef:e=>{A.current=e,R&&e&&_&&(O.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))})}),O.current.observe(e))},to:j,...e&&{isActive:p,activeClassName:f},...F})})},568(e,t,n){"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(4848),a=n(6540);function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n(2654);function l({id:e,message:t}){if(void 0===e&&void 0===t)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[e??t]??t??e}function s({message:e,id:t},n){return o(l({message:e,id:t}),n)}function u({children:e,id:t,values:n}){if(e&&"string"!=typeof e)throw console.warn("Illegal <Translate> children",e),Error("The Docusaurus <Translate> component only accept simple string values");let a=l({message:e,id:t});return(0,r.jsx)(r.Fragment,{children:o(a,n)})}},8977(e,t,n){"use strict";n.d(t,{W:()=>r});let r="default"},8310(e,t,n){"use strict";function r(e){return/^(?:[A-Za-z][A-Za-z\d+.-]*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6497(e,t,n){"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(898),o=n(8310);function i(){let{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function({siteUrl:e,baseUrl:t,url:n,options:{forcePrependBaseUrl:r=!1,absolute:a=!1}={},router:i}){if(!n||n.startsWith("#")||(0,o.z)(n))return n;if("hash"===i)return n.startsWith("/")?`.${n}`:`./${n}`;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;let l=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+l:l})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e,t={}){let{withBaseUrl:n}=i();return n(e,t)}},5916(e,t,n){"use strict";n.d(t,{A:()=>o}),n(4848);var r=n(6540);let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}});function o(){return(0,r.useContext)(a)}},898(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(3587);function o(){return(0,r.useContext)(a.o)}},9863(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(1173);function o(){return(0,r.useContext)(a.o)}},9989(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(6540);let a=n(1289).A.canUseDOM?r.useLayoutEffect:r.useEffect},8491(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(7574);function o(){let e=r.useContext(a.o);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}},7665(e,t,n){"use strict";function r(e){let t={};return!function e(n,r){Object.entries(n).forEach(([n,a])=>{let o=r?`${r}.${n}`:n;"object"==typeof a&&a&&Object.keys(a).length>0?e(a,o):t[o]=a})}(e),t}n.d(t,{A:()=>r})},7574(e,t,n){"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(4848),a=n(6540);let o=a.createContext(null);function i({children:e,value:t}){let n=a.useContext(o),l=(0,a.useMemo)(()=>(function({parent:e,value:t}){if(!e){if(t){if(!("plugin"in t))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return t}let n={...e.data,...t?.data};return{plugin:e.plugin,data:n}})({parent:n,value:t}),[n,t]);return(0,r.jsx)(o.Provider,{value:l,children:e})}},2086(e,t,n){"use strict";n.d(t,{VQ:()=>p,g1:()=>m});var r=n(4848),a=n(6540),o=n(698),i=n(8977),l=n(1022),s=n(1367),u=n(2260);let c=e=>`docs-preferred-version-${e}`,d=a.createContext(null);function f({children:e}){let t=function(){let e=(0,o.Gy)(),t=(0,l.p)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>Object.fromEntries(n.map(e=>[e,{preferredVersionName:null}])));return(0,a.useEffect)(()=>{i(function({pluginIds:e,versionPersistence:t,allDocsData:n}){return Object.fromEntries(e.map(e=>{var r,a;let o,i,l;return[e,(i=e,l=t,o=(0,s.Wf)(c(i),{persistence:l}).get(),n[e].versions.some(e=>e.name===o)?{preferredVersionName:o}:(r=e,a=t,(0,s.Wf)(c(r),{persistence:a}).del(),{preferredVersionName:null}))]}))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){var r,a,o;r=e,a=t,o=n,(0,s.Wf)(c(r),{persistence:a}).set(o),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(d.Provider,{value:t,children:e})}function p({children:e}){return(0,r.jsx)(f,{children:e})}function m(e=i.W){let t=(0,o.ht)(e),[n,r]=function(){let e=(0,a.useContext)(d);if(!e)throw new u.dV("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find(e=>e.name===l)??null,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},2473(e,t,n){"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(4848),a=n(6540),o=n(2260);let i=Symbol("EmptyContext"),l=a.createContext(i);function s({children:e,name:t,items:n}){let o=(0,a.useMemo)(()=>t&&n?{name:t,items:n}:null,[t,n]);return(0,r.jsx)(l.Provider,{value:o,children:e})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},8260(e,t,n){"use strict";n.d(t,{B5:()=>v,Nr:()=>function e(t){if("link"===t.type&&!t.unlisted)return t.href;if("category"===t.type){if(t.href&&!t.linkUnlisted)return t.href;for(let n of t.items){let t=e(n);if(t)return t}return}},OF:()=>h,QB:()=>b,Vd:()=>g,Y:()=>m,fW:()=>y,w8:()=>p});var r=n(6540),a=n(6347),o=n(2831),i=n(698),l=n(9209),s=n(618),u=n(2086),c=n(921),d=n(2473);let f=(e,t)=>void 0!==e&&(0,l.ys)(e,t);function p(e,t){if("link"===e.type)return f(e.href,t);if("category"===e.type){let n;return f(e.href,t)||(n=e.items,n.some(e=>p(e,t)))}return!1}function m(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return p(t,n)||void 0!==t.href&&!t.linkUnlisted||t.items.some(t=>e(t,n));case"link":return!t.unlisted||p(t,n);default:return!0}})(e,t)),[e,t])}function h(){let e=(0,d.t)(),{pathname:t}=(0,a.zy)();return!1!==(0,i.vT)()?.pluginData.breadcrumbs&&e?function({sidebarItems:e,pathname:t,onlyCategories:n=!1}){let r=[];return!function e(a){for(let o of a)if("category"===o.type){if((0,l.ys)(o.href,t)||e(o.items))return r.unshift(o),!0}else if("link"===o.type&&o.docId&&(0,l.ys)(o.href,t))return n||r.unshift(o),!0;return!1}(e),r}({sidebarItems:e.items,pathname:t}):null}function g(e){let{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,u.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)(()=>(0,s.sb)([t,n,a].filter(Boolean)),[t,n,a])}function y(e,t){let n=g(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}".
+`})})})}function $(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,w.A)(),{pathname:n}=(0,f.zy)();return t&&n===e?(0,r.jsx)(z,{}):null}function B(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,w.A)(),i=(0,k.Ay)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var U=n(1701),q=n(9863);function H(){let e=(0,q.A)();return(0,r.jsx)(v.A,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let G=(0,p.v)(d.A);function W(){let e=function(e){if(P.has(e.pathname))return{...e,pathname:P.get(e.pathname)};if((0,p.u)(d.A,e.pathname).some(({route:e})=>!0===e.exact))return P.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return P.set(e.pathname,t),{...e,pathname:t}}((0,f.zy)());return(0,r.jsx)(M,{location:e,children:G})}var V=n(4054);let Q=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("u"<typeof document)return void n();let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var K=n(7665);let Y=new Set,Z=new Set,X=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,J=Object.freeze({prefetch:e=>!(X()||Z.has(e)||Y.has(e))&&(Y.add(e),Promise.all((0,p.u)(d.A,e).flatMap(e=>{let t;return t=e.route.path,Object.entries(V).filter(([e])=>e.replace(/-[^-]+$/,"")===t).flatMap(([,e])=>Object.values((0,K.A)(e)))}).map(e=>{let t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch(()=>{}):Promise.resolve()}))),preload:e=>!(X()||Z.has(e))&&(Z.add(e),I(e))});if(u.A.canUseDOM){window.docusaurus=J;let e=document.getElementById("__docusaurus"),t=(0,r.jsx)(i.vd,{children:(0,r.jsx)(function({children:e}){return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.I9,{children:e}):(0,r.jsx)(l.Kd,{children:e})},{children:(0,r.jsx)(function(){return(0,r.jsx)(U.A,{children:(0,r.jsx)(R.l,{children:(0,r.jsxs)(N.x,{children:[(0,r.jsx)(m,{children:(0,r.jsxs)(b,{children:[(0,r.jsx)(B,{}),(0,r.jsx)(j,{}),(0,r.jsx)($,{}),(0,r.jsx)(W,{})]})}),(0,r.jsx)(H,{})]})})})},{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},u=()=>{window.docusaurusRoot?window.docusaurusRoot.render(t):window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n})};I(window.location.pathname).then(()=>{(0,a.startTransition)(u)})}},3587(e,t,n){"use strict";n.d(t,{l:()=>f,o:()=>d});var r=n(4848),a=n(6540),o=n(4784),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"getting-started/installation","docs":[{"id":"cli-commands/cli-commands","path":"/docs/cli-commands/cli-commands","sidebar":"docsSidebar"},{"id":"cli-commands/doctor","path":"/docs/cli-commands/doctor","sidebar":"docsSidebar"},{"id":"cli-commands/in-chat-commands","path":"/docs/cli-commands/in-chat-commands","sidebar":"docsSidebar"},{"id":"daemon-mode/daemon-mode","path":"/docs/daemon-mode/daemon-mode","sidebar":"docsSidebar"},{"id":"daemon-mode/platform-guide","path":"/docs/daemon-mode/platform-guide","sidebar":"docsSidebar"},{"id":"daemon-mode/system-service","path":"/docs/daemon-mode/system-service","sidebar":"docsSidebar"},{"id":"getting-started/installation","path":"/docs/","sidebar":"docsSidebar"},{"id":"getting-started/setup","path":"/docs/getting-started/setup","sidebar":"docsSidebar"},{"id":"getting-started/starting","path":"/docs/getting-started/starting","sidebar":"docsSidebar"},{"id":"integrations/coding-workspace","path":"/docs/integrations/coding-workspace","sidebar":"docsSidebar"},{"id":"integrations/github-companion","path":"/docs/integrations/github-companion","sidebar":"docsSidebar"},{"id":"integrations/spotify","path":"/docs/integrations/spotify","sidebar":"docsSidebar"},{"id":"integrations/sub-agents","path":"/docs/integrations/sub-agents","sidebar":"docsSidebar"},{"id":"integrations/telegram","path":"/docs/integrations/telegram","sidebar":"docsSidebar"},{"id":"reference/built-in-tools","path":"/docs/reference/built-in-tools","sidebar":"docsSidebar"},{"id":"reference/configuration","path":"/docs/reference/configuration","sidebar":"docsSidebar"},{"id":"reference/permissions","path":"/docs/reference/permissions","sidebar":"docsSidebar"},{"id":"reference/provider-fallback","path":"/docs/reference/provider-fallback","sidebar":"docsSidebar"},{"id":"reference/scheduling","path":"/docs/reference/scheduling","sidebar":"docsSidebar"},{"id":"reference/second-brain","path":"/docs/reference/second-brain","sidebar":"docsSidebar"},{"id":"reference/skills","path":"/docs/reference/skills","sidebar":"docsSidebar"},{"id":"releases/1.1.6","path":"/docs/releases/1.1.6","sidebar":"docsSidebar"},{"id":"releases/1.1.7","path":"/docs/releases/1.1.7","sidebar":"docsSidebar"},{"id":"releases/releases","path":"/docs/releases/","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/","label":"getting-started/installation"}}}}],"breadcrumbs":true}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en","translate":false,"url":"https://mercury.cosmicstack.org","baseUrl":"/"}}}'),s=n(2654),u=JSON.parse('{"docusaurusVersion":"3.10.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-css-cascade-layers":{"type":"package","name":"@docusaurus/plugin-css-cascade-layers","version":"3.10.0"},"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.10.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.10.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.10.0"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.10.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.10.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.55.1"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f({children:e}){return(0,r.jsx)(d.Provider,{value:c,children:e})}},1701(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(4848),a=n(6540),o=n(1289),i=n(3572),l=n(5248),s=n(816),u=n(7574);function c({error:e,tryAgain:t}){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:e})]})}function d({error:e}){let t=(0,l.getErrorCausalChain)(e).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function f({children:e}){return(0,r.jsx)(u.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function p({error:e,tryAgain:t}){return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{fallback:()=>(0,r.jsx)(c,{error:e,tryAgain:t}),children:[(0,r.jsx)(i.A,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.A,{children:(0,r.jsx)(c,{error:e,tryAgain:t})})]})})}class m extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??(e=>(0,r.jsx)(p,{...e})))({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},1289(e,t,n){"use strict";n.d(t,{A:()=>a});let r="u">typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},3572(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(545);function o(e){return(0,r.jsx)(a.mg,{...e})}},5310(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(4848),a=n(6540),o=n(4625),i=n(5248),l=n(898),s=n(8310),u=n(1289),c=n(5916),d=n(6497);let f=a.forwardRef(function({isNavLink:e,to:t,href:n,activeClassName:f,isActive:p,"data-noBrokenLinkCheck":m,autoAddBaseUrl:h=!0,...g},y){var b;let{siteConfig:v}=(0,l.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,d.hH)(),E=(0,c.A)(),A=(0,a.useRef)(null);(0,a.useImperativeHandle)(y,()=>A.current);let C=t||n,_=(0,s.A)(C),T=C?.replace("pathname://",""),j=void 0!==T?(b=T,h&&b.startsWith("/")?S(b):b):void 0;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&_&&(j=(0,i.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));let P=(0,a.useRef)(!1),N=e?o.k2:o.N_,R=u.A.canUseIntersectionObserver,O=(0,a.useRef)(void 0),L=()=>{P.current||null==j||(window.docusaurus.preload(j),P.current=!0)};(0,a.useEffect)(()=>(!R&&_&&u.A.canUseDOM&&null!=j&&window.docusaurus.prefetch(j),()=>{R&&O.current&&O.current.disconnect()}),[O,j,R,_]);let D=j?.startsWith("#")??!1,I=!g.target||"_self"===g.target,M=!j||!_||!I||D&&"hash"!==x;m||!D&&M||E.collectLink(j),g.id&&E.collectAnchor(g.id);let F={};return M?(0,r.jsx)("a",{ref:A,href:j,...C&&!_&&{target:"_blank",rel:"noopener noreferrer"},...g,...F}):(0,r.jsx)(N,{...g,onMouseEnter:L,onTouchStart:L,innerRef:e=>{A.current=e,R&&e&&_&&(O.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))})}),O.current.observe(e))},to:j,...e&&{isActive:p,activeClassName:f},...F})})},568(e,t,n){"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(4848),a=n(6540);function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n(2654);function l({id:e,message:t}){if(void 0===e&&void 0===t)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[e??t]??t??e}function s({message:e,id:t},n){return o(l({message:e,id:t}),n)}function u({children:e,id:t,values:n}){if(e&&"string"!=typeof e)throw console.warn("Illegal <Translate> children",e),Error("The Docusaurus <Translate> component only accept simple string values");let a=l({message:e,id:t});return(0,r.jsx)(r.Fragment,{children:o(a,n)})}},8977(e,t,n){"use strict";n.d(t,{W:()=>r});let r="default"},8310(e,t,n){"use strict";function r(e){return/^(?:[A-Za-z][A-Za-z\d+.-]*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6497(e,t,n){"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(898),o=n(8310);function i(){let{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function({siteUrl:e,baseUrl:t,url:n,options:{forcePrependBaseUrl:r=!1,absolute:a=!1}={},router:i}){if(!n||n.startsWith("#")||(0,o.z)(n))return n;if("hash"===i)return n.startsWith("/")?`.${n}`:`./${n}`;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;let l=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+l:l})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e,t={}){let{withBaseUrl:n}=i();return n(e,t)}},5916(e,t,n){"use strict";n.d(t,{A:()=>o}),n(4848);var r=n(6540);let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}});function o(){return(0,r.useContext)(a)}},898(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(3587);function o(){return(0,r.useContext)(a.o)}},9863(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(1173);function o(){return(0,r.useContext)(a.o)}},9989(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(6540);let a=n(1289).A.canUseDOM?r.useLayoutEffect:r.useEffect},8491(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(7574);function o(){let e=r.useContext(a.o);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}},7665(e,t,n){"use strict";function r(e){let t={};return!function e(n,r){Object.entries(n).forEach(([n,a])=>{let o=r?`${r}.${n}`:n;"object"==typeof a&&a&&Object.keys(a).length>0?e(a,o):t[o]=a})}(e),t}n.d(t,{A:()=>r})},7574(e,t,n){"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(4848),a=n(6540);let o=a.createContext(null);function i({children:e,value:t}){let n=a.useContext(o),l=(0,a.useMemo)(()=>(function({parent:e,value:t}){if(!e){if(t){if(!("plugin"in t))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return t}let n={...e.data,...t?.data};return{plugin:e.plugin,data:n}})({parent:n,value:t}),[n,t]);return(0,r.jsx)(o.Provider,{value:l,children:e})}},2086(e,t,n){"use strict";n.d(t,{VQ:()=>p,g1:()=>m});var r=n(4848),a=n(6540),o=n(698),i=n(8977),l=n(1022),s=n(1367),u=n(2260);let c=e=>`docs-preferred-version-${e}`,d=a.createContext(null);function f({children:e}){let t=function(){let e=(0,o.Gy)(),t=(0,l.p)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>Object.fromEntries(n.map(e=>[e,{preferredVersionName:null}])));return(0,a.useEffect)(()=>{i(function({pluginIds:e,versionPersistence:t,allDocsData:n}){return Object.fromEntries(e.map(e=>{var r,a;let o,i,l;return[e,(i=e,l=t,o=(0,s.Wf)(c(i),{persistence:l}).get(),n[e].versions.some(e=>e.name===o)?{preferredVersionName:o}:(r=e,a=t,(0,s.Wf)(c(r),{persistence:a}).del(),{preferredVersionName:null}))]}))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){var r,a,o;r=e,a=t,o=n,(0,s.Wf)(c(r),{persistence:a}).set(o),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(d.Provider,{value:t,children:e})}function p({children:e}){return(0,r.jsx)(f,{children:e})}function m(e=i.W){let t=(0,o.ht)(e),[n,r]=function(){let e=(0,a.useContext)(d);if(!e)throw new u.dV("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find(e=>e.name===l)??null,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},2473(e,t,n){"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(4848),a=n(6540),o=n(2260);let i=Symbol("EmptyContext"),l=a.createContext(i);function s({children:e,name:t,items:n}){let o=(0,a.useMemo)(()=>t&&n?{name:t,items:n}:null,[t,n]);return(0,r.jsx)(l.Provider,{value:o,children:e})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},8260(e,t,n){"use strict";n.d(t,{B5:()=>v,Nr:()=>function e(t){if("link"===t.type&&!t.unlisted)return t.href;if("category"===t.type){if(t.href&&!t.linkUnlisted)return t.href;for(let n of t.items){let t=e(n);if(t)return t}return}},OF:()=>h,QB:()=>b,Vd:()=>g,Y:()=>m,fW:()=>y,w8:()=>p});var r=n(6540),a=n(6347),o=n(2831),i=n(698),l=n(9209),s=n(618),u=n(2086),c=n(921),d=n(2473);let f=(e,t)=>void 0!==e&&(0,l.ys)(e,t);function p(e,t){if("link"===e.type)return f(e.href,t);if("category"===e.type){let n;return f(e.href,t)||(n=e.items,n.some(e=>p(e,t)))}return!1}function m(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return p(t,n)||void 0!==t.href&&!t.linkUnlisted||t.items.some(t=>e(t,n));case"link":return!t.unlisted||p(t,n);default:return!0}})(e,t)),[e,t])}function h(){let e=(0,d.t)(),{pathname:t}=(0,a.zy)();return!1!==(0,i.vT)()?.pluginData.breadcrumbs&&e?function({sidebarItems:e,pathname:t,onlyCategories:n=!1}){let r=[];return!function e(a){for(let o of a)if("category"===o.type){if((0,l.ys)(o.href,t)||e(o.items))return r.unshift(o),!0}else if("link"===o.type&&o.docId&&(0,l.ys)(o.href,t))return n||r.unshift(o),!0;return!1}(e),r}({sidebarItems:e.items,pathname:t}):null}function g(e){let{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,u.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)(()=>(0,s.sb)([t,n,a].filter(Boolean)),[t,n,a])}function y(e,t){let n=g(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}".
Available sidebar ids are:
- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function b(e,t){let n=g(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.docs),r=t.find(t=>t.id===e);if(!r){if(n.flatMap(e=>e.draftIds).includes(e))return null;throw Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}".
Available doc ids are:
@@ -35,4 +35,4 @@ Please double-check the following navbar item (themeConfig.navbar.items) of your
${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(e$,{...e})},t))})}function e0({left:e,right:t}){return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:(0,o.A)(h.G.layout.navbar.containerLeft,"navbar__items"),children:e}),(0,r.jsx)("div",{className:(0,o.A)(h.G.layout.navbar.containerRight,"navbar__items navbar__items--right"),children:t})]})}function e1(){let e=(0,S.M)(),t=(0,y.p)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}return[e.filter(t),e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(e0,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eX,{}),(0,r.jsx)(q,{}),(0,r.jsx)(eJ,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eJ,{items:a}),(0,r.jsx)(B,{className:"colorModeToggle_DEke"}),!o&&(0,r.jsx)(eI,{children:(0,r.jsx)(eD,{})})]})})}function e2(){return(0,r.jsx)(eW,{children:(0,r.jsx)(e1,{})})}function e4({item:e}){let{to:t,href:n,label:a,prependBaseUrlToHref:i,className:l,...s}=e,u=(0,V.Ay)(t),c=(0,V.Ay)(n,{forcePrependBaseUrl:!0});return(0,r.jsxs)(W.A,{className:(0,o.A)("footer__link-item",l),...n?{href:i?c:n}:{to:u},...s,children:[a,n&&!(0,Q.A)(n)&&(0,r.jsx)(Y.A,{})]})}function e3({item:e}){return e.html?(0,r.jsx)("li",{className:(0,o.A)("footer__item",e.className),dangerouslySetInnerHTML:{__html:e.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(e4,{item:e})},e.href??e.to)}function e5({column:e}){return(0,r.jsxs)("div",{className:(0,o.A)(h.G.layout.footer.column,"col footer__col",e.className),children:[(0,r.jsx)("div",{className:"footer__title",children:e.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:e.items.map((e,t)=>(0,r.jsx)(e3,{item:e},t))})]})}function e8({columns:e}){return(0,r.jsx)("div",{className:"row footer__links",children:e.map((e,t)=>(0,r.jsx)(e5,{column:e},t))})}function e6(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function e9({item:e}){return e.html?(0,r.jsx)("span",{className:(0,o.A)("footer__link-item",e.className),dangerouslySetInnerHTML:{__html:e.html}}):(0,r.jsx)(e4,{item:e})}function e7({links:e}){return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:e.map((t,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(e9,{item:t}),e.length!==n+1&&(0,r.jsx)(e6,{})]},n))})})}function te({links:e}){return"title"in e[0]?(0,r.jsx)(e8,{columns:e}):(0,r.jsx)(e7,{links:e})}var tt=n(8586);function tn({logo:e}){let{withBaseUrl:t}=(0,V.hH)(),n={light:t(e.src),dark:t(e.srcDark??e.src)};return(0,r.jsx)(tt.A,{className:(0,o.A)("footer__logo",e.className),alt:e.alt,sources:n,width:e.width,height:e.height,style:e.style})}function tr({logo:e}){return e.href?(0,r.jsx)(W.A,{href:e.href,className:"footerLogoLink_BH7S",target:e.target,children:(0,r.jsx)(tn,{logo:e})}):(0,r.jsx)(tn,{logo:e})}function ta({copyright:e}){return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:e}})}function to({style:e,links:t,logo:n,copyright:a}){return(0,r.jsx)("footer",{className:(0,o.A)(h.G.layout.footer.container,"footer",{"footer--dark":"dark"===e}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[t,(n||a)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[n&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:n}),a]})]})})}let ti=a.memo(function(){let{footer:e}=(0,y.p)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(to,{style:o,links:n&&n.length>0&&(0,r.jsx)(te,{links:n}),logo:a&&(0,r.jsx)(tr,{logo:a}),copyright:t&&(0,r.jsx)(ta,{copyright:t})})}),tl=(0,A.fM)([R.a,b.o,E.Tv,eL.VQ,l.Jx,function({children:e}){return(0,r.jsx)(C.y_,{children:(0,r.jsx)(S.e,{children:(0,r.jsx)(T,{children:e})})})}]);function ts({children:e}){return(0,r.jsx)(tl,{children:e})}var tu=n(2072);function tc({error:e,tryAgain:t}){return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(tu.A,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eQ,{onClick:t,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eK,{error:e})})]})})})}function td(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,r.jsxs)(ts,{children:[(0,r.jsx)(l.be,{title:s,description:u}),(0,r.jsx)(g,{}),(0,r.jsx)(x,{}),(0,r.jsx)(e2,{}),(0,r.jsx)("div",{id:d,className:(0,o.A)(h.G.layout.main.container,h.G.wrapper.main,"mainWrapper_z2l0",a),children:(0,r.jsx)(i.A,{fallback:e=>(0,r.jsx)(tc,{...e}),children:t})}),!n&&(0,r.jsx)(ti,{})]})}},5153(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4848);n(6540);var a=n(5310),o=n(6497),i=n(898),l=n(1022),s=n(8586);function u({logo:e,alt:t,imageClassName:n}){let a={light:(0,o.Ay)(e.src),dark:(0,o.Ay)(e.srcDark||e.src)},i=(0,r.jsx)(s.A,{className:e.className,sources:a,height:e.height,width:e.width,alt:t,style:e.style});return n?(0,r.jsx)("div",{className:n,children:i}):i}function c(e){let{siteConfig:{title:t}}=(0,i.A)(),{navbar:{title:n,logo:s}}=(0,l.p)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,o.Ay)(s?.href||"/"),m=s?.alt??(n?"":t);return(0,r.jsxs)(a.A,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:m,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},4175(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(3572);function o({locale:e,version:t,tag:n}){return(0,r.jsxs)(a.A,{children:[e&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:e}),t&&(0,r.jsx)("meta",{name:"docusaurus_version",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:n}),e&&(0,r.jsx)("meta",{name:"docsearch:language",content:e}),t&&(0,r.jsx)("meta",{name:"docsearch:version",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:n})]})}},8586(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4848),a=n(6540),o=n(4164),i=n(9863),l=n(3941);let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u({className:e,children:t}){let n=(0,i.A)(),{colorMode:c}=(0,l.G)();return(0,r.jsx)(r.Fragment,{children:(n?"dark"===c?["dark"]:["light"]:["light","dark"]).map(n=>{let i=t({theme:n,className:(0,o.A)(e,s.themedComponent,s[`themedComponent--${n}`])});return(0,r.jsx)(a.Fragment,{children:i},n)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:({theme:e,className:n})=>(0,r.jsx)("img",{src:t[e],alt:a,className:n,...o})})}},9510(e,t,n){"use strict";n.d(t,{N:()=>p,u:()=>l});var r=n(4848),a=n(6540),o=n(9989),i=n(269);function l({initialState:e}){let[t,n]=(0,a.useState)(e??!1),r=(0,a.useCallback)(()=>{n(e=>!e)},[]);return{collapsed:t,setCollapsed:n,toggleCollapsed:r}}let s={display:"none",overflow:"hidden",height:"0px"},u={display:"block",overflow:"visible",height:"auto"};function c(e,t){let n=t?s:u;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function d({as:e="div",collapsed:t,children:n,animation:o,onCollapseTransitionEnd:l,className:u}){let f=(0,a.useRef)(null);return!function({collapsibleRef:e,collapsed:t,animation:n}){let r=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let a,o=e.current;function l(){let e,t,r,a=(e=o.scrollHeight,t=n?.duration??function(e){if((0,i.O)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(e),r=n?.easing??"ease-in-out",{transition:`height ${t}ms ${r}`,height:`${e}px`});o.style.transition=a.transition,o.style.height=a.height}if(!r.current){c(o,t),r.current=!0;return}return o.style.willChange="height",a=requestAnimationFrame(()=>{t?(l(),requestAnimationFrame(()=>{o.style.height=s.height,o.style.overflow=s.overflow})):(o.style.display="block",requestAnimationFrame(()=>{l()}))}),()=>cancelAnimationFrame(a)},[e,t,n])}({collapsibleRef:f,collapsed:t,animation:o}),(0,r.jsx)(e,{ref:f,onTransitionEnd:e=>{"height"===e.propertyName&&(c(f.current,t),l?.(t))},className:u,children:n})}function f({collapsed:e,...t}){let[n,i]=(0,a.useState)(!e),[l,s]=(0,a.useState)(e);return(0,o.A)(()=>{e||i(!0)},[e]),(0,o.A)(()=>{n&&s(e)},[n,e]),n?(0,r.jsx)(d,{...t,collapsed:l}):null}function p({lazy:e,...t}){return(0,r.jsx)(e?f:d,{...t})}},3337(e,t,n){"use strict";n.d(t,{M:()=>m,o:()=>p});var r=n(4848),a=n(6540),o=n(9863),i=n(1367),l=n(2260),s=n(1022);let u=(0,i.Wf)("docusaurus.announcement.dismiss"),c=(0,i.Wf)("docusaurus.announcement.id"),d=e=>u.set(String(e)),f=a.createContext(null);function p({children:e}){let t=function(){let{announcementBar:e}=(0,s.p)(),t=(0,o.A)(),[n,r]=(0,a.useState)(()=>!!t&&"true"===u.get());(0,a.useEffect)(()=>{r("true"===u.get())},[]);let i=(0,a.useCallback)(()=>{d(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&d(!1),(a||"true"!==u.get())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(f.Provider,{value:t,children:e})}function m(){let e=(0,a.useContext)(f);if(!e)throw new l.dV("AnnouncementBarProvider");return e}},3941(e,t,n){"use strict";n.d(t,{G:()=>w,a:()=>v});var r=n(4848),a=n(6540),o=n(9863),i=n(2260),l=n(1367),s=n(1022);function u(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}let c=a.createContext(void 0),d=(0,l.Wf)("theme"),f="system",p=e=>"dark"===e?"dark":"light",m=e=>null===e||e===f?null:p(e),h=()=>p(document.documentElement.getAttribute("data-theme")),g=e=>{document.documentElement.setAttribute("data-theme",p(e))},y=()=>m(document.documentElement.getAttribute("data-theme-choice")),b=e=>{document.documentElement.setAttribute("data-theme-choice",m(e)??f)};function v({children:e}){let t=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),{colorMode:r,setColorModeState:i,colorModeChoice:l,setColorModeChoiceState:c}=function(){let{colorMode:{defaultMode:e}}=(0,s.p)(),t=(0,o.A)(),[n,r]=(0,a.useState)(t?h():e),[i,l]=(0,a.useState)(t?y():null);return(0,a.useEffect)(()=>{r(h()),l(y())},[]),{colorMode:n,setColorModeState:r,colorModeChoice:i,setColorModeChoiceState:l}}();(0,a.useEffect)(()=>{t&&d.del()},[t]);let f=(0,a.useCallback)((t,r={})=>{let{persist:a=!0}=r;if(null===t){let t=n?u():e;g(t),i(t),b(null),c(null)}else g(t),b(t),i(t),c(t);a&&(null===t?d.del():d.set(p(t)))},[i,c,n,e]);return(0,a.useEffect)(()=>d.listen(e=>{f(m(e.newValue))}),[f]),(0,a.useEffect)(()=>{if(null===l&&n){var e,t;let n;return e=e=>{i(e),g(e)},t=()=>e(u()),(n=window.matchMedia("(prefers-color-scheme: dark)")).addEventListener("change",t),()=>n.removeEventListener("change",t)}},[n,l,i]),(0,a.useMemo)(()=>({colorMode:r,colorModeChoice:l,setColorMode:f,get isDarkTheme(){return"dark"===r},setLightTheme(){f("light")},setDarkTheme(){f("dark")}}),[r,l,f])}();return(0,r.jsx)(c.Provider,{value:t,children:e})}function w(){let e=(0,a.useContext)(c);if(null==e)throw new i.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},9965(e,t,n){"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(4848),a=n(6540),o=n(7e3),i=n(3741),l=n(6629),s=n(1022),u=n(2260);let c=a.createContext(void 0);function d({handler:e}){return(0,l.$Z)(e),null}function f({children:e}){let t=function(){let e=function(){let e=(0,o.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,i.l)(),n=!e&&"mobile"===t,[r,l]=(0,a.useState)(!1),u=(0,a.useCallback)(()=>{l(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===t&&l(!1)},[t]),(0,a.useMemo)(()=>({disabled:e,shouldRender:n,toggle:u,shown:r}),[e,n,u,r])}();return(0,r.jsxs)(r.Fragment,{children:[t.shown&&(0,r.jsx)(d,{handler:()=>(t.toggle(),!1)}),(0,r.jsx)(c.Provider,{value:t,children:e})]})}function p(){let e=a.useContext(c);if(void 0===e)throw new u.dV("NavbarMobileSidebarProvider");return e}},7e3(e,t,n){"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(4848),a=n(6540),o=n(2260);let i=a.createContext(null);function l({children:e}){let t=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:t,children:e})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u({component:e,props:t}){let n=(0,a.useContext)(i);if(!n)throw new o.dV("NavbarSecondaryMenuContentProvider");let[,r]=n,l=(0,o.Be)(t);return(0,a.useEffect)(()=>{r({component:e,props:l})},[r,e,l]),(0,a.useEffect)(()=>()=>r({component:null,props:null}),[r]),null}},3741(e,t,n){"use strict";n.d(t,{l:()=>o});var r=n(6540),a=n(1289);function o({desktopBreakpoint:e=996}={}){let[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.A.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?"desktop":"mobile"}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},8287(e,t,n){"use strict";n.d(t,{G:()=>r});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},announcementBar:{container:"theme-announcement-bar"},tabs:{container:"theme-tabs-container"},layout:{navbar:{container:"theme-layout-navbar",containerLeft:"theme-layout-navbar-left",containerRight:"theme-layout-navbar-right",mobileSidebar:{container:"theme-layout-navbar-sidebar",panel:"theme-layout-navbar-sidebar-panel"}},main:{container:"theme-layout-main"},footer:{container:"theme-layout-footer",column:"theme-layout-footer-column"}},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`,docCard:{container:"theme-doc-card-container",heading:"theme-doc-card-heading",icon:"theme-doc-card-icon",title:"theme-doc-card-title",description:"theme-doc-card-description"}},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},269(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},4727(e,t,n){"use strict";n.d(t,{v:()=>a});var r=n(1022);function a(e){let{navbar:{hideOnScroll:t}}=(0,r.p)();if(void 0!==e)return t?"anchorTargetHideOnScrollNavbar_vjPI":"anchorTargetStickyNavbar_Vzrq"}},6629(e,t,n){"use strict";n.d(t,{$Z:()=>i,Hl:()=>l,aZ:()=>s,jy:()=>u});var r=n(6540),a=n(6347),o=n(2260);function i(e){let t,n;t=(0,a.W6)(),n=(0,o._q)((t,n)=>{if("POP"===n)return e(t,n)}),(0,r.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}function l(e){let t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,()=>e(t),()=>e({...t,location:{...t.location,search:"",hash:"",state:void 0}}))}function s(e){return l(t=>null===e?null:new URLSearchParams(t.location.search).get(e))}function u(e,t){let n=(function(e,t){let n=new URLSearchParams;for(let r of e)for(let[e,a]of r.entries())"append"===t?n.append(e,a):n.set(e,a);return n})(e.map(e=>new URLSearchParams(e??"")),t).toString();return n?`?${n}`:n}},618(e,t,n){"use strict";function r(e,t=(e,t)=>e===t){return e.filter((n,r)=>e.findIndex(e=>t(e,n))!==r)}function a(e){return Array.from(new Set(e))}n.d(t,{XI:()=>r,sb:()=>a})},4308(e,t,n){"use strict";n.d(t,{Jx:()=>y,be:()=>m,e3:()=>g});var r=n(4848),a=n(6540),o=n(4164),i=n(3572),l=n(8491),s=n(6497),u=n(3899);function c({title:e}){let t=(0,u.s$)().format(e);return(0,r.jsxs)(i.A,{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t})]})}function d({description:e}){return(0,r.jsxs)(i.A,{children:[(0,r.jsx)("meta",{name:"description",content:e}),(0,r.jsx)("meta",{property:"og:description",content:e})]})}function f({image:e}){let{withBaseUrl:t}=(0,s.hH)(),n=t(e,{absolute:!0});return(0,r.jsxs)(i.A,{children:[(0,r.jsx)("meta",{property:"og:image",content:n}),(0,r.jsx)("meta",{name:"twitter:image",content:n})]})}function p({keywords:e}){return(0,r.jsx)(i.A,{children:(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(e)?e.join(","):e})})}function m({title:e,description:t,keywords:n,image:a,children:o}){return(0,r.jsxs)(r.Fragment,{children:[e&&(0,r.jsx)(c,{title:e}),t&&(0,r.jsx)(d,{description:t}),n&&(0,r.jsx)(p,{keywords:n}),a&&(0,r.jsx)(f,{image:a}),o&&(0,r.jsx)(i.A,{children:o})]})}let h=a.createContext(void 0);function g({className:e,children:t}){let n=a.useContext(h),l=(0,o.A)(n,e);return(0,r.jsxs)(h.Provider,{value:l,children:[(0,r.jsx)(i.A,{children:(0,r.jsx)("html",{className:l})}),t]})}function y({children:e}){var t;let n=(0,l.A)(),a=(t=n.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),i=`plugin-id-${n.plugin.id}`;return(0,r.jsx)(g,{className:(0,o.A)(a,i),children:e})}},2260(e,t,n){"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(4848),a=n(6540),o=n(9989);function i(e){let t=(0,a.useRef)(e);return(0,o.A)(()=>{t.current=e},[e]),(0,a.useCallback)((...e)=>t.current(...e),[])}function l(e){let t=(0,a.useRef)(void 0);return(0,o.A)(()=>{t.current=e}),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return({children:t})=>(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),t)})}},9209(e,t,n){"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6540),a=n(8460),o=n(898);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)(()=>(function({baseUrl:e,routes:t}){function n(t){return t.path===e&&!0===t.exact}function r(t){return t.path===e&&!t.exact}return function e(t){if(0===t.length)return;let a=t.find(n);return a||e(t.filter(r).flatMap(e=>e.routes??[]))}(t)})({routes:a.A,baseUrl:e}),[e])}},8584(e,t,n){"use strict";n.d(t,{Mq:()=>p,Tv:()=>c,a_:()=>m,gk:()=>h});var r=n(4848),a=n(6540),o=n(1289),i=n(9863),l=n(9989),s=n(2260);let u=a.createContext(void 0);function c({children:e}){let t,n=(t=(0,a.useRef)(!0),(0,a.useMemo)(()=>({scrollEventsEnabledRef:t,enableScrollEvents:()=>{t.current=!0},disableScrollEvents:()=>{t.current=!1}}),[]));return(0,r.jsx)(u.Provider,{value:n,children:e})}function d(){let e=(0,a.useContext)(u);if(null==e)throw new s.dV("ScrollControllerProvider");return e}let f=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t=[]){let{scrollEventsEnabledRef:n}=d(),r=(0,a.useRef)(f()),o=(0,s._q)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=f();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function m(){let e,t,n,r=d(),o=(e=(0,a.useRef)({elem:null,top:0}),t=(0,a.useCallback)(t=>{e.current={elem:t,top:t.getBoundingClientRect().top}},[]),n=(0,a.useCallback)(()=>{let{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};let r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}},[]),(0,a.useMemo)(()=>({save:t,restore:n}),[n,t])),i=(0,a.useRef)(void 0),s=(0,a.useCallback)(e=>{o.save(e),r.disableScrollEvents(),i.current=()=>{let{restored:e}=o.restore();if(i.current=void 0,e){let e=()=>{r.enableScrollEvents(),window.removeEventListener("scroll",e)};window.addEventListener("scroll",e)}else r.enableScrollEvents()}},[r,o]);return(0,l.A)(()=>{queueMicrotask(()=>i.current?.())}),{blockElementScrollPositionUntilNextRender:s}}function h(){let e=(0,a.useRef)(null),t=(0,i.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{let r,a;e.current=t?(window.scrollTo({top:n,behavior:"smooth"}),()=>{}):(r=null,a=document.documentElement.scrollTop>n,!function e(){let t=document.documentElement.scrollTop;(a&&t>n||!a&&t<n)&&(r=requestAnimationFrame(e),window.scrollTo(0,Math.floor((t-n)*.85)+n))}(),()=>r&&cancelAnimationFrame(r))},cancelScroll:()=>e.current?.()}}},1367(e,t,n){"use strict";n.d(t,{Wf:()=>u,Dv:()=>c});var r=n(6540),a=JSON.parse('{"N":"localStorage","M":"-f74"}');let o=a.N;function i({key:e,oldValue:t,newValue:n,storage:r}){if(t===n)return;let a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,e,t,n,window.location.href,r),window.dispatchEvent(a)}let l=!1,s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){let n=`${e}${a.M}`;if("u"<typeof window){function r(){throw Error(`Illegal storage API usage for storage key "${n}".
Docusaurus storage APIs are not supposed to be called on the server-rendering process.
Please only call storage APIs in effects and event handlers.`)}return{get:r,set:r,del:r,listen:r}}let u=function(e=o){if("u"<typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){var t;return t=e,l||(console.warn(`Docusaurus browser storage is not available.
-Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,t),l=!0),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{let t=u.getItem(n);u.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{let e=u.getItem(n);u.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,e),()=>{}}}}}function c(e,t){let[n]=(0,r.useState)(()=>null===e?s:u(e,t)),a=(0,r.useCallback)(e=>"u"<typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>n.get(),()=>null),n]}},3899(e,t,n){"use strict";n.d(t,{AL:()=>c,s$:()=>d});var r=n(4848),a=n(6540),o=n(898),i=n(8491),l=n(2260);let s=({title:e,siteTitle:t,titleDelimiter:n})=>{let r=e?.trim();return r&&r!==t?`${r} ${n} ${t}`:t},u=(0,a.createContext)(null);function c({formatter:e,children:t}){return(0,r.jsx)(u.Provider,{value:e,children:t})}function d(){let e=function(){let e=(0,a.useContext)(u);if(null===e)throw new l.dV("TitleFormatterProvider");return e}(),{siteConfig:t}=(0,o.A)(),{title:n,titleDelimiter:r}=t,{plugin:c}=(0,i.A)();return{format:t=>e({title:t,siteTitle:n,titleDelimiter:r,plugin:c,defaultFormatter:s})}}},5243(e,t,n){"use strict";n.d(t,{o:()=>i});var r=n(898),a=n(6347),o=n(5248);function i(){let{siteConfig:{baseUrl:e,trailingSlash:t},i18n:{localeConfigs:n}}=(0,r.A)(),{pathname:i}=(0,a.zy)(),l=(0,o.applyTrailingSlash)(i,{trailingSlash:t,baseUrl:e}).replace(e,"");return{createUrl:function({locale:e,fullyQualified:t}){let r=function(e){let t=n[e];if(!t)throw Error(`Unexpected Docusaurus bug, no locale config found for locale=${e}`);return t}(e),a=`${t?r.url:""}`,o=r.baseUrl;return`${a}${o}${l}`}}}},8398(e,t,n){"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(2260);function i(e){let t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)(()=>{n&&t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},1022(e,t,n){"use strict";n.d(t,{p:()=>a});var r=n(898);function a(){return(0,r.A)().siteConfig.themeConfig}},4207(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){let{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#")||void 0===n)return e;let[i]=e.split(/[#?]/),l="/"===i||i===r?i:n?a(i):o(i);return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(9262);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},7541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},5248(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(1635);var a=n(4207);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(a).default}}),n(9262);var o=n(7541);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9262(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3962(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(4164);function o({className:e}){return(0,r.jsxs)("div",{className:(0,a.A)("loadingRing_RJI3",e),children:[(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{})]})}},9988(e,t,n){"use strict";let r;n.d(t,{w:()=>E,k:()=>S});let a=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),l=Symbol("Comlink.finalizer"),s=Symbol("Comlink.thrown"),u=e=>"object"==typeof e&&null!==e||"function"==typeof e,c=new Map([["proxy",{canHandle:e=>u(e)&&e[a],serialize(e){let{port1:t,port2:n}=new MessageChannel;return function e(t,n=globalThis,r=["*"]){n.addEventListener("message",function o(i){let u;if(!i||!i.data)return;if(!function(e,t){for(let n of e)if(t===n||"*"===n||n instanceof RegExp&&n.test(t))return!0;return!1}(r,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);let{id:c,type:f,path:p}=Object.assign({path:[]},i.data),m=(i.data.argumentList||[]).map(w);try{var h,g,y;let n=p.slice(0,-1).reduce((e,t)=>e[t],t),r=p.reduce((e,t)=>e[t],t);switch(f){case"GET":u=r;break;case"SET":n[p.slice(-1)[0]]=w(i.data.value),u=!0;break;case"APPLY":u=r.apply(n,m);break;case"CONSTRUCT":h=new r(...m),u=Object.assign(h,{[a]:!0});break;case"ENDPOINT":{let{port1:n,port2:r}=new MessageChannel;e(t,r),g=n,y=[n],b.set(g,y),u=g}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[s]:0}}Promise.resolve(u).catch(e=>({value:e,[s]:0})).then(e=>{let[r,a]=v(e);n.postMessage(Object.assign(Object.assign({},r),{id:c}),a),"RELEASE"===f&&(n.removeEventListener("message",o),d(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(e=>{let[t,r]=v({value:TypeError("Unserializable return value"),[s]:0});n.postMessage(Object.assign(Object.assign({},t),{id:c}),r)})}),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),f(e))}],["throw",{canHandle:e=>u(e)&&s in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function d(e){"MessagePort"===e.constructor.name&&e.close()}function f(e,t){let n=new Map;return e.addEventListener("message",function(e){let{data:t}=e;if(!t||!t.id)return;let r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}}),function e(t,n,r=[],a=function(){}){let l,s=!1,u=new Proxy(a,{get(a,o){if(p(s),o===i)return()=>{g&&g.unregister(u),m(t),n.clear(),s=!0};if("then"===o){if(0===r.length)return{then:()=>u};let e=k(t,n,{type:"GET",path:r.map(e=>e.toString())}).then(w);return e.then.bind(e)}return e(t,n,[...r,o])},set(e,a,o){p(s);let[i,l]=v(o);return k(t,n,{type:"SET",path:[...r,a].map(e=>e.toString()),value:i},l).then(w)},apply(a,i,l){p(s);let u=r[r.length-1];if(u===o)return k(t,n,{type:"ENDPOINT"}).then(w);if("bind"===u)return e(t,n,r.slice(0,-1));let[c,d]=y(l);return k(t,n,{type:"APPLY",path:r.map(e=>e.toString()),argumentList:c},d).then(w)},construct(e,a){p(s);let[o,i]=y(a);return k(t,n,{type:"CONSTRUCT",path:r.map(e=>e.toString()),argumentList:o},i).then(w)}});return l=(h.get(t)||0)+1,h.set(t,l),g&&g.register(u,t,u),u}(e,n,[],t)}function p(e){if(e)throw Error("Proxy has been released and is not useable")}function m(e){return k(e,new Map,{type:"RELEASE"}).then(()=>{d(e)})}let h=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(h.get(e)||0)-1;h.set(e,t),0===t&&m(e)});function y(e){var t;let n=e.map(v);return[n.map(e=>e[0]),(t=n.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let b=new WeakMap;function v(e){for(let[t,n]of c)if(n.canHandle(e)){let[r,a]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},a]}return[{type:"RAW",value:e},b.get(e)||[]]}function w(e){switch(e.type){case"HANDLER":return c.get(e.name).deserialize(e.value);case"RAW":return e.value}}function k(e,t,n,r){return new Promise(a=>{let o=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.set(o,a),e.start&&e.start(),e.postMessage(Object.assign({id:o},n),r)})}function x(){return r||(r=(async()=>{let e=f(new Worker(new URL(n.p+n.u("498"),n.b)));return await new e})()),r}async function S(e,t){{let n=await x();await n.fetchIndexes(e,t)}}async function E(e,t,n,r){return(await x()).search(e,t,n,r)}},8127(e,t,n){"use strict";function r(e){return e.join(" \u203A ")}n.d(t,{$:()=>r})},5079(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}n.d(t,{Z:()=>r})},1234(e,t,n){"use strict";function r(e,t){let n=[];for(let r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort((e,t)=>e[0]-t[0]||t[1]-e[1])}n.d(t,{g:()=>r})},177(e,t,n){"use strict";n.d(t,{Z:()=>function e(t,n,a){let o=[];for(let a of n){let i=t.toLowerCase().indexOf(a);if(i>=0){i>0&&o.push(e(t.substr(0,i),n)),o.push(`<mark>${(0,r.Z)(t.substr(i,a.length))}</mark>`);let l=i+a.length;l<t.length&&o.push(e(t.substr(l),n));break}}return 0===o.length?a?`<mark>${(0,r.Z)(t)}</mark>`:(0,r.Z)(t):o.join("")}});var r=n(5079)},429(e,t,n){"use strict";n.d(t,{C:()=>s});var r=n(5079),a=n(177);let o=/\w+|\p{Unified_Ideograph}/u;function i(e){let t=[],n=0,r=e;for(;r.length>0;){let a=r.match(o);if(!a){t.push(r);break}a.index>0&&t.push(r.substring(0,a.index)),t.push(a[0]),n+=a.index+a[0].length,r=e.substring(n)}return t}var l=n(3681);function s(e,t,n,o=l.rG){let{chunkIndex:u,chunks:c}=function(e,t,n){let o=[],l=0,s=0,u=-1;for(;l<t.length;){let[c,d]=t[l];if(l+=1,!(c<s)){if(c>s)for(let t of i(e.substring(s,c)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);-1===u&&(u=o.length),s=c+d,o.push({html:(0,a.Z)(e.substring(c,s),n,!0),textLength:d})}}if(s<e.length)for(let t of i(e.substring(s)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);return{chunkIndex:u,chunks:o}}(e,t,n),d=c.slice(0,u),f=c[u],p=[f.html],m=c.slice(u+1),h=f.textLength,g=0,y=0,b=!1,v=!1;for(;h<o;)if((g<=y||0===m.length)&&d.length>0){let e=d.pop();h+e.textLength<=o?(p.unshift(e.html),g+=e.textLength,h+=e.textLength):(b=!0,d.length=0)}else if(m.length>0){let e=m.shift();h+e.textLength<=o?(p.push(e.html),y+=e.textLength,h+=e.textLength):(v=!0,m.length=0)}else break;return(b||d.length>0)&&p.unshift("\u2026"),(v||m.length>0)&&p.push("\u2026"),p.join("")}},9553(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{let{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{p:()=>r})},3681(e,t,n){"use strict";n.d(t,{tF:()=>u,oZ:()=>h,CU:()=>a(),WW:()=>l,O6:()=>p,ZG:()=>c,rG:()=>o,dz:()=>m,tb:()=>i,UB:()=>d,Hg:()=>f,pk:()=>s});var r=n(689),a=n.n(r);let o=50,i=!1,l=!0,s=!0,u="mod+k",c="right",d,f=null,p=!1,m=!1,h=null},9137(e,t,n){"use strict";var r,a;n.d(t,{i:()=>r}),(a=r||(r={}))[a.Title=0]="Title",a[a.Heading=1]="Heading",a[a.Description=2]="Description",a[a.Keywords=3]="Keywords",a[a.Content=4]="Content",a[a.AskAI=5]="AskAI"},2328(e){"use strict";ask,ai,e.exports=open-ask-ai},6738(e){"use strict";ask,ai,styles.css,e.exports=open-ask-ai/styles.css},4784(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});let r={title:"Mercury",tagline:"Soul-driven AI agent with permission guardrails",favicon:"img/favicon.svg",future:{v4:{removeLegacyPostBuildHeadAttribute:!0,useCssCascadeLayers:!0,siteStorageNamespacing:!0,fasterByDefault:!0,mdx1CompatDisabledByDefault:!0},experimental_vcs:{},experimental_router:"browser",faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0,rspackPersistentCache:!0,ssgWorkerThreads:!0,gitEagerVcs:!0}},url:"https://mercury.cosmicstack.org",baseUrl:"/",trailingSlash:!1,organizationName:"cosmicstack-labs",projectName:"mercury-agent",onBrokenLinks:"throw",onBrokenAnchors:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},scripts:[{src:"https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js",async:!0},{src:"/js/plausible-init.js"}],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en"],indexBlog:!1,docsRouteBasePath:"/docs",highlightSearchTermsOnTargetPage:!0}]],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{image:"img/card.png",colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},navbar:{title:"\u263F Mercury",items:[{to:"/docs",label:"Docs",position:"left"},{href:"https://github.com/cosmicstack-labs/mercury-agent",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Getting Started",to:"/docs"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/cosmicstack-labs/mercury-agent"}]}],copyright:"Copyright \xa9 2026 Cosmic Stack. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,storage:{type:"localStorage",namespace:!0},onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,emoji:!0,mdx1Compat:{comments:!1,admonitions:!1,headingIds:!1},anchors:{maintainCase:!1},hooks:{onBrokenMarkdownLinks:"warn",onBrokenMarkdownImages:"throw"}}}},8168(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},594(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164(e,t,n){"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r}},1765(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{My:()=>B,f4:()=>eb});var s,u,c,d,f,p,m,h,g,y,b,v,w,k,x,S,E,A,C=n(6540),_=n(4164),T=Object.create,j=Object.defineProperty,P=Object.defineProperties,N=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,D=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&F(e,n,t[n]);if(L)for(var n of L(t))M.call(t,n)&&F(e,n,t[n]);return e},$=(e,t)=>{var n={};for(var r in e)I.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&L)for(var r of L(e))0>t.indexOf(r)&&M.call(e,r)&&(n[r]=e[r]);return n},B=(l=null!=(o=(r={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(n[o=r.util.objId(t)])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":if(n[o=r.util.objId(t)])return n[o];return a=[],n[o]=a,t.forEach(function(t,r){a[r]=e(t,n)}),a;default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,function(t,n){n===u&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i)if(i.hasOwnProperty(d)&&i[d]){var f=i[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var m=f[p],h=m.inside,g=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var v=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,v+"g")}for(var w=m.pattern||m,k=s.next,x=u;k!==n.tail&&(!c||!(x>=c.reach));x+=k.value.length,k=k.next){var S,E=k.value;if(n.length>t.length)return;if(!(E instanceof a)){var A=1;if(y){if(!(S=o(w,x,t,g))||S.index>=t.length)break;var C=S.index,_=S.index+S[0].length,T=x;for(T+=k.value.length;C>=T;)T+=(k=k.next).value.length;if(T-=k.value.length,x=T,k.value instanceof a)continue;for(var j=k;j!==n.tail&&(T<_||"string"==typeof j.value);j=j.next)A++,T+=j.value.length;A--,E=t.slice(x,T),S.index-=x}else if(!(S=o(w,0,E,g)))continue;var C=S.index,P=S[0],N=E.slice(0,C),R=E.slice(C+P.length),O=x+E.length;c&&O>c.reach&&(c.reach=O);var L=k.prev;if(N&&(L=l(n,L,N),x+=N.length),function(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}(n,L,A),k=l(n,L,new a(d,h?r.tokenize(P,h):P,b,P)),R&&l(n,k,R),A>1){var D={cause:d+","+p,reach:O};e(t,n,i,k.prev,x,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[O(r)[0]])((a={exports:{}}).exports,a),a.exports})())?T(D(o)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of O(t))I.call(e,a)||a===n||j(e,a,{get:()=>t[a],enumerable:!(r=N(t,a))||r.enumerable});return e})(!i&&o&&o.__esModule?l:j(l,"default",{value:o,enumerable:!0}),o));B.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},B.languages.markup.tag.inside["attr-value"].inside.entity=B.languages.markup.entity,B.languages.markup.doctype.inside["internal-subset"].inside=B.languages.markup,B.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(B.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:B.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:B.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},B.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(B.languages.markup.tag,"addAttribute",{value:function(e,t){B.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:B.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),B.languages.html=B.languages.markup,B.languages.mathml=B.languages.markup,B.languages.svg=B.languages.markup,B.languages.xml=B.languages.extend("markup",{}),B.languages.ssml=B.languages.xml,B.languages.atom=B.languages.xml,B.languages.rss=B.languages.xml,s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=RegExp((c="(?:[^\\\\-]|"+(u=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+c),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},B.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:u,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:u}},"special-escape":s,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:u,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},B.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},B.languages.javascript=B.languages.extend("clike",{"class-name":[B.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),B.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,B.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:B.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:B.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:B.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:B.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:B.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),B.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:B.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),B.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),B.languages.markup&&(B.languages.markup.tag.addInlined("script","javascript"),B.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),B.languages.js=B.languages.javascript,B.languages.actionscript=B.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),B.languages.actionscript["class-name"].alias="function",delete B.languages.actionscript.parameter,delete B.languages.actionscript["literal-property"],B.languages.markup&&B.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:B.languages.markup}}),f=/#(?!\{).+/,p={pattern:/#\{[^}]+\}/,alias:"variable"},B.languages.coffeescript=B.languages.extend("javascript",{comment:f,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:p}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),B.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:f,interpolation:p}}}),B.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:B.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:p}}]}),B.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete B.languages.coffeescript["template-string"],B.languages.coffee=B.languages.coffeescript,Object.defineProperty(m=B.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=B.languages[e]){var a,o=a[r];if((o=o||(a=B.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),m.addSupport(["java","javascript","php"],m),h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,B.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},B.languages.css.atrule.inside.rest=B.languages.css,(h=B.languages.markup)&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css")),g=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,B.languages.css.selector={pattern:B.languages.css.selector.pattern,lookbehind:!0,inside:g={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+g.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[g,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},B.languages.css.atrule.inside["selector-function-argument"].inside=g,B.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),g={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},y={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},B.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:g,number:y,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:g,number:y}),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(B),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(B),B.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:B.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},B.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(c(["definition-mutation","punctuation"])&&"("===t[n+1].content){n+=2;var o=d(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=t[n+0];"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(c(["punctuation","property-query"])&&"{"===t[n+0].content&&(f(t[++n+0],"property-mutation"),0<a.length)){var l=d(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}function d(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l){if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}}return -1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),B.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,f=n[i];"string"!=typeof f&&(Array.isArray(u=f.content)?"template-string"===f.type?(f=u[1],3===u.length&&"string"!=typeof f&&"embedded-code"===f.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(f),f=Array.isArray(f=f.alias)?f[0]:f,d=e.languages[f])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,g),m=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(m,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,m),p=h.substring(g+i.length),m=[],s&&m.push(s),m.push(f),p&&(t(h=[p]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):Array.isArray(g=y.content)?t(g):t([g])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(B),B.languages.typescript=B.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),B.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete B.languages.typescript.parameter,delete B.languages.typescript["literal-property"],b=B.languages.extend("typescript",{}),delete b["class-name"],B.languages.typescript["class-name"].inside=b,B.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b}}}}),B.languages.ts=B.languages.typescript,v=B.languages.javascript,k="(@(?:arg|argument|param|property)\\s+(?:"+(w=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",B.languages.jsdoc=B.languages.extend("javadoclike",{parameter:{pattern:RegExp(k+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),B.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(k+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:v,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return w})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+w),lookbehind:!0,inside:{string:v.string,number:v.number,boolean:v.boolean,keyword:B.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:v,alias:"language-javascript"}}}}),B.languages.javadoclike.addSupport("javascript",B.languages.jsdoc),B.languages.flow=B.languages.extend("javascript",{}),B.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),B.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete B.languages.flow.parameter,B.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(B.languages.flow.keyword)||(B.languages.flow.keyword=[B.languages.flow.keyword]),B.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),B.languages.n4js=B.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),B.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),B.languages.n4jsd=B.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(B),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(B),x=B.util.clone(B.languages.typescript),(B.languages.tsx=B.languages.extend("jsx",x),delete B.languages.tsx.parameter,delete B.languages.tsx["literal-property"],x=B.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+x.pattern.source+")",x.pattern.flags),x.lookbehind=!0,B.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},B.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=B.languages.swift}),B.languages.kotlin=B.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete B.languages.kotlin["class-name"],S={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:B.languages.kotlin}},B.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:S},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:S},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete B.languages.kotlin.string,B.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),B.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),B.languages.kt=B.languages.kotlin,B.languages.kts=B.languages.kotlin,B.languages.c=B.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),B.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),B.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},B.languages.c.string],char:B.languages.c.char,comment:B.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:B.languages.c}}}}),B.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete B.languages.c.boolean,B.languages.objectivec=B.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete B.languages.objectivec["class-name"],B.languages.objc=B.languages.objectivec,B.languages.reason=B.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),B.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete B.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(B),B.languages.go=B.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),B.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete B.languages.go["class-name"],E=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,A=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return E.source}),B.languages.cpp=B.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return E.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:E,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),B.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return A})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),B.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:B.languages.cpp}}}}),B.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),B.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:B.languages.extend("cpp",{})}}),B.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},B.languages.cpp["base-clause"]),B.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},B.languages.python["string-interpolation"].inside.interpolation.inside.rest=B.languages.python,B.languages.py=B.languages.python,B.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},B.languages.webmanifest=B.languages.json;var U={},q={dracula:()=>G,duotoneDark:()=>W,duotoneLight:()=>V,github:()=>Q,gruvboxMaterialDark:()=>ed,gruvboxMaterialLight:()=>ef,jettwaveDark:()=>el,jettwaveLight:()=>es,nightOwl:()=>K,nightOwlLight:()=>Y,oceanicNext:()=>J,okaidia:()=>ee,oneDark:()=>eu,oneLight:()=>ec,palenight:()=>et,shadesOfPurple:()=>en,synthwave84:()=>er,ultramin:()=>ea,vsDark:()=>eo,vsLight:()=>ei};for(var H in q)j(U,H,{get:q[H],enumerable:!0});var G={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},W={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},V={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Q={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},K={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Y={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Z="#c5a5c5",X="#8dc891",J={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Z}},{types:["attr-value"],style:{color:X}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:X}},{types:["punctuation"],style:{color:X}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:Z}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ee={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},et={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},en={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},er={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ea={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},eo={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ei={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},el={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},es={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eu={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},ec={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},ed={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},ef={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ep=/\r\n|\r|\n/,em=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eh=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eg=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eh(u,c.type),c.alias&&(u=eh(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(ep),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e<f;e++)em(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return em(l),s},ey=({children:e,language:t,code:n,theme:r,prism:a})=>{let o,i=t.toLowerCase(),l=((e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=z(z({},e[t]),a);e[t]=n}),e},{});return r.root=n,r.plain=P(z({},n),R({backgroundColor:void 0})),r})(r,i),s=(0,C.useCallback)(e=>{var{className:t,style:n,line:r}=e;let a=P(z({},$(e,["className","style","line"])),R({className:(0,_.A)("token-line",t)}));return"object"==typeof l&&"plain"in l&&(a.style=l.plain),"object"==typeof n&&(a.style=z(z({},a.style||{}),n)),a},[l]),u=(o=(0,C.useCallback)(({types:e,empty:t})=>{if(null!=l)return 1===e.length&&"plain"===e[0]?null!=t?{display:"inline-block"}:void 0:1===e.length&&null!=t?l[e[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...e.map(e=>l[e]))},[l]),(0,C.useCallback)(e=>{var{token:t,className:n,style:r}=e;let a=P(z({},$(e,["token","className","style"])),R({className:(0,_.A)("token",...t.types,n),children:t.content,style:o(t)}));return null!=r&&(a.style=z(z({},a.style||{}),r)),a},[o])),c=a.languages[i];return e({tokens:(({prism:e,code:t,grammar:n,language:r})=>(0,C.useMemo)(()=>{if(null==n)return eg([t]);let a={code:t,grammar:n,language:r,tokens:[]};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",a),eg(a.tokens)},[t,n,r,e]))({prism:a,language:i,code:n,grammar:c}),className:`prism-code language-${i}`,style:null!=l?l.root:{},getLineProps:s,getTokenProps:u})},eb=e=>(0,C.createElement)(ey,P(z({},e),R({prism:e.prism||B,theme:e.theme||eo,code:e.code,language:e.language})))},1561(e,t,n){"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>A,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>m,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>a,__generator:()=>h,__importDefault:()=>N,__importStar:()=>P,__makeTemplateObject:()=>_,__metadata:()=>p,__param:()=>s,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>k,__values:()=>b,default:()=>z});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l,s=r.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var m={};for(var h in r)m[h]="access"===h?{}:r[h];for(var h in r.access)m.access[h]=r.access[h];m.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var g=(0,n[p])("accessor"===s?{get:d.get,set:d.set}:d[u],m);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(l=i(g.get))&&(d.get=l),(l=i(g.set))&&(d.set=l),(l=i(g.init))&&a.unshift(l)}else(l=i(g))&&("field"===s?a.unshift(l):d[u]=l)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function m(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function h(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function x(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{var n;(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(s,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function A(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){var o,i,l;o=r,i=a,l=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:l})},i)})}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},j=function(e){return(j=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=j(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return T(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function R(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e}):e}let z={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:m,__generator:h,__createBinding:g,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:k,__spreadArray:x,__await:S,__asyncGenerator:E,__asyncDelegator:A,__asyncValues:C,__makeTemplateObject:_,__importStar:P,__importDefault:N,__classPrivateFieldGet:R,__classPrivateFieldSet:O,__classPrivateFieldIn:L,__addDisposableResource:D,__disposeResources:M,__rewriteRelativeImportExtension:F}},2654(e){"use strict";e.exports={}},4054(e){"use strict";e.exports=JSON.parse('{"/search-822":{"__comp":"1a4e3797","__context":{"plugin":"138e0e15"}},"/docs-c0c":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/docs-37f":{"__comp":"a7bd4aaa","__props":"0058b4c6"},"/docs-3b4":{"__comp":"a94703ab"},"/docs-731":{"__comp":"17896441","content":"6459b84b"},"/docs/cli-commands/cli-commands-5e0":{"__comp":"17896441","content":"35a35434"},"/docs/cli-commands/doctor-165":{"__comp":"17896441","content":"8b9e049f"},"/docs/cli-commands/in-chat-commands-3be":{"__comp":"17896441","content":"de57ece0"},"/docs/daemon-mode/daemon-mode-9c7":{"__comp":"17896441","content":"4df8d22c"},"/docs/daemon-mode/platform-guide-346":{"__comp":"17896441","content":"a6e053fd"},"/docs/daemon-mode/system-service-d3a":{"__comp":"17896441","content":"2aa6d146"},"/docs/getting-started/setup-870":{"__comp":"17896441","content":"449e68eb"},"/docs/getting-started/starting-449":{"__comp":"17896441","content":"bc430709"},"/docs/integrations/coding-workspace-2c2":{"__comp":"17896441","content":"c12bbe07"},"/docs/integrations/github-companion-b37":{"__comp":"17896441","content":"47fe99a6"},"/docs/integrations/spotify-10e":{"__comp":"17896441","content":"2b538913"},"/docs/integrations/sub-agents-1fe":{"__comp":"17896441","content":"a06fff0d"},"/docs/integrations/telegram-ebc":{"__comp":"17896441","content":"0402ec03"},"/docs/reference/built-in-tools-e86":{"__comp":"17896441","content":"e7df10b1"},"/docs/reference/configuration-171":{"__comp":"17896441","content":"c8078f0a"},"/docs/reference/permissions-bd4":{"__comp":"17896441","content":"09292580"},"/docs/reference/provider-fallback-b47":{"__comp":"17896441","content":"37a27735"},"/docs/reference/scheduling-0b4":{"__comp":"17896441","content":"7e0893c3"},"/docs/reference/second-brain-2c4":{"__comp":"17896441","content":"115f7d00"},"/docs/reference/skills-d27":{"__comp":"17896441","content":"653db0f6"},"/docs/releases-63f":{"__comp":"17896441","content":"f3244ec3"},"/docs/releases/1.1.6-57f":{"__comp":"17896441","content":"15bc3129"},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["14"],function(){return e(e.s=354)}),e.O()}]);
\ No newline at end of file
+Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,t),l=!0),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{let t=u.getItem(n);u.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{let e=u.getItem(n);u.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,e),()=>{}}}}}function c(e,t){let[n]=(0,r.useState)(()=>null===e?s:u(e,t)),a=(0,r.useCallback)(e=>"u"<typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>n.get(),()=>null),n]}},3899(e,t,n){"use strict";n.d(t,{AL:()=>c,s$:()=>d});var r=n(4848),a=n(6540),o=n(898),i=n(8491),l=n(2260);let s=({title:e,siteTitle:t,titleDelimiter:n})=>{let r=e?.trim();return r&&r!==t?`${r} ${n} ${t}`:t},u=(0,a.createContext)(null);function c({formatter:e,children:t}){return(0,r.jsx)(u.Provider,{value:e,children:t})}function d(){let e=function(){let e=(0,a.useContext)(u);if(null===e)throw new l.dV("TitleFormatterProvider");return e}(),{siteConfig:t}=(0,o.A)(),{title:n,titleDelimiter:r}=t,{plugin:c}=(0,i.A)();return{format:t=>e({title:t,siteTitle:n,titleDelimiter:r,plugin:c,defaultFormatter:s})}}},5243(e,t,n){"use strict";n.d(t,{o:()=>i});var r=n(898),a=n(6347),o=n(5248);function i(){let{siteConfig:{baseUrl:e,trailingSlash:t},i18n:{localeConfigs:n}}=(0,r.A)(),{pathname:i}=(0,a.zy)(),l=(0,o.applyTrailingSlash)(i,{trailingSlash:t,baseUrl:e}).replace(e,"");return{createUrl:function({locale:e,fullyQualified:t}){let r=function(e){let t=n[e];if(!t)throw Error(`Unexpected Docusaurus bug, no locale config found for locale=${e}`);return t}(e),a=`${t?r.url:""}`,o=r.baseUrl;return`${a}${o}${l}`}}}},8398(e,t,n){"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(2260);function i(e){let t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)(()=>{n&&t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},1022(e,t,n){"use strict";n.d(t,{p:()=>a});var r=n(898);function a(){return(0,r.A)().siteConfig.themeConfig}},4207(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){let{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#")||void 0===n)return e;let[i]=e.split(/[#?]/),l="/"===i||i===r?i:n?a(i):o(i);return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(9262);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},7541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},5248(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(1635);var a=n(4207);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(a).default}}),n(9262);var o=n(7541);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9262(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3962(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(4164);function o({className:e}){return(0,r.jsxs)("div",{className:(0,a.A)("loadingRing_RJI3",e),children:[(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{})]})}},9988(e,t,n){"use strict";let r;n.d(t,{w:()=>E,k:()=>S});let a=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),l=Symbol("Comlink.finalizer"),s=Symbol("Comlink.thrown"),u=e=>"object"==typeof e&&null!==e||"function"==typeof e,c=new Map([["proxy",{canHandle:e=>u(e)&&e[a],serialize(e){let{port1:t,port2:n}=new MessageChannel;return function e(t,n=globalThis,r=["*"]){n.addEventListener("message",function o(i){let u;if(!i||!i.data)return;if(!function(e,t){for(let n of e)if(t===n||"*"===n||n instanceof RegExp&&n.test(t))return!0;return!1}(r,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);let{id:c,type:f,path:p}=Object.assign({path:[]},i.data),m=(i.data.argumentList||[]).map(w);try{var h,g,y;let n=p.slice(0,-1).reduce((e,t)=>e[t],t),r=p.reduce((e,t)=>e[t],t);switch(f){case"GET":u=r;break;case"SET":n[p.slice(-1)[0]]=w(i.data.value),u=!0;break;case"APPLY":u=r.apply(n,m);break;case"CONSTRUCT":h=new r(...m),u=Object.assign(h,{[a]:!0});break;case"ENDPOINT":{let{port1:n,port2:r}=new MessageChannel;e(t,r),g=n,y=[n],b.set(g,y),u=g}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[s]:0}}Promise.resolve(u).catch(e=>({value:e,[s]:0})).then(e=>{let[r,a]=v(e);n.postMessage(Object.assign(Object.assign({},r),{id:c}),a),"RELEASE"===f&&(n.removeEventListener("message",o),d(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(e=>{let[t,r]=v({value:TypeError("Unserializable return value"),[s]:0});n.postMessage(Object.assign(Object.assign({},t),{id:c}),r)})}),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),f(e))}],["throw",{canHandle:e=>u(e)&&s in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function d(e){"MessagePort"===e.constructor.name&&e.close()}function f(e,t){let n=new Map;return e.addEventListener("message",function(e){let{data:t}=e;if(!t||!t.id)return;let r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}}),function e(t,n,r=[],a=function(){}){let l,s=!1,u=new Proxy(a,{get(a,o){if(p(s),o===i)return()=>{g&&g.unregister(u),m(t),n.clear(),s=!0};if("then"===o){if(0===r.length)return{then:()=>u};let e=k(t,n,{type:"GET",path:r.map(e=>e.toString())}).then(w);return e.then.bind(e)}return e(t,n,[...r,o])},set(e,a,o){p(s);let[i,l]=v(o);return k(t,n,{type:"SET",path:[...r,a].map(e=>e.toString()),value:i},l).then(w)},apply(a,i,l){p(s);let u=r[r.length-1];if(u===o)return k(t,n,{type:"ENDPOINT"}).then(w);if("bind"===u)return e(t,n,r.slice(0,-1));let[c,d]=y(l);return k(t,n,{type:"APPLY",path:r.map(e=>e.toString()),argumentList:c},d).then(w)},construct(e,a){p(s);let[o,i]=y(a);return k(t,n,{type:"CONSTRUCT",path:r.map(e=>e.toString()),argumentList:o},i).then(w)}});return l=(h.get(t)||0)+1,h.set(t,l),g&&g.register(u,t,u),u}(e,n,[],t)}function p(e){if(e)throw Error("Proxy has been released and is not useable")}function m(e){return k(e,new Map,{type:"RELEASE"}).then(()=>{d(e)})}let h=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(h.get(e)||0)-1;h.set(e,t),0===t&&m(e)});function y(e){var t;let n=e.map(v);return[n.map(e=>e[0]),(t=n.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let b=new WeakMap;function v(e){for(let[t,n]of c)if(n.canHandle(e)){let[r,a]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},a]}return[{type:"RAW",value:e},b.get(e)||[]]}function w(e){switch(e.type){case"HANDLER":return c.get(e.name).deserialize(e.value);case"RAW":return e.value}}function k(e,t,n,r){return new Promise(a=>{let o=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.set(o,a),e.start&&e.start(),e.postMessage(Object.assign({id:o},n),r)})}function x(){return r||(r=(async()=>{let e=f(new Worker(new URL(n.p+n.u("498"),n.b)));return await new e})()),r}async function S(e,t){{let n=await x();await n.fetchIndexes(e,t)}}async function E(e,t,n,r){return(await x()).search(e,t,n,r)}},8127(e,t,n){"use strict";function r(e){return e.join(" \u203A ")}n.d(t,{$:()=>r})},5079(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}n.d(t,{Z:()=>r})},1234(e,t,n){"use strict";function r(e,t){let n=[];for(let r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort((e,t)=>e[0]-t[0]||t[1]-e[1])}n.d(t,{g:()=>r})},177(e,t,n){"use strict";n.d(t,{Z:()=>function e(t,n,a){let o=[];for(let a of n){let i=t.toLowerCase().indexOf(a);if(i>=0){i>0&&o.push(e(t.substr(0,i),n)),o.push(`<mark>${(0,r.Z)(t.substr(i,a.length))}</mark>`);let l=i+a.length;l<t.length&&o.push(e(t.substr(l),n));break}}return 0===o.length?a?`<mark>${(0,r.Z)(t)}</mark>`:(0,r.Z)(t):o.join("")}});var r=n(5079)},429(e,t,n){"use strict";n.d(t,{C:()=>s});var r=n(5079),a=n(177);let o=/\w+|\p{Unified_Ideograph}/u;function i(e){let t=[],n=0,r=e;for(;r.length>0;){let a=r.match(o);if(!a){t.push(r);break}a.index>0&&t.push(r.substring(0,a.index)),t.push(a[0]),n+=a.index+a[0].length,r=e.substring(n)}return t}var l=n(3681);function s(e,t,n,o=l.rG){let{chunkIndex:u,chunks:c}=function(e,t,n){let o=[],l=0,s=0,u=-1;for(;l<t.length;){let[c,d]=t[l];if(l+=1,!(c<s)){if(c>s)for(let t of i(e.substring(s,c)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);-1===u&&(u=o.length),s=c+d,o.push({html:(0,a.Z)(e.substring(c,s),n,!0),textLength:d})}}if(s<e.length)for(let t of i(e.substring(s)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);return{chunkIndex:u,chunks:o}}(e,t,n),d=c.slice(0,u),f=c[u],p=[f.html],m=c.slice(u+1),h=f.textLength,g=0,y=0,b=!1,v=!1;for(;h<o;)if((g<=y||0===m.length)&&d.length>0){let e=d.pop();h+e.textLength<=o?(p.unshift(e.html),g+=e.textLength,h+=e.textLength):(b=!0,d.length=0)}else if(m.length>0){let e=m.shift();h+e.textLength<=o?(p.push(e.html),y+=e.textLength,h+=e.textLength):(v=!0,m.length=0)}else break;return(b||d.length>0)&&p.unshift("\u2026"),(v||m.length>0)&&p.push("\u2026"),p.join("")}},9553(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{let{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{p:()=>r})},3681(e,t,n){"use strict";n.d(t,{tF:()=>u,oZ:()=>h,CU:()=>a(),WW:()=>l,O6:()=>p,ZG:()=>c,rG:()=>o,dz:()=>m,tb:()=>i,UB:()=>d,Hg:()=>f,pk:()=>s});var r=n(689),a=n.n(r);let o=50,i=!1,l=!0,s=!0,u="mod+k",c="right",d,f=null,p=!1,m=!1,h=null},9137(e,t,n){"use strict";var r,a;n.d(t,{i:()=>r}),(a=r||(r={}))[a.Title=0]="Title",a[a.Heading=1]="Heading",a[a.Description=2]="Description",a[a.Keywords=3]="Keywords",a[a.Content=4]="Content",a[a.AskAI=5]="AskAI"},2328(e){"use strict";ask,ai,e.exports=open-ask-ai},6738(e){"use strict";ask,ai,styles.css,e.exports=open-ask-ai/styles.css},4784(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});let r={title:"Mercury",tagline:"Soul-driven AI agent with permission guardrails",favicon:"img/favicon.svg",future:{v4:{removeLegacyPostBuildHeadAttribute:!0,useCssCascadeLayers:!0,siteStorageNamespacing:!0,fasterByDefault:!0,mdx1CompatDisabledByDefault:!0},experimental_vcs:{},experimental_router:"browser",faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0,rspackPersistentCache:!0,ssgWorkerThreads:!0,gitEagerVcs:!0}},url:"https://mercury.cosmicstack.org",baseUrl:"/",trailingSlash:!1,organizationName:"cosmicstack-labs",projectName:"mercury-agent",onBrokenLinks:"throw",onBrokenAnchors:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},scripts:[{src:"https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js",async:!0},{src:"/js/plausible-init.js"}],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en"],indexBlog:!1,docsRouteBasePath:"/docs",highlightSearchTermsOnTargetPage:!0}]],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{image:"img/card.png",colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},navbar:{title:"\u263F Mercury",items:[{to:"/docs",label:"Docs",position:"left"},{href:"https://github.com/cosmicstack-labs/mercury-agent",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Getting Started",to:"/docs"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/cosmicstack-labs/mercury-agent"}]}],copyright:"Copyright \xa9 2026 Cosmic Stack. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,storage:{type:"localStorage",namespace:!0},onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,emoji:!0,mdx1Compat:{comments:!1,admonitions:!1,headingIds:!1},anchors:{maintainCase:!1},hooks:{onBrokenMarkdownLinks:"warn",onBrokenMarkdownImages:"throw"}}}},8168(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},594(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164(e,t,n){"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r}},1765(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{My:()=>B,f4:()=>eb});var s,u,c,d,f,p,m,h,g,y,b,v,w,k,x,S,E,A,C=n(6540),_=n(4164),T=Object.create,j=Object.defineProperty,P=Object.defineProperties,N=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,D=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&F(e,n,t[n]);if(L)for(var n of L(t))M.call(t,n)&&F(e,n,t[n]);return e},$=(e,t)=>{var n={};for(var r in e)I.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&L)for(var r of L(e))0>t.indexOf(r)&&M.call(e,r)&&(n[r]=e[r]);return n},B=(l=null!=(o=(r={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(n[o=r.util.objId(t)])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":if(n[o=r.util.objId(t)])return n[o];return a=[],n[o]=a,t.forEach(function(t,r){a[r]=e(t,n)}),a;default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,function(t,n){n===u&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i)if(i.hasOwnProperty(d)&&i[d]){var f=i[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var m=f[p],h=m.inside,g=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var v=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,v+"g")}for(var w=m.pattern||m,k=s.next,x=u;k!==n.tail&&(!c||!(x>=c.reach));x+=k.value.length,k=k.next){var S,E=k.value;if(n.length>t.length)return;if(!(E instanceof a)){var A=1;if(y){if(!(S=o(w,x,t,g))||S.index>=t.length)break;var C=S.index,_=S.index+S[0].length,T=x;for(T+=k.value.length;C>=T;)T+=(k=k.next).value.length;if(T-=k.value.length,x=T,k.value instanceof a)continue;for(var j=k;j!==n.tail&&(T<_||"string"==typeof j.value);j=j.next)A++,T+=j.value.length;A--,E=t.slice(x,T),S.index-=x}else if(!(S=o(w,0,E,g)))continue;var C=S.index,P=S[0],N=E.slice(0,C),R=E.slice(C+P.length),O=x+E.length;c&&O>c.reach&&(c.reach=O);var L=k.prev;if(N&&(L=l(n,L,N),x+=N.length),function(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}(n,L,A),k=l(n,L,new a(d,h?r.tokenize(P,h):P,b,P)),R&&l(n,k,R),A>1){var D={cause:d+","+p,reach:O};e(t,n,i,k.prev,x,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[O(r)[0]])((a={exports:{}}).exports,a),a.exports})())?T(D(o)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of O(t))I.call(e,a)||a===n||j(e,a,{get:()=>t[a],enumerable:!(r=N(t,a))||r.enumerable});return e})(!i&&o&&o.__esModule?l:j(l,"default",{value:o,enumerable:!0}),o));B.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},B.languages.markup.tag.inside["attr-value"].inside.entity=B.languages.markup.entity,B.languages.markup.doctype.inside["internal-subset"].inside=B.languages.markup,B.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(B.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:B.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:B.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},B.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(B.languages.markup.tag,"addAttribute",{value:function(e,t){B.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:B.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),B.languages.html=B.languages.markup,B.languages.mathml=B.languages.markup,B.languages.svg=B.languages.markup,B.languages.xml=B.languages.extend("markup",{}),B.languages.ssml=B.languages.xml,B.languages.atom=B.languages.xml,B.languages.rss=B.languages.xml,s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=RegExp((c="(?:[^\\\\-]|"+(u=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+c),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},B.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:u,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:u}},"special-escape":s,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:u,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},B.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},B.languages.javascript=B.languages.extend("clike",{"class-name":[B.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),B.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,B.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:B.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:B.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:B.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:B.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:B.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),B.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:B.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),B.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),B.languages.markup&&(B.languages.markup.tag.addInlined("script","javascript"),B.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),B.languages.js=B.languages.javascript,B.languages.actionscript=B.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),B.languages.actionscript["class-name"].alias="function",delete B.languages.actionscript.parameter,delete B.languages.actionscript["literal-property"],B.languages.markup&&B.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:B.languages.markup}}),f=/#(?!\{).+/,p={pattern:/#\{[^}]+\}/,alias:"variable"},B.languages.coffeescript=B.languages.extend("javascript",{comment:f,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:p}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),B.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:f,interpolation:p}}}),B.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:B.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:p}}]}),B.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete B.languages.coffeescript["template-string"],B.languages.coffee=B.languages.coffeescript,Object.defineProperty(m=B.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=B.languages[e]){var a,o=a[r];if((o=o||(a=B.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),m.addSupport(["java","javascript","php"],m),h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,B.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},B.languages.css.atrule.inside.rest=B.languages.css,(h=B.languages.markup)&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css")),g=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,B.languages.css.selector={pattern:B.languages.css.selector.pattern,lookbehind:!0,inside:g={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+g.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[g,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},B.languages.css.atrule.inside["selector-function-argument"].inside=g,B.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),g={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},y={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},B.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:g,number:y,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:g,number:y}),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(B),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(B),B.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:B.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},B.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(c(["definition-mutation","punctuation"])&&"("===t[n+1].content){n+=2;var o=d(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=t[n+0];"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(c(["punctuation","property-query"])&&"{"===t[n+0].content&&(f(t[++n+0],"property-mutation"),0<a.length)){var l=d(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}function d(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l){if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}}return -1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),B.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,f=n[i];"string"!=typeof f&&(Array.isArray(u=f.content)?"template-string"===f.type?(f=u[1],3===u.length&&"string"!=typeof f&&"embedded-code"===f.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(f),f=Array.isArray(f=f.alias)?f[0]:f,d=e.languages[f])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,g),m=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(m,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,m),p=h.substring(g+i.length),m=[],s&&m.push(s),m.push(f),p&&(t(h=[p]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):Array.isArray(g=y.content)?t(g):t([g])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(B),B.languages.typescript=B.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),B.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete B.languages.typescript.parameter,delete B.languages.typescript["literal-property"],b=B.languages.extend("typescript",{}),delete b["class-name"],B.languages.typescript["class-name"].inside=b,B.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b}}}}),B.languages.ts=B.languages.typescript,v=B.languages.javascript,k="(@(?:arg|argument|param|property)\\s+(?:"+(w=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",B.languages.jsdoc=B.languages.extend("javadoclike",{parameter:{pattern:RegExp(k+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),B.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(k+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:v,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return w})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+w),lookbehind:!0,inside:{string:v.string,number:v.number,boolean:v.boolean,keyword:B.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:v,alias:"language-javascript"}}}}),B.languages.javadoclike.addSupport("javascript",B.languages.jsdoc),B.languages.flow=B.languages.extend("javascript",{}),B.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),B.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete B.languages.flow.parameter,B.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(B.languages.flow.keyword)||(B.languages.flow.keyword=[B.languages.flow.keyword]),B.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),B.languages.n4js=B.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),B.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),B.languages.n4jsd=B.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(B),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(B),x=B.util.clone(B.languages.typescript),(B.languages.tsx=B.languages.extend("jsx",x),delete B.languages.tsx.parameter,delete B.languages.tsx["literal-property"],x=B.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+x.pattern.source+")",x.pattern.flags),x.lookbehind=!0,B.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},B.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=B.languages.swift}),B.languages.kotlin=B.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete B.languages.kotlin["class-name"],S={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:B.languages.kotlin}},B.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:S},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:S},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete B.languages.kotlin.string,B.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),B.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),B.languages.kt=B.languages.kotlin,B.languages.kts=B.languages.kotlin,B.languages.c=B.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),B.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),B.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},B.languages.c.string],char:B.languages.c.char,comment:B.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:B.languages.c}}}}),B.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete B.languages.c.boolean,B.languages.objectivec=B.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete B.languages.objectivec["class-name"],B.languages.objc=B.languages.objectivec,B.languages.reason=B.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),B.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete B.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(B),B.languages.go=B.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),B.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete B.languages.go["class-name"],E=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,A=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return E.source}),B.languages.cpp=B.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return E.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:E,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),B.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return A})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),B.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:B.languages.cpp}}}}),B.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),B.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:B.languages.extend("cpp",{})}}),B.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},B.languages.cpp["base-clause"]),B.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},B.languages.python["string-interpolation"].inside.interpolation.inside.rest=B.languages.python,B.languages.py=B.languages.python,B.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},B.languages.webmanifest=B.languages.json;var U={},q={dracula:()=>G,duotoneDark:()=>W,duotoneLight:()=>V,github:()=>Q,gruvboxMaterialDark:()=>ed,gruvboxMaterialLight:()=>ef,jettwaveDark:()=>el,jettwaveLight:()=>es,nightOwl:()=>K,nightOwlLight:()=>Y,oceanicNext:()=>J,okaidia:()=>ee,oneDark:()=>eu,oneLight:()=>ec,palenight:()=>et,shadesOfPurple:()=>en,synthwave84:()=>er,ultramin:()=>ea,vsDark:()=>eo,vsLight:()=>ei};for(var H in q)j(U,H,{get:q[H],enumerable:!0});var G={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},W={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},V={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Q={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},K={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Y={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Z="#c5a5c5",X="#8dc891",J={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Z}},{types:["attr-value"],style:{color:X}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:X}},{types:["punctuation"],style:{color:X}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:Z}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ee={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},et={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},en={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},er={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ea={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},eo={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ei={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},el={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},es={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eu={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},ec={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},ed={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},ef={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ep=/\r\n|\r|\n/,em=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eh=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eg=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eh(u,c.type),c.alias&&(u=eh(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(ep),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e<f;e++)em(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return em(l),s},ey=({children:e,language:t,code:n,theme:r,prism:a})=>{let o,i=t.toLowerCase(),l=((e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=z(z({},e[t]),a);e[t]=n}),e},{});return r.root=n,r.plain=P(z({},n),R({backgroundColor:void 0})),r})(r,i),s=(0,C.useCallback)(e=>{var{className:t,style:n,line:r}=e;let a=P(z({},$(e,["className","style","line"])),R({className:(0,_.A)("token-line",t)}));return"object"==typeof l&&"plain"in l&&(a.style=l.plain),"object"==typeof n&&(a.style=z(z({},a.style||{}),n)),a},[l]),u=(o=(0,C.useCallback)(({types:e,empty:t})=>{if(null!=l)return 1===e.length&&"plain"===e[0]?null!=t?{display:"inline-block"}:void 0:1===e.length&&null!=t?l[e[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...e.map(e=>l[e]))},[l]),(0,C.useCallback)(e=>{var{token:t,className:n,style:r}=e;let a=P(z({},$(e,["token","className","style"])),R({className:(0,_.A)("token",...t.types,n),children:t.content,style:o(t)}));return null!=r&&(a.style=z(z({},a.style||{}),r)),a},[o])),c=a.languages[i];return e({tokens:(({prism:e,code:t,grammar:n,language:r})=>(0,C.useMemo)(()=>{if(null==n)return eg([t]);let a={code:t,grammar:n,language:r,tokens:[]};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",a),eg(a.tokens)},[t,n,r,e]))({prism:a,language:i,code:n,grammar:c}),className:`prism-code language-${i}`,style:null!=l?l.root:{},getLineProps:s,getTokenProps:u})},eb=e=>(0,C.createElement)(ey,P(z({},e),R({prism:e.prism||B,theme:e.theme||eo,code:e.code,language:e.language})))},1561(e,t,n){"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>A,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>m,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>a,__generator:()=>h,__importDefault:()=>N,__importStar:()=>P,__makeTemplateObject:()=>_,__metadata:()=>p,__param:()=>s,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>k,__values:()=>b,default:()=>z});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l,s=r.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var m={};for(var h in r)m[h]="access"===h?{}:r[h];for(var h in r.access)m.access[h]=r.access[h];m.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var g=(0,n[p])("accessor"===s?{get:d.get,set:d.set}:d[u],m);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(l=i(g.get))&&(d.get=l),(l=i(g.set))&&(d.set=l),(l=i(g.init))&&a.unshift(l)}else(l=i(g))&&("field"===s?a.unshift(l):d[u]=l)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function m(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function h(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function x(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{var n;(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(s,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function A(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){var o,i,l;o=r,i=a,l=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:l})},i)})}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},j=function(e){return(j=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=j(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return T(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function R(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e}):e}let z={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:m,__generator:h,__createBinding:g,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:k,__spreadArray:x,__await:S,__asyncGenerator:E,__asyncDelegator:A,__asyncValues:C,__makeTemplateObject:_,__importStar:P,__importDefault:N,__classPrivateFieldGet:R,__classPrivateFieldSet:O,__classPrivateFieldIn:L,__addDisposableResource:D,__disposeResources:M,__rewriteRelativeImportExtension:F}},2654(e){"use strict";e.exports={}},4054(e){"use strict";e.exports=JSON.parse('{"/search-822":{"__comp":"1a4e3797","__context":{"plugin":"138e0e15"}},"/docs-b5f":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/docs-423":{"__comp":"a7bd4aaa","__props":"0058b4c6"},"/docs-20d":{"__comp":"a94703ab"},"/docs-731":{"__comp":"17896441","content":"6459b84b"},"/docs/cli-commands/cli-commands-5e0":{"__comp":"17896441","content":"35a35434"},"/docs/cli-commands/doctor-165":{"__comp":"17896441","content":"8b9e049f"},"/docs/cli-commands/in-chat-commands-3be":{"__comp":"17896441","content":"de57ece0"},"/docs/daemon-mode/daemon-mode-9c7":{"__comp":"17896441","content":"4df8d22c"},"/docs/daemon-mode/platform-guide-346":{"__comp":"17896441","content":"a6e053fd"},"/docs/daemon-mode/system-service-d3a":{"__comp":"17896441","content":"2aa6d146"},"/docs/getting-started/setup-870":{"__comp":"17896441","content":"449e68eb"},"/docs/getting-started/starting-449":{"__comp":"17896441","content":"bc430709"},"/docs/integrations/coding-workspace-2c2":{"__comp":"17896441","content":"c12bbe07"},"/docs/integrations/github-companion-b37":{"__comp":"17896441","content":"47fe99a6"},"/docs/integrations/spotify-10e":{"__comp":"17896441","content":"2b538913"},"/docs/integrations/sub-agents-1fe":{"__comp":"17896441","content":"a06fff0d"},"/docs/integrations/telegram-ebc":{"__comp":"17896441","content":"0402ec03"},"/docs/reference/built-in-tools-e86":{"__comp":"17896441","content":"e7df10b1"},"/docs/reference/configuration-171":{"__comp":"17896441","content":"c8078f0a"},"/docs/reference/permissions-bd4":{"__comp":"17896441","content":"09292580"},"/docs/reference/provider-fallback-b47":{"__comp":"17896441","content":"37a27735"},"/docs/reference/scheduling-0b4":{"__comp":"17896441","content":"7e0893c3"},"/docs/reference/second-brain-2c4":{"__comp":"17896441","content":"115f7d00"},"/docs/reference/skills-d27":{"__comp":"17896441","content":"653db0f6"},"/docs/releases-63f":{"__comp":"17896441","content":"f3244ec3"},"/docs/releases/1.1.6-57f":{"__comp":"17896441","content":"15bc3129"},"/docs/releases/1.1.7-a16":{"__comp":"17896441","content":"13fe4b11"},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["14"],function(){return e(e.s=354)}),e.O()}]);
\ No newline at end of file
diff --git a/docs/assets/js/runtime~main.287421b8.js b/docs/assets/js/runtime~main.287421b8.js
new file mode 100644
index 00000000..14e5833a
--- /dev/null
+++ b/docs/assets/js/runtime~main.287421b8.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,t,r,a,f,o,c,n={},d={};function b(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return n[e].call(r.exports,r,r.exports,b),r.exports}b.m=n,b.c=d,b.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return b.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var f=Object.create(null);b.r(f);var o={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&r;("object"==typeof c||"function"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>{o[e]=()=>r[e]});return o.default=()=>r,b.d(f,o),f},b.d=(e,t)=>{for(var r in t)b.o(t,r)&&!b.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce((t,r)=>(b.f[r](e,t),t),[])),b.u=e=>"assets/js/"+(({106:"17896441",135:"c8078f0a",203:"8b9e049f",225:"a06fff0d",234:"138e0e15",263:"37a27735",266:"0058b4c6",283:"2b538913",336:"6459b84b",351:"0402ec03",368:"a6e053fd",452:"1df93b7f",454:"7e0893c3",461:"13fe4b11",523:"4df8d22c",534:"e7df10b1",56:"a7456010",575:"a7bd4aaa",600:"f3244ec3",618:"115f7d00",624:"c12bbe07",650:"de57ece0",651:"2aa6d146",668:"5e95c892",713:"47fe99a6",724:"15bc3129",747:"aba21aa0",770:"35a35434",785:"a94703ab",788:"bc430709",847:"1a4e3797",851:"09292580",871:"449e68eb",904:"653db0f6"})[e]||e)+"."+({106:"acf4bf36",135:"5ab8a5ad",203:"9066b1a6",225:"3aa970a1",234:"ffb52263",263:"753bc700",266:"d92f4c59",283:"f406be7c",314:"c4dd6034",336:"db2867ac",351:"cffc21b3",368:"8428bb73",452:"c92dab9a",454:"49a24ad2",461:"75febe83",498:"58db3686",523:"b1a4021a",534:"3bcc0176",56:"59429b8c",575:"1a48235a",600:"8a7d6a78",618:"dd38af3a",62:"5db75b64",624:"5ce4c9b2",650:"8fa4890b",651:"04bd5ffd",668:"f35f7d4e",693:"77cc2acf",713:"b4bdb3a9",724:"6f468cff",747:"eafb5ecc",770:"f9cb7092",785:"025095cf",788:"47825f1f",847:"24ac5ea6",851:"13415696",871:"a000495f",904:"575741d9",92:"613668b5"})[e]+".js",b.miniCssF=e=>""+e+".css",b.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),b.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},b.l=function(e,t,a,f){if(r[e])return void r[e].push(t);if(void 0!==a)for(var o,c,n=document.getElementsByTagName("script"),d=0;d<n.length;d++){var i=n[d];if(i.getAttribute("src")==e||i.getAttribute("data-rspack")=="website:"+a){o=i;break}}o||(c=!0,(o=document.createElement("script")).timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.setAttribute("data-rspack","website:"+a),o.src=e),r[e]=[t];var u=function(t,a){o.onerror=o.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach(function(e){return e(a)}),t)return t(a)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),c&&document.head.appendChild(o)},b.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a=[],b.O=(e,t,r,f)=>{if(t){f=f||0;for(var o=a.length;o>0&&a[o-1][2]>f;o--)a[o]=a[o-1];a[o]=[t,r,f];return}for(var c=1/0,o=0;o<a.length;o++){for(var t=a[o][0],r=a[o][1],f=a[o][2],n=!0,d=0;d<t.length;d++)(!1&f||c>=f)&&Object.keys(b.O).every(e=>b.O[e](t[d]))?t.splice(d--,1):(n=!1,f<c&&(c=f));if(n){a.splice(o--,1);var i=r();void 0!==i&&(e=i)}}return e},b.p="/",b.rv=()=>"1.7.11",b.gca=function(e){return e=({0x11113f9:"106",a7456010:"56",c8078f0a:"135","8b9e049f":"203",a06fff0d:"225","138e0e15":"234","37a27735":"263","0058b4c6":"266","2b538913":"283","6459b84b":"336","0402ec03":"351",a6e053fd:"368","1df93b7f":"452","7e0893c3":"454","13fe4b11":"461","4df8d22c":"523",e7df10b1:"534",a7bd4aaa:"575",f3244ec3:"600","115f7d00":"618",c12bbe07:"624",de57ece0:"650","2aa6d146":"651","5e95c892":"668","47fe99a6":"713","15bc3129":"724",aba21aa0:"747","35a35434":"770",a94703ab:"785",bc430709:"788","1a4e3797":"847","09292580":"851","449e68eb":"871","653db0f6":"904"})[e]||e,b.p+b.u(e)},b.b=document.baseURI||self.location.href,f={14:0,783:0},b.f.j=function(e,t){var r=b.o(f,e)?f[e]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(14|783)$/.test(e))f[e]=0;else{var a=new Promise((t,a)=>r=f[e]=[t,a]);t.push(r[2]=a);var o=b.p+b.u(e),c=Error();b.l(o,function(t){if(b.o(f,e)&&(0!==(r=f[e])&&(f[e]=void 0),r)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,r[1](c)}},"chunk-"+e,e)}},b.O.j=e=>0===f[e],o=(e,t)=>{var r,a,o=t[0],c=t[1],n=t[2],d=0;if(o.some(e=>0!==f[e])){for(r in c)b.o(c,r)&&(b.m[r]=c[r]);if(n)var i=n(b)}for(e&&e(t);d<o.length;d++)a=o[d],b.o(f,a)&&f[a]&&f[a][0](),f[a]=0;return b.O(i)},(c=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).forEach(o.bind(null,0)),c.push=o.bind(null,c.push.bind(c)),b.ruid="[email protected]"})();
\ No newline at end of file
diff --git a/docs/assets/js/runtime~main.547d3a2c.js b/docs/assets/js/runtime~main.547d3a2c.js
deleted file mode 100644
index 1f376ac6..00000000
--- a/docs/assets/js/runtime~main.547d3a2c.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,t,a,r,o,f,n,c={},d={};function b(e){var t=d[e];if(void 0!==t)return t.exports;var a=d[e]={exports:{}};return c[e].call(a.exports,a,a.exports,b),a.exports}b.m=c,b.c=d,b.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return b.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var o=Object.create(null);b.r(o);var f={};e=e||[null,t({}),t([]),t(t)];for(var n=2&r&&a;("object"==typeof n||"function"==typeof n)&&!~e.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach(e=>{f[e]=()=>a[e]});return f.default=()=>a,b.d(o,f),o},b.d=(e,t)=>{for(var a in t)b.o(t,a)&&!b.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce((t,a)=>(b.f[a](e,t),t),[])),b.u=e=>"assets/js/"+(({106:"17896441",135:"c8078f0a",203:"8b9e049f",225:"a06fff0d",234:"138e0e15",263:"37a27735",266:"0058b4c6",283:"2b538913",336:"6459b84b",351:"0402ec03",368:"a6e053fd",452:"1df93b7f",454:"7e0893c3",523:"4df8d22c",534:"e7df10b1",56:"a7456010",575:"a7bd4aaa",600:"f3244ec3",618:"115f7d00",624:"c12bbe07",650:"de57ece0",651:"2aa6d146",668:"5e95c892",713:"47fe99a6",724:"15bc3129",747:"aba21aa0",770:"35a35434",785:"a94703ab",788:"bc430709",847:"1a4e3797",851:"09292580",871:"449e68eb",904:"653db0f6"})[e]||e)+"."+({106:"acf4bf36",135:"5ab8a5ad",203:"9066b1a6",225:"a5831abf",234:"ffb52263",263:"62cbe913",266:"671f100d",283:"7da960c2",314:"c4dd6034",336:"0253a2d0",351:"24b4b9ab",368:"8428bb73",452:"65399833",454:"49a24ad2",498:"fd931887",523:"bb68aa6c",534:"d9603bc5",56:"59429b8c",575:"1a48235a",600:"1f244bc7",618:"a3a82bc0",62:"5db75b64",624:"18dd8763",650:"5c199cd5",651:"04bd5ffd",668:"f35f7d4e",693:"77cc2acf",713:"e85172ef",724:"bf770dad",747:"eafb5ecc",770:"f9cb7092",785:"025095cf",788:"ffceb7ec",847:"24ac5ea6",851:"3faae294",871:"a5b08cae",904:"575741d9",92:"613668b5"})[e]+".js",b.miniCssF=e=>""+e+".css",b.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),b.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},b.l=function(e,t,r,o){if(a[e])return void a[e].push(t);if(void 0!==r)for(var f,n,c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var i=c[d];if(i.getAttribute("src")==e||i.getAttribute("data-rspack")=="website:"+r){f=i;break}}f||(n=!0,(f=document.createElement("script")).timeout=120,b.nc&&f.setAttribute("nonce",b.nc),f.setAttribute("data-rspack","website:"+r),f.src=e),a[e]=[t];var u=function(t,r){f.onerror=f.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach(function(e){return e(r)}),t)return t(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=u.bind(null,f.onerror),f.onload=u.bind(null,f.onload),n&&document.head.appendChild(f)},b.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r=[],b.O=(e,t,a,o)=>{if(t){o=o||0;for(var f=r.length;f>0&&r[f-1][2]>o;f--)r[f]=r[f-1];r[f]=[t,a,o];return}for(var n=1/0,f=0;f<r.length;f++){for(var t=r[f][0],a=r[f][1],o=r[f][2],c=!0,d=0;d<t.length;d++)(!1&o||n>=o)&&Object.keys(b.O).every(e=>b.O[e](t[d]))?t.splice(d--,1):(c=!1,o<n&&(n=o));if(c){r.splice(f--,1);var i=a();void 0!==i&&(e=i)}}return e},b.p="/",b.rv=()=>"1.7.11",b.gca=function(e){return e=({0x11113f9:"106",a7456010:"56",c8078f0a:"135","8b9e049f":"203",a06fff0d:"225","138e0e15":"234","37a27735":"263","0058b4c6":"266","2b538913":"283","6459b84b":"336","0402ec03":"351",a6e053fd:"368","1df93b7f":"452","7e0893c3":"454","4df8d22c":"523",e7df10b1:"534",a7bd4aaa:"575",f3244ec3:"600","115f7d00":"618",c12bbe07:"624",de57ece0:"650","2aa6d146":"651","5e95c892":"668","47fe99a6":"713","15bc3129":"724",aba21aa0:"747","35a35434":"770",a94703ab:"785",bc430709:"788","1a4e3797":"847","09292580":"851","449e68eb":"871","653db0f6":"904"})[e]||e,b.p+b.u(e)},b.b=document.baseURI||self.location.href,o={14:0,783:0},b.f.j=function(e,t){var a=b.o(o,e)?o[e]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(14|783)$/.test(e))o[e]=0;else{var r=new Promise((t,r)=>a=o[e]=[t,r]);t.push(a[2]=r);var f=b.p+b.u(e),n=Error();b.l(f,function(t){if(b.o(o,e)&&(0!==(a=o[e])&&(o[e]=void 0),a)){var r=t&&("load"===t.type?"missing":t.type),f=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+r+": "+f+")",n.name="ChunkLoadError",n.type=r,n.request=f,a[1](n)}},"chunk-"+e,e)}},b.O.j=e=>0===o[e],f=(e,t)=>{var a,r,f=t[0],n=t[1],c=t[2],d=0;if(f.some(e=>0!==o[e])){for(a in n)b.o(n,a)&&(b.m[a]=n[a]);if(c)var i=c(b)}for(e&&e(t);d<f.length;d++)r=f[d],b.o(o,r)&&o[r]&&o[r][0](),o[r]=0;return b.O(i)},(n=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).forEach(f.bind(null,0)),n.push=f.bind(null,n.push.bind(n)),b.ruid="[email protected]"})();
\ No newline at end of file
diff --git a/docs/docs.html b/docs/docs.html
index 575fa048..0f604963 100644
--- a/docs/docs.html
+++ b/docs/docs.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/installation" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Installation | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Installation | Mercury"/><meta data-rh=true name=description content="Mercury requires Node.js 20+. Install with npm:"/><meta data-rh=true property=og:description content="Mercury requires Node.js 20+. Install with npm:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/","name":"Installation","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/installation" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Installation | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Installation | Mercury"/><meta data-rh=true name=description content="Mercury requires Node.js 20+. Install with npm:"/><meta data-rh=true property=og:description content="Mercury requires Node.js 20+. Install with npm:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/","name":"Installation","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Installation</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Installation</h1></header><p>Mercury requires <strong>Node.js 20+</strong>. Install with npm:</p>
@@ -16,6 +16,4 @@
<li class=""><strong>Installs</strong> the latest version globally</li>
<li class=""><strong>Shows</strong> the before/after version comparison</li>
</ul>
-<p>:::tip ENOTEMPTY fix
-If you see <code>ENOTEMPTY: directory not empty, rename</code> when running <code>npm i -g</code> manually, use <code>mercury upgrade</code> instead — it removes the old package directory before installing the new one.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/installation.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--next" href=/docs/getting-started/setup><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>First-Time Setup</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#upgrade class="table-of-contents__link toc-highlight">Upgrade</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>ENOTEMPTY fix</div><div class=admonitionContent_BuS1><p>If you see <code>ENOTEMPTY: directory not empty, rename</code> when running <code>npm i -g</code> manually, use <code>mercury upgrade</code> instead — it removes the old package directory before installing the new one.</div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/installation.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--next" href=/docs/getting-started/setup><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>First-Time Setup</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#upgrade class="table-of-contents__link toc-highlight">Upgrade</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/cli-commands/cli-commands.html b/docs/docs/cli-commands/cli-commands.html
index 987bd1fa..e1942138 100644
--- a/docs/docs/cli-commands/cli-commands.html
+++ b/docs/docs/cli-commands/cli-commands.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/cli-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Full Command Reference | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Full Command Reference | Mercury"/><meta data-rh=true name=description content="| Command | Description |"/><meta data-rh=true property=og:description content="| Command | Description |"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/cli-commands","name":"Full Command Reference","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/cli-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Full Command Reference | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Full Command Reference | Mercury"/><meta data-rh=true name=description content="| Command | Description |"/><meta data-rh=true property=og:description content="| Command | Description |"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/cli-commands","name":"Full Command Reference","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Full Command Reference</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Full Command Reference</h1></header><table><thead><tr><th>Command<th>Description<tbody><tr><td><code>mercury up</code><td><strong>Recommended.</strong> Install service + start daemon + ensure running<tr><td><code>mercury</code><td>Start the agent (same as <code>mercury start</code>)<tr><td><code>mercury start</code><td>Start as background daemon (default)<tr><td><code>mercury start --foreground</code><td>Start in foreground (interactive) mode. Shorthand: <code>-f</code><tr><td><code>mercury restart</code><td>Restart a background Mercury process<tr><td><code>mercury stop</code><td>Stop a background Mercury process<tr><td><code>mercury logs</code><td>Show last 100 lines of daemon logs<tr><td><code>mercury status</code><td>Show config, providers, daemon PID, and budget<tr><td><code>mercury doctor</code><td>Reconfigure settings — press Enter to keep current values<tr><td><code>mercury doctor --platform</code><td>Show cross-platform terminal/daemon compatibility diagnostics<tr><td><code>mercury setup</code><td>Re-run the setup wizard (same as doctor)<tr><td><code>mercury help</code><td>Show the full manual (tools, commands, config paths)<tr><td><code>mercury service install</code><td>Install as system service (auto-start on boot)<tr><td><code>mercury service uninstall</code><td>Uninstall the system service<tr><td><code>mercury service status</code><td>Show system service status<tr><td><code>mercury --verbose</code><td>Start with debug logging on stderr</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/commands.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/getting-started/starting><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Starting Mercury</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/cli-commands/doctor><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Doctor (Reconfigure)</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/cli-commands/doctor.html b/docs/docs/cli-commands/doctor.html
index 31dc7d8c..93167984 100644
--- a/docs/docs/cli-commands/doctor.html
+++ b/docs/docs/cli-commands/doctor.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/doctor" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Doctor (Reconfigure) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Doctor (Reconfigure) | Mercury"/><meta data-rh=true name=description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><meta data-rh=true property=og:description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/doctor","name":"Doctor (Reconfigure)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/doctor" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Doctor (Reconfigure) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Doctor (Reconfigure) | Mercury"/><meta data-rh=true name=description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><meta data-rh=true property=og:description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/doctor","name":"Doctor (Reconfigure)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Doctor (Reconfigure)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Doctor (Reconfigure)</h1></header><p><code>mercury doctor</code> re-runs the setup wizard with your current values pre-filled. Press <strong>Enter</strong> on any field to keep it unchanged, or type a new value to replace it.</p>
diff --git a/docs/docs/cli-commands/in-chat-commands.html b/docs/docs/cli-commands/in-chat-commands.html
index 2b781223..4b6732f4 100644
--- a/docs/docs/cli-commands/in-chat-commands.html
+++ b/docs/docs/cli-commands/in-chat-commands.html
@@ -1,8 +1,40 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/in-chat-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>In-Chat Commands | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="In-Chat Commands | Mercury"/><meta data-rh=true name=description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><meta data-rh=true property=og:description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands","name":"In-Chat Commands","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/in-chat-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>In-Chat Commands | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="In-Chat Commands | Mercury"/><meta data-rh=true name=description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><meta data-rh=true property=og:description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands","name":"In-Chat Commands","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>In-Chat Commands</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>In-Chat Commands</h1></header><p>Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They <strong>do not consume API tokens</strong>.</p>
-<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/help</code><td>Show the full manual<tr><td><code>/status</code><td>Show agent name, provider, budget, and channels<tr><td><code>/</code> or <code>/menu</code><td>CLI only: open the arrow-key command picker with Back and Exit options<tr><td><code>/telegram</code><td>CLI only: open Telegram management with pending requests, approvals, roles, and reset actions<tr><td><code>/telegram pending</code><td>CLI only: list pending Telegram access requests<tr><td><code>/telegram users</code><td>CLI only: list approved Telegram admins and members<tr><td><code>/telegram approve &lt;code|id></code><td>CLI only: approve the first pairing code or a later Telegram access request<tr><td><code>/telegram reject &lt;id></code><td>CLI only: reject a pending Telegram access request<tr><td><code>/telegram remove &lt;id></code><td>CLI only: revoke an approved Telegram user<tr><td><code>/telegram promote &lt;id></code><td>CLI only: promote a Telegram member to admin<tr><td><code>/telegram demote &lt;id></code><td>CLI only: demote a Telegram admin to member<tr><td><code>/telegram reset</code><td>CLI only: clear all Telegram access and restart pairing from scratch<tr><td><code>/tools</code><td>List all currently loaded tools<tr><td><code>/skills</code><td>List installed skills<tr><td><code>/stream</code><td>Toggle Telegram text streaming (on/off)<tr><td><code>/stream off</code><td>Disable streaming — responses arrive as single message<tr><td><code>/budget</code><td>Show token budget status<tr><td><code>/budget override</code><td>Override budget for one request<tr><td><code>/budget reset</code><td>Reset usage to zero<tr><td><code>/budget set &lt;n></code><td>Change daily token budget<tr><td><code>/permissions</code><td>Change permission mode (Ask Me / Allow All) — Telegram only<tr><td><code>/models</code><td>List configured models/providers and switch active model for this session<tr><td><code>/models use &lt;provider></code><td>Switch the current session model/provider<tr><td><code>/models doctor</code><td>Show how to add/configure models via <code>mercury doctor</code><tr><td><code>/view</code><td>Toggle progress view (balanced/detailed)<tr><td><code>/view balanced</code><td>Set compact progress view<tr><td><code>/view detailed</code><td>Set full progress view<tr><td><code>/code agent &lt;task></code><td>Delegate a coding task to a sub-agent in the background<tr><td><code>/ws exit</code><td>Exit workspace IDE mode back to general chat<tr><td><code>/bg &lt;command></code><td>Run a shell command in the background<tr><td><code>/bg: &lt;task></code><td>Run a natural-language sub-agent task in background<tr><td><code>/bg current</code><td>Move the current in-flight task to background<tr><td><code>/bg list</code><td>Show background tasks<tr><td><code>/bg &lt;id></code><td>Show details/output for one background task<tr><td><code>/bg cancel &lt;id></code><td>Cancel a running background task<tr><td><code>/bg clear</code><td>Prune completed background tasks<tr><td><code>/tasks</code><td>List scheduled tasks<tr><td><code>/memory</code><td>View and manage second brain memory<tr><td><code>/unpair</code><td>Telegram only: reset all access, new users can /start again</table>
-<p>:::info Telegram pairing and access
-Telegram stays private 1:1 only. The first user sends <code>/start</code>, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send <code>/start</code>, appear as pending requests, and can then be approved or rejected from the CLI <code>/telegram</code> menu.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/doctor><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Doctor (Reconfigure)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/daemon-mode><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Daemon Mode</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>In-Chat Commands</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>In-Chat Commands</h1></header><p>Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They <strong>do not consume API tokens</strong>.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=general>General<a href=#general class=hash-link aria-label="Direct link to General" title="Direct link to General" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/help</code><td>Show the full manual (Telegram gets a Telegram-specific version)<tr><td><code>/status</code><td>Show agent name, provider, budget, and channels<tr><td><code>/progress</code><td>Show live status for the current long-running task<tr><td><code>/</code> or <code>/menu</code><td>CLI only: open the arrow-key command picker<tr><td><code>/permissions</code><td>Change permission mode (Ask Me / Allow All)<tr><td><code>/models</code><td>List configured models/providers for this session<tr><td><code>/models use &lt;provider></code><td>Switch the current session model/provider<tr><td><code>/tools</code><td>List all currently loaded tools<tr><td><code>/skills</code><td>List installed skills<tr><td><code>/memory</code><td>View and manage second brain memory<tr><td><code>/tasks</code><td>List scheduled tasks<tr><td><code>/stream</code><td>Toggle Telegram text streaming (on/off)<tr><td><code>/stream on</code><td>Enable streaming (live text updates)<tr><td><code>/stream off</code><td>Disable streaming — responses arrive as single message</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=budget>Budget<a href=#budget class=hash-link aria-label="Direct link to Budget" title="Direct link to Budget" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/budget</code><td>Show token budget status<tr><td><code>/budget override</code><td>Override budget for one request<tr><td><code>/budget reset</code><td>Reset usage to zero<tr><td><code>/budget set &lt;n></code><td>Change daily token budget</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=programming-mode>Programming Mode<a href=#programming-mode class=hash-link aria-label="Direct link to Programming Mode" title="Direct link to Programming Mode" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/code</code><td>Show current programming mode<tr><td><code>/code plan</code><td>Switch to plan mode (analyze and present options, no coding)<tr><td><code>/code execute</code><td>Switch to execute mode (implement step by step)<tr><td><code>/code build</code><td>Alias for execute mode<tr><td><code>/code off</code><td>Exit programming mode<tr><td><code>/code toggle</code><td>Cycle through: off → plan → execute → off<tr><td><code>/code agent &lt;task></code><td>Delegate a coding task to a sub-agent in the background<tr><td><code>/code workspace</code><td>CLI only: open current directory in workspace IDE mode</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=workspace-ide-cli-only>Workspace IDE (CLI Only)<a href=#workspace-ide-cli-only class=hash-link aria-label="Direct link to Workspace IDE (CLI Only)" title="Direct link to Workspace IDE (CLI Only)" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/ws</code><td>Show workspace commands<tr><td><code>/ws open &lt;path></code><td>Open a directory in workspace IDE mode<tr><td><code>/ws exit</code><td>Exit workspace IDE mode back to general chat<tr><td><code>/ws refresh</code><td>Refresh file tree and git status panel<tr><td><code>/ws stage &lt;file|all></code><td>Stage a file or all changes<tr><td><code>/ws commit &lt;message></code><td>Commit staged changes<tr><td><code>/ws undo &lt;file></code><td>Revert file changes with <code>git checkout</code><tr><td><code>/ws help</code><td>Show workspace command list</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=sub-agents>Sub-Agents<a href=#sub-agents class=hash-link aria-label="Direct link to Sub-Agents" title="Direct link to Sub-Agents" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/agents</code><td>List all sub-agents and their status<tr><td><code>/agents stop &lt;id|all></code><td>Stop a sub-agent or all sub-agents<tr><td><code>/agents pause &lt;id></code><td>Pause a running sub-agent<tr><td><code>/agents resume &lt;id></code><td>Resume a paused sub-agent<tr><td><code>/agents config</code><td>Show sub-agent resource allocation<tr><td><code>/agents set max &lt;n></code><td>Set max concurrent sub-agents</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=background-tasks>Background Tasks<a href=#background-tasks class=hash-link aria-label="Direct link to Background Tasks" title="Direct link to Background Tasks" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/bg &lt;command></code><td>Run a shell command in the background<tr><td><code>/bg: &lt;task></code><td>Run a natural-language sub-agent task in background<tr><td><code>/bg current</code><td>Move the current in-flight task to background<tr><td><code>/bg list</code><td>Show background tasks<tr><td><code>/bg &lt;id></code><td>Show details/output for one background task<tr><td><code>/bg cancel &lt;id></code><td>Cancel a running background task<tr><td><code>/bg stop &lt;id></code><td>Alias for <code>/bg cancel</code><tr><td><code>/bg killall</code><td>Cancel all running background tasks<tr><td><code>/bg clear</code><td>Prune completed background tasks</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=spotify>Spotify<a href=#spotify class=hash-link aria-label="Direct link to Spotify" title="Direct link to Spotify" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/spotify</code><td>Show Spotify connection status<tr><td><code>/spotify auth</code><td>Connect Spotify (browser or manual code flow)<tr><td><code>/spotify code &lt;code></code><td>Complete auth with a pasted authorization code<tr><td><code>/spotify player</code><td>CLI only: interactive music player with arrow-key controls<tr><td><code>/spotify devices</code><td>List available Spotify devices<tr><td><code>/spotify device &lt;id></code><td>Set active Spotify device<tr><td><code>/spotify now</code><td>Show what is currently playing<tr><td><code>/spotify logout</code><td>Disconnect Spotify and clear saved tokens</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=emergency-controls>Emergency Controls<a href=#emergency-controls class=hash-link aria-label="Direct link to Emergency Controls" title="Direct link to Emergency Controls" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/halt</code><td>Emergency: stop all agents and clear the task queue<tr><td><code>/stop</code><td>Stop all agents, clear queue, release file locks, clear task board<tr><td><code>/reset</code><td>Full reset: stop all + clear conversation context (requires confirmation)</table>
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>Fast-path commands</div><div class=admonitionContent_BuS1><p><code>/agents</code>, <code>/halt</code>, <code>/stop</code>, <code>/progress</code>, <code>/spotify</code>, <code>/code</code>, <code>/memory</code>, and <code>/bg</code> all work <strong>even while Mercury is busy processing a task</strong>. They're processed immediately without waiting for the current task to finish.</div></div>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=progress-view-cli-only>Progress View (CLI Only)<a href=#progress-view-cli-only class=hash-link aria-label="Direct link to Progress View (CLI Only)" title="Direct link to Progress View (CLI Only)" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/view</code><td>Toggle progress view (balanced/detailed)<tr><td><code>/view balanced</code><td>Show last 5 tool steps, compact format<tr><td><code>/view detailed</code><td>Show last 20 tool steps, full format</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=telegram-management-cli-only>Telegram Management (CLI Only)<a href=#telegram-management-cli-only class=hash-link aria-label="Direct link to Telegram Management (CLI Only)" title="Direct link to Telegram Management (CLI Only)" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/telegram</code><td>Open Telegram management menu<tr><td><code>/telegram pending</code><td>List pending Telegram access requests<tr><td><code>/telegram users</code><td>List approved Telegram admins and members<tr><td><code>/telegram approve &lt;code|id></code><td>Approve a pairing code or access request<tr><td><code>/telegram reject &lt;id></code><td>Reject a pending Telegram access request<tr><td><code>/telegram remove &lt;id></code><td>Revoke an approved Telegram user<tr><td><code>/telegram promote &lt;id></code><td>Promote a Telegram member to admin<tr><td><code>/telegram demote &lt;id></code><td>Demote a Telegram admin to member<tr><td><code>/telegram reset</code><td>Clear all Telegram access and restart pairing</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=telegram-only-commands>Telegram-Only Commands<a href=#telegram-only-commands class=hash-link aria-label="Direct link to Telegram-Only Commands" title="Direct link to Telegram-Only Commands" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/start</code> or <code>/pair</code><td>Request access (new users) or check status (approved users)<tr><td><code>/unpair</code><td>Admin only: reset all Telegram access for this instance</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=keyboard-shortcuts-cli>Keyboard Shortcuts (CLI)<a href=#keyboard-shortcuts-cli class=hash-link aria-label="Direct link to Keyboard Shortcuts (CLI)" title="Direct link to Keyboard Shortcuts (CLI)" translate=no>​</a></h2>
+<p>These shortcuts work in the CLI terminal interface:</p>
+<table><thead><tr><th>Shortcut<th>Description<tbody><tr><td><code>Ctrl+C</code><td>Exit Mercury<tr><td><code>Ctrl+T</code><td>Toggle progress view (balanced/detailed)<tr><td><code>Ctrl+B</code><td>Show background tasks (or move current task to background if busy)<tr><td><code>Ctrl+N</code><td>Insert newline (multi-line input)<tr><td><code>Ctrl+P</code><td>Switch to code plan mode (in coding/workspace mode)<tr><td><code>Ctrl+X</code><td>Switch to code execute mode (in coding/workspace mode)</table>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=slash-command-autocomplete>Slash Command Autocomplete<a href=#slash-command-autocomplete class=hash-link aria-label="Direct link to Slash Command Autocomplete" title="Direct link to Slash Command Autocomplete" translate=no>​</a></h3>
+<p>When you type <code>/</code> in the CLI, an autocomplete popup appears with matching commands:</p>
+<ul>
+<li class=""><strong>Up/Down arrows</strong> — navigate through suggestions</li>
+<li class=""><strong>Tab</strong> or <strong>Enter</strong> — fill the selected suggestion into the input</li>
+<li class=""><strong>Enter</strong> (when input matches a command) — submit the command</li>
+</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=workspace-ide-shortcuts>Workspace IDE Shortcuts<a href=#workspace-ide-shortcuts class=hash-link aria-label="Direct link to Workspace IDE Shortcuts" title="Direct link to Workspace IDE Shortcuts" translate=no>​</a></h3>
+<table><thead><tr><th>Shortcut<th>Description<tbody><tr><td><code>Esc</code> / <code>Ctrl+Q</code><td>Exit workspace (from explorer) or return to explorer<tr><td><code>Ctrl+E</code><td>Focus explorer panel<tr><td><code>Ctrl+G</code><td>Focus git panel<tr><td><code>Ctrl+J</code><td>Toggle chat panel<tr><td><code>Tab</code><td>Cycle focus: explorer → code → right panel<tr><td><code>Arrow keys</code><td>Navigate file tree / scroll panels<tr><td><code>Enter</code><td>Open selected file<tr><td><code>Ctrl+U</code> / <code>Ctrl+D</code><td>Scroll up/down by 8-10 lines<tr><td><code>PageUp</code> / <code>PageDown</code><td>Scroll by 15 lines</table>
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>Telegram pairing and access</div><div class=admonitionContent_BuS1><p>Telegram stays private 1:1 only. The first user sends <code>/start</code>, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send <code>/start</code>, appear as pending requests, and can then be approved or rejected from the CLI <code>/telegram</code> menu.</div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/doctor><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Doctor (Reconfigure)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/daemon-mode><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Daemon Mode</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#general class="table-of-contents__link toc-highlight">General</a><li><a href=#budget class="table-of-contents__link toc-highlight">Budget</a><li><a href=#programming-mode class="table-of-contents__link toc-highlight">Programming Mode</a><li><a href=#workspace-ide-cli-only class="table-of-contents__link toc-highlight">Workspace IDE (CLI Only)</a><li><a href=#sub-agents class="table-of-contents__link toc-highlight">Sub-Agents</a><li><a href=#background-tasks class="table-of-contents__link toc-highlight">Background Tasks</a><li><a href=#spotify class="table-of-contents__link toc-highlight">Spotify</a><li><a href=#emergency-controls class="table-of-contents__link toc-highlight">Emergency Controls</a><li><a href=#progress-view-cli-only class="table-of-contents__link toc-highlight">Progress View (CLI Only)</a><li><a href=#telegram-management-cli-only class="table-of-contents__link toc-highlight">Telegram Management (CLI Only)</a><li><a href=#telegram-only-commands class="table-of-contents__link toc-highlight">Telegram-Only Commands</a><li><a href=#keyboard-shortcuts-cli class="table-of-contents__link toc-highlight">Keyboard Shortcuts (CLI)</a><ul><li><a href=#slash-command-autocomplete class="table-of-contents__link toc-highlight">Slash Command Autocomplete</a><li><a href=#workspace-ide-shortcuts class="table-of-contents__link toc-highlight">Workspace IDE Shortcuts</a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/daemon-mode/daemon-mode.html b/docs/docs/daemon-mode/daemon-mode.html
index 96fb2c93..ad1cc6c2 100644
--- a/docs/docs/daemon-mode/daemon-mode.html
+++ b/docs/docs/daemon-mode/daemon-mode.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/daemon-mode" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Daemon Mode | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Daemon Mode | Mercury"/><meta data-rh=true name=description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><meta data-rh=true property=og:description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode","name":"Daemon Mode","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/daemon-mode" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Daemon Mode | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Daemon Mode | Mercury"/><meta data-rh=true name=description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><meta data-rh=true property=og:description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode","name":"Daemon Mode","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Daemon Mode</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Daemon Mode</h1></header><p>Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.</p>
@@ -23,16 +23,17 @@
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=check-status>Check status<a href=#check-status class=hash-link aria-label="Direct link to Check status" title="Direct link to Check status" translate=no>​</a></h2>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury status</span><br/></div></code></pre></div></div>
<p>Shows whether the daemon is running, its PID, and the log file path.</p>
-<p>:::info Crash recovery
-Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.
-:::</p>
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>Crash recovery</div><div class=admonitionContent_BuS1><p>Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.</div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=background-tasks-and-workers>Background Tasks and Workers<a href=#background-tasks-and-workers class=hash-link aria-label="Direct link to Background Tasks and Workers" title="Direct link to Background Tasks and Workers" translate=no>​</a></h2>
<p>Daemon mode supports async background execution for both shell commands and delegated sub-agent work.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=task-ids>Task IDs<a href=#task-ids class=hash-link aria-label="Direct link to Task IDs" title="Direct link to Task IDs" translate=no>​</a></h3>
+<p>Background tasks use human-friendly IDs like <code>swift-fox</code>, <code>calm-owl</code>, or <code>bright-heron</code> instead of opaque timestamps. There are 2,304 unique combinations (48 adjectives × 48 nouns). If a collision occurs, a numeric suffix is appended.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=shell-background-tasks>Shell background tasks<a href=#shell-background-tasks class=hash-link aria-label="Direct link to Shell background tasks" title="Direct link to Shell background tasks" translate=no>​</a></h3>
<ul>
<li class="">Start with <code>/bg &lt;command></code></li>
<li class="">Inspect with <code>/bg list</code> and <code>/bg &lt;id></code></li>
-<li class="">Cancel with <code>/bg cancel &lt;id></code></li>
+<li class="">Cancel with <code>/bg cancel &lt;id></code> (or <code>/bg stop &lt;id></code>, <code>/bg kill &lt;id></code>)</li>
+<li class="">Cancel all running tasks with <code>/bg killall</code> (or <code>/bg stopall</code>)</li>
</ul>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=sub-agent-workers>Sub-agent workers<a href=#sub-agent-workers class=hash-link aria-label="Direct link to Sub-agent workers" title="Direct link to Sub-agent workers" translate=no>​</a></h3>
<ul>
@@ -40,4 +41,6 @@ Background mode includes a watchdog. If Mercury crashes, it restarts automatical
<li class="">Move active task to worker with <code>/bg current</code></li>
<li class="">Worker progress/completion is surfaced in the shared background task board (<code>/bg list</code>)</li>
</ul>
-<p>These workers are designed to keep Mercury responsive while long-running work continues.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/in-chat-commands><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>In-Chat Commands</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/system-service><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>System Service (Auto-Start on Boot)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#start class="table-of-contents__link toc-highlight">Start</a><li><a href=#start-in-foreground class="table-of-contents__link toc-highlight">Start in foreground</a><li><a href=#the-easy-way-mercury-up class="table-of-contents__link toc-highlight">The easy way: mercury up</a><li><a href=#stop class="table-of-contents__link toc-highlight">Stop</a><li><a href=#restart class="table-of-contents__link toc-highlight">Restart</a><li><a href=#view-logs class="table-of-contents__link toc-highlight">View logs</a><li><a href=#check-status class="table-of-contents__link toc-highlight">Check status</a><li><a href=#background-tasks-and-workers class="table-of-contents__link toc-highlight">Background Tasks and Workers</a><ul><li><a href=#shell-background-tasks class="table-of-contents__link toc-highlight">Shell background tasks</a><li><a href=#sub-agent-workers class="table-of-contents__link toc-highlight">Sub-agent workers</a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=persistence>Persistence<a href=#persistence class=hash-link aria-label="Direct link to Persistence" title="Direct link to Persistence" translate=no>​</a></h3>
+<p>Background tasks are persisted to disk and survive daemon restarts. Running tasks that were interrupted by a restart are marked as failed.</p>
+<p>These workers are designed to keep Mercury responsive while long-running work continues.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/in-chat-commands><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>In-Chat Commands</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/system-service><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>System Service (Auto-Start on Boot)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#start class="table-of-contents__link toc-highlight">Start</a><li><a href=#start-in-foreground class="table-of-contents__link toc-highlight">Start in foreground</a><li><a href=#the-easy-way-mercury-up class="table-of-contents__link toc-highlight">The easy way: mercury up</a><li><a href=#stop class="table-of-contents__link toc-highlight">Stop</a><li><a href=#restart class="table-of-contents__link toc-highlight">Restart</a><li><a href=#view-logs class="table-of-contents__link toc-highlight">View logs</a><li><a href=#check-status class="table-of-contents__link toc-highlight">Check status</a><li><a href=#background-tasks-and-workers class="table-of-contents__link toc-highlight">Background Tasks and Workers</a><ul><li><a href=#task-ids class="table-of-contents__link toc-highlight">Task IDs</a><li><a href=#shell-background-tasks class="table-of-contents__link toc-highlight">Shell background tasks</a><li><a href=#sub-agent-workers class="table-of-contents__link toc-highlight">Sub-agent workers</a><li><a href=#persistence class="table-of-contents__link toc-highlight">Persistence</a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/daemon-mode/platform-guide.html b/docs/docs/daemon-mode/platform-guide.html
index 3f2a1102..bc4da1fb 100644
--- a/docs/docs/daemon-mode/platform-guide.html
+++ b/docs/docs/daemon-mode/platform-guide.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/platform-guide" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Platform-Specific Guide | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Platform-Specific Guide | Mercury"/><meta data-rh=true name=description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><meta data-rh=true property=og:description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide","name":"Platform-Specific Guide","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/platform-guide" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Platform-Specific Guide | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Platform-Specific Guide | Mercury"/><meta data-rh=true name=description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><meta data-rh=true property=og:description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide","name":"Platform-Specific Guide","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Platform-Specific Guide</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Platform-Specific Guide</h1></header><div class="theme-tabs-container tabs-container tabList__CuJ"><ul role=tablist aria-orientation=horizontal class=tabs><li role=tab tabindex=0 aria-selected=true class="tabs__item tabItem_LNqP tabs__item--active">macOS<li role=tab tabindex=-1 aria-selected=false class="tabs__item tabItem_LNqP">Linux<li role=tab tabindex=-1 aria-selected=false class="tabs__item tabItem_LNqP">Windows</ul><div class=margin-top--md><div role=tabpanel class=tabItem_Ymn6><p><code>mercury service install</code> creates a LaunchAgent at <code>~/Library/LaunchAgents/com.cosmicstack.mercury.plist</code>.<ul>
diff --git a/docs/docs/daemon-mode/system-service.html b/docs/docs/daemon-mode/system-service.html
index 8cf8f33b..30f0eb6b 100644
--- a/docs/docs/daemon-mode/system-service.html
+++ b/docs/docs/daemon-mode/system-service.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/system-service" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>System Service (Auto-Start on Boot) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="System Service (Auto-Start on Boot) | Mercury"/><meta data-rh=true name=description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><meta data-rh=true property=og:description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/system-service","name":"System Service (Auto-Start on Boot)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/system-service" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>System Service (Auto-Start on Boot) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="System Service (Auto-Start on Boot) | Mercury"/><meta data-rh=true name=description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><meta data-rh=true property=og:description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/system-service","name":"System Service (Auto-Start on Boot)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>System Service (Auto-Start on Boot)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>System Service (Auto-Start on Boot)</h1></header><p>Install Mercury as a system service so it starts automatically on boot and restarts on crash.</p>
diff --git a/docs/docs/getting-started/setup.html b/docs/docs/getting-started/setup.html
index 3fbe9f02..d4f9f628 100644
--- a/docs/docs/getting-started/setup.html
+++ b/docs/docs/getting-started/setup.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/setup" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>First-Time Setup | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/setup /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="First-Time Setup | Mercury"/><meta data-rh=true name=description content="Run mercury for the first time. The onboarding wizard asks for:"/><meta data-rh=true property=og:description content="Run mercury for the first time. The onboarding wizard asks for:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/setup /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/setup","name":"First-Time Setup","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/setup" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>First-Time Setup | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/setup /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="First-Time Setup | Mercury"/><meta data-rh=true name=description content="Run mercury for the first time. The onboarding wizard asks for:"/><meta data-rh=true property=og:description content="Run mercury for the first time. The onboarding wizard asks for:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/setup /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/setup","name":"First-Time Setup","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>First-Time Setup</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>First-Time Setup</h1></header><p>Run <code>mercury</code> for the first time. The onboarding wizard asks for:</p>
@@ -12,6 +12,4 @@
<p>Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text.</p>
<p>If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send <code>/start</code> to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup.</p>
<p>All config is stored in <code>~/.mercury/</code> — nothing in your project directory.</p>
-<p>:::info Masked keys
-When reconfiguring with <code>mercury doctor</code>, existing API keys are shown masked like <code>sk-x••••4f2a</code>. Press Enter to keep the current value, or paste a new key to replace it.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/setup.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Installation</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/getting-started/starting><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Starting Mercury</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>Masked keys</div><div class=admonitionContent_BuS1><p>When reconfiguring with <code>mercury doctor</code>, existing API keys are shown masked like <code>sk-x••••4f2a</code>. Press Enter to keep the current value, or paste a new key to replace it.</div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/setup.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Installation</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/getting-started/starting><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Starting Mercury</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/getting-started/starting.html b/docs/docs/getting-started/starting.html
index ae29c91e..5a200225 100644
--- a/docs/docs/getting-started/starting.html
+++ b/docs/docs/getting-started/starting.html
@@ -1,9 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/starting" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Starting Mercury | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/starting /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Starting Mercury | Mercury"/><meta data-rh=true name=description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><meta data-rh=true property=og:description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/starting /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/starting","name":"Starting Mercury","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/starting" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Starting Mercury | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/starting /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Starting Mercury | Mercury"/><meta data-rh=true name=description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><meta data-rh=true property=og:description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/starting /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/starting","name":"Starting Mercury","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Starting Mercury</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Starting Mercury</h1></header><p>:::tip Recommended: mercury up
-The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.
-:::</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Starting Mercury</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Starting Mercury</h1></header><div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>Recommended: mercury up</div><div class=admonitionContent_BuS1><p>The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.</div></div>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury up</span><br/></div></code></pre></div></div>
<p>If Mercury is already running, <code>mercury up</code> just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=start-background-daemon>Start (background daemon)<a href=#start-background-daemon class=hash-link aria-label="Direct link to Start (background daemon)" title="Direct link to Start (background daemon)" translate=no>​</a></h2>
diff --git a/docs/docs/integrations/coding-workspace.html b/docs/docs/integrations/coding-workspace.html
index 5ccfb4e5..17ac021f 100644
--- a/docs/docs/integrations/coding-workspace.html
+++ b/docs/docs/integrations/coding-workspace.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/coding-workspace" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Coding Workspace (IDE Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/coding-workspace /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Coding Workspace (IDE Mode) | Mercury"/><meta data-rh=true name=description content="Mercury includes a CLI IDE-style workspace mode for repository-focused coding."/><meta data-rh=true property=og:description content="Mercury includes a CLI IDE-style workspace mode for repository-focused coding."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/coding-workspace","name":"Coding Workspace (IDE Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/coding-workspace" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Coding Workspace (IDE Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/coding-workspace /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Coding Workspace (IDE Mode) | Mercury"/><meta data-rh=true name=description content="Mercury includes a CLI IDE-style workspace mode for repository-focused coding."/><meta data-rh=true property=og:description content="Mercury includes a CLI IDE-style workspace mode for repository-focused coding."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/coding-workspace","name":"Coding Workspace (IDE Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Coding Workspace (IDE Mode)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Coding Workspace (IDE Mode)</h1></header><p>Mercury includes a CLI IDE-style workspace mode for repository-focused coding.</p>
@@ -9,7 +9,7 @@
<li class=""><code>/code workspace</code></li>
<li class=""><code>/ws open &lt;path></code></li>
</ul>
-<p>Once active, Mercury switches to coding context for that repository.</p>
+<p>Once active, Mercury switches to coding context for that repository. Agent responses appear in the normal scrollable chat view so you can always see full output.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=modes>Modes<a href=#modes class=hash-link aria-label="Direct link to Modes" title="Direct link to Modes" translate=no>​</a></h2>
<p>Use programming modes to control behavior:</p>
<ul>
@@ -17,23 +17,29 @@
<li class=""><code>/code execute</code> — implementation mode</li>
<li class=""><code>/code off</code> — return to normal conversation behavior</li>
</ul>
-<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=keyboard-shortcuts-cli>Keyboard shortcuts (CLI)<a href=#keyboard-shortcuts-cli class=hash-link aria-label="Direct link to Keyboard shortcuts (CLI)" title="Direct link to Keyboard shortcuts (CLI)" translate=no>​</a></h3>
-<ul>
-<li class=""><code>Ctrl+P</code> → Plan mode</li>
-<li class=""><code>Ctrl+X</code> → Execute mode</li>
-<li class=""><code>Esc</code> or <code>Ctrl+Q</code> → Exit workspace back to chat</li>
-<li class=""><code>Ctrl+E</code> → Explorer pane</li>
-<li class=""><code>Ctrl+G</code> → Git pane</li>
-</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=keyboard-shortcuts>Keyboard Shortcuts<a href=#keyboard-shortcuts class=hash-link aria-label="Direct link to Keyboard Shortcuts" title="Direct link to Keyboard Shortcuts" translate=no>​</a></h3>
+<table><thead><tr><th>Shortcut<th>Action<tbody><tr><td><code>Ctrl+P</code><td>Plan mode<tr><td><code>Ctrl+X</code><td>Execute mode<tr><td><code>Ctrl+E</code><td>Focus explorer pane<tr><td><code>Ctrl+G</code><td>Focus git pane<tr><td><code>Ctrl+J</code><td>Toggle right panel between chat and git<tr><td><code>Tab</code><td>Cycle focus: explorer → code → right panel<tr><td><code>Esc</code><td>Return to explorer (or exit workspace from explorer)<tr><td><code>Ctrl+Q</code><td>Exit workspace<tr><td><code>Shift+Enter</code><td>Insert newline (multi-line input)<tr><td><code>Alt+Enter</code><td>Insert newline (fallback for terminals that don't distinguish Shift+Enter)</table>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=navigation-when-input-is-empty>Navigation (when input is empty)<a href=#navigation-when-input-is-empty class=hash-link aria-label="Direct link to Navigation (when input is empty)" title="Direct link to Navigation (when input is empty)" translate=no>​</a></h3>
+<table><thead><tr><th>Focus<th>Keys<th>Action<tbody><tr><td>Explorer<td><code>↑</code> <code>↓</code><td>Move selection<tr><td>Explorer<td><code>←</code> <code>→</code><td>Collapse / expand folder<tr><td>Explorer<td><code>Enter</code><td>Open selected file<tr><td>Code<td><code>↑</code> <code>↓</code><td>Scroll code ±1 line<tr><td>Code<td><code>PgUp</code> <code>PgDn</code><td>Scroll code ±15 lines<tr><td>Code<td><code>Ctrl+U</code> <code>Ctrl+D</code><td>Scroll code ±10 lines (vim-style)<tr><td>Chat<td><code>↑</code> <code>↓</code><td>Scroll agent output ±1 line<tr><td>Chat<td><code>PgUp</code> <code>PgDn</code><td>Scroll agent output ±10 lines<tr><td>Chat<td><code>Ctrl+U</code> <code>Ctrl+D</code><td>Scroll agent output ±8 lines<tr><td>Git<td><code>↑</code> <code>↓</code><td>Move through changed files<tr><td>Git<td><code>Enter</code><td>Stage selected file</table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=workspace-commands>Workspace Commands<a href=#workspace-commands class=hash-link aria-label="Direct link to Workspace Commands" title="Direct link to Workspace Commands" translate=no>​</a></h2>
-<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/ws open &lt;path></code><td>Open a directory in workspace mode<tr><td><code>/ws refresh</code><td>Refresh file tree + git status<tr><td><code>/ws stage &lt;file|all></code><td>Stage one file or all changes<tr><td><code>/ws commit &lt;message></code><td>Commit staged changes<tr><td><code>/ws undo &lt;file></code><td>Revert file changes<tr><td><code>/ws exit</code><td>Exit workspace mode back to general chat</table>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/ws open &lt;path></code><td>Open a directory in workspace mode<tr><td><code>/ws refresh</code><td>Refresh file tree + git status<tr><td><code>/ws focus &lt;area></code><td>Focus a panel: <code>explorer</code>, <code>code</code>, <code>git</code>, or <code>chat</code><tr><td><code>/ws stage &lt;file|all></code><td>Stage one file or all changes<tr><td><code>/ws commit &lt;message></code><td>Commit staged changes<tr><td><code>/ws undo &lt;file></code><td>Revert file changes<tr><td><code>/ws toggle-chat</code><td>Toggle right panel between chat and git<tr><td><code>/ws chat-scroll &lt;n></code><td>Scroll agent output by n lines<tr><td><code>/ws exit</code><td>Exit workspace mode back to general chat</table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=sub-agents--background-in-coding>Sub-Agents + Background in Coding<a href=#sub-agents--background-in-coding class=hash-link aria-label="Direct link to Sub-Agents + Background in Coding" title="Direct link to Sub-Agents + Background in Coding" translate=no>​</a></h2>
<p>Workspace mode supports explicit delegation and backgrounding:</p>
<ul>
<li class=""><code>/code agent &lt;task></code> — delegate coding work to a sub-agent</li>
<li class=""><code>/bg current</code> — move active in-flight work to background</li>
<li class=""><code>/bg list</code> — inspect all background tasks (shell + sub-agent)</li>
-<li class=""><code>/bg &lt;id></code> — view task details/output</li>
+<li class=""><code>/bg &lt;id></code> — view task details/output (IDs use friendly names like <code>swift-fox</code>)</li>
<li class=""><code>/bg cancel &lt;id></code> — cancel running background work</li>
+<li class=""><code>/bg stop &lt;id></code> / <code>/bg kill &lt;id></code> — aliases for cancel</li>
+<li class=""><code>/bg killall</code> / <code>/bg stopall</code> — cancel all running background tasks</li>
</ul>
-<p>This lets you continue coding/chatting while long operations run asynchronously.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/coding-workspace.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/spotify><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Spotify Integration</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/sub-agents><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Sub-Agents (Multi-Agent Mode)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#enter-workspace-mode class="table-of-contents__link toc-highlight">Enter Workspace Mode</a><li><a href=#modes class="table-of-contents__link toc-highlight">Modes</a><ul><li><a href=#keyboard-shortcuts-cli class="table-of-contents__link toc-highlight">Keyboard shortcuts (CLI)</a></ul><li><a href=#workspace-commands class="table-of-contents__link toc-highlight">Workspace Commands</a><li><a href=#sub-agents--background-in-coding class="table-of-contents__link toc-highlight">Sub-Agents + Background in Coding</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p>This lets you continue coding/chatting while long operations run asynchronously.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=progress-tracking>Progress Tracking<a href=#progress-tracking class=hash-link aria-label="Direct link to Progress Tracking" title="Direct link to Progress Tracking" translate=no>​</a></h2>
+<p>During long-running tasks, Mercury shows real-time progress:</p>
+<ul>
+<li class="">The status bar displays the current tool/action (e.g., <code>● step 5 · ✂️ Editing App.tsx</code>)</li>
+<li class="">Heartbeat messages escalate timing (20s → 30s → 45s → 60s) to reduce noise</li>
+<li class="">Use <code>/progress</code> to see the last 10 completed steps with timing</li>
+<li class="">Consecutive identical tool calls are collapsed (e.g., "Read 3 files")</li>
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/coding-workspace.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/spotify><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Spotify Integration</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/sub-agents><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Sub-Agents (Multi-Agent Mode)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#enter-workspace-mode class="table-of-contents__link toc-highlight">Enter Workspace Mode</a><li><a href=#modes class="table-of-contents__link toc-highlight">Modes</a><ul><li><a href=#keyboard-shortcuts class="table-of-contents__link toc-highlight">Keyboard Shortcuts</a><li><a href=#navigation-when-input-is-empty class="table-of-contents__link toc-highlight">Navigation (when input is empty)</a></ul><li><a href=#workspace-commands class="table-of-contents__link toc-highlight">Workspace Commands</a><li><a href=#sub-agents--background-in-coding class="table-of-contents__link toc-highlight">Sub-Agents + Background in Coding</a><li><a href=#progress-tracking class="table-of-contents__link toc-highlight">Progress Tracking</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/integrations/github-companion.html b/docs/docs/integrations/github-companion.html
index df14c508..d950b85a 100644
--- a/docs/docs/integrations/github-companion.html
+++ b/docs/docs/integrations/github-companion.html
@@ -1,10 +1,8 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/github-companion" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>GitHub Companion | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/github-companion /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="GitHub Companion | Mercury"/><meta data-rh=true name=description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><meta data-rh=true property=og:description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/github-companion /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/github-companion","name":"GitHub Companion","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/github-companion" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>GitHub Companion | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/github-companion /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="GitHub Companion | Mercury"/><meta data-rh=true name=description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><meta data-rh=true property=og:description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/github-companion /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/github-companion","name":"GitHub Companion","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>GitHub Companion</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>GitHub Companion</h1></header><p>Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.</p>
-<p>:::info Conditional availability
-GitHub tools <strong>only appear when <code>GITHUB_TOKEN</code> is configured</strong> via <code>mercury doctor</code>. Without a token, these tools are not registered and won't be available in conversation.
-:::</p>
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>Conditional availability</div><div class=admonitionContent_BuS1><p>GitHub tools <strong>only appear when <code>GITHUB_TOKEN</code> is configured</strong> via <code>mercury doctor</code>. Without a token, these tools are not registered and won't be available in conversation.</div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=why-set-up-github>Why set up GitHub?<a href=#why-set-up-github class=hash-link aria-label="Direct link to Why set up GitHub?" title="Direct link to Why set up GitHub?" translate=no>​</a></h2>
<ul>
<li class=""><strong>Co-authored commits</strong> — Mercury's avatar appears alongside yours on every commit it helps with</li>
@@ -24,9 +22,7 @@ GitHub tools <strong>only appear when <code>GITHUB_TOKEN</code> is configured</s
<p>You can customize the email in <code>~/.mercury/.env</code> by setting <code>GITHUB_EMAIL</code> if you prefer a different co-author address.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=3-github-pat-personal-access-token>3. GitHub PAT (Personal Access Token)<a href=#3-github-pat-personal-access-token class=hash-link aria-label="Direct link to 3. GitHub PAT (Personal Access Token)" title="Direct link to 3. GitHub PAT (Personal Access Token)" translate=no>​</a></h3>
<p>You need a token so Mercury can authenticate with the GitHub API. <strong>Never share this token.</strong> It's stored locally in <code>~/.mercury/.env</code> and never sent anywhere except GitHub's API.</p>
-<p>:::warning Where to create your token</p>
-<p><strong>Fine-grained PAT (recommended):</strong></p>
-<ol>
+<div class="theme-admonition theme-admonition-warning admonition_xJq3 alert alert--warning"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 16 16"><path fill-rule=evenodd d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg></span>Where to create your token</div><div class=admonitionContent_BuS1><p><strong>Fine-grained PAT (recommended):</strong><ol>
<li class="">Go to <a href=https://github.com/settings/personal-access-tokens/new target=_blank rel="noopener noreferrer" class="">github.com/settings/personal-access-tokens/new</a></li>
<li class="">Give it a name (e.g. <code>mercury-agent</code>) and set an expiration</li>
<li class="">Under <strong>Repository access</strong>, select <strong>All repositories</strong> or choose specific repos</li>
@@ -38,15 +34,12 @@ GitHub tools <strong>only appear when <code>GITHUB_TOKEN</code> is configured</s
</ul>
</li>
<li class="">Click <strong>Generate token</strong> and copy it immediately</li>
-</ol>
-<p><strong>Classic PAT:</strong></p>
-<ol>
+</ol><p><strong>Classic PAT:</strong><ol>
<li class="">Go to <a href=https://github.com/settings/tokens/new target=_blank rel="noopener noreferrer" class="">github.com/settings/tokens/new</a></li>
<li class="">Give it a name (e.g. <code>mercury-agent</code>) and set an expiration</li>
<li class="">Select the <strong>repo</strong> scope (full control of private repositories)</li>
-<li class="">Click <strong>Generate token</strong> and copy it immediately
-:::</li>
-</ol>
+<li class="">Click <strong>Generate token</strong> and copy it immediately</li>
+</ol></div></div>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=4-default-repo-optional>4. Default repo (optional)<a href=#4-default-repo-optional class=hash-link aria-label="Direct link to 4. Default repo (optional)" title="Direct link to 4. Default repo (optional)" translate=no>​</a></h3>
<p>Set a default repository so you can say <code>"create an issue"</code> without specifying the repo every time. You can enter it in any of these formats:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">hotheadhacker/mercury-agent</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">https://github.com/hotheadhacker/mercury-agent</span><br/></div></code></pre></div></div>
@@ -58,6 +51,4 @@ GitHub tools <strong>only appear when <code>GITHUB_TOKEN</code> is configured</s
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=co-authored-commits>Co-Authored Commits<a href=#co-authored-commits class=hash-link aria-label="Direct link to Co-Authored Commits" title="Direct link to Co-Authored Commits" translate=no>​</a></h2>
<p>When Mercury commits code using <code>git_commit</code>, it automatically appends a <code>Co-authored-by: Mercury &lt;[email protected]></code> trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history — giving credit where it's due.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=security>Security<a href=#security class=hash-link aria-label="Direct link to Security" title="Direct link to Security" translate=no>​</a></h2>
-<p>:::warning PAT storage
-Your GitHub PAT is stored in <code>~/.mercury/mercury.yaml</code> alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/github-companion.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/daemon-mode/platform-guide><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Platform-Specific Guide</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/telegram><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Telegram</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#why-set-up-github class="table-of-contents__link toc-highlight">Why set up GitHub?</a><li><a href=#setup class="table-of-contents__link toc-highlight">Setup</a><ul><li><a href=#1-github-username class="table-of-contents__link toc-highlight">1. GitHub username</a><li><a href=#2-co-authored-by-automatic class="table-of-contents__link toc-highlight">2. Co-authored-by (automatic)</a><li><a href=#3-github-pat-personal-access-token class="table-of-contents__link toc-highlight">3. GitHub PAT (Personal Access Token)</a><li><a href=#4-default-repo-optional class="table-of-contents__link toc-highlight">4. Default repo (optional)</a></ul><li><a href=#github-tools class="table-of-contents__link toc-highlight">GitHub Tools</a><li><a href=#co-authored-commits class="table-of-contents__link toc-highlight">Co-Authored Commits</a><li><a href=#security class="table-of-contents__link toc-highlight">Security</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<div class="theme-admonition theme-admonition-warning admonition_xJq3 alert alert--warning"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 16 16"><path fill-rule=evenodd d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg></span>PAT storage</div><div class=admonitionContent_BuS1><p>Your GitHub PAT is stored in <code>~/.mercury/mercury.yaml</code> alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised.</div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/github-companion.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/daemon-mode/platform-guide><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Platform-Specific Guide</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/telegram><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Telegram</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#why-set-up-github class="table-of-contents__link toc-highlight">Why set up GitHub?</a><li><a href=#setup class="table-of-contents__link toc-highlight">Setup</a><ul><li><a href=#1-github-username class="table-of-contents__link toc-highlight">1. GitHub username</a><li><a href=#2-co-authored-by-automatic class="table-of-contents__link toc-highlight">2. Co-authored-by (automatic)</a><li><a href=#3-github-pat-personal-access-token class="table-of-contents__link toc-highlight">3. GitHub PAT (Personal Access Token)</a><li><a href=#4-default-repo-optional class="table-of-contents__link toc-highlight">4. Default repo (optional)</a></ul><li><a href=#github-tools class="table-of-contents__link toc-highlight">GitHub Tools</a><li><a href=#co-authored-commits class="table-of-contents__link toc-highlight">Co-Authored Commits</a><li><a href=#security class="table-of-contents__link toc-highlight">Security</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/integrations/spotify.html b/docs/docs/integrations/spotify.html
index 6876a1d0..b9164612 100644
--- a/docs/docs/integrations/spotify.html
+++ b/docs/docs/integrations/spotify.html
@@ -1,10 +1,8 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/spotify" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Spotify Integration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/spotify /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Spotify Integration | Mercury"/><meta data-rh=true name=description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><meta data-rh=true property=og:description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/spotify /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/spotify","name":"Spotify Integration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/spotify" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Spotify Integration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/spotify /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Spotify Integration | Mercury"/><meta data-rh=true name=description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><meta data-rh=true property=og:description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/spotify /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/spotify","name":"Spotify Integration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Spotify Integration</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Spotify Integration</h1></header><p>Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.</p>
-<p>:::info Spotify Premium
-Read-only features (search, top tracks, playlists, now playing) work on <strong>free</strong> Spotify accounts. <strong>Playback control</strong> (play, pause, skip, volume, shuffle, repeat, queue) requires a <strong>Spotify Premium</strong> subscription — this is a Spotify API limitation, not a Mercury restriction.
-:::</p>
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>Spotify Premium</div><div class=admonitionContent_BuS1><p>Read-only features (search, top tracks, playlists, now playing) work on <strong>free</strong> Spotify accounts. <strong>Playback control</strong> (play, pause, skip, volume, shuffle, repeat, queue) requires a <strong>Spotify Premium</strong> subscription — this is a Spotify API limitation, not a Mercury restriction.</div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=setup>Setup<a href=#setup class=hash-link aria-label="Direct link to Setup" title="Direct link to Setup" translate=no>​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=step-1-create-a-spotify-developer-app>Step 1: Create a Spotify Developer App<a href=#step-1-create-a-spotify-developer-app class=hash-link aria-label="Direct link to Step 1: Create a Spotify Developer App" title="Direct link to Step 1: Create a Spotify Developer App" translate=no>​</a></h3>
<ol>
@@ -21,9 +19,7 @@ Read-only features (search, top tracks, playlists, now playing) work on <strong>
<li class="">Click <strong>Save</strong></li>
<li class="">On the app's settings page, copy the <strong>Client ID</strong> and <strong>Client Secret</strong></li>
</ol>
-<p>:::tip Development Mode
-When your Spotify Developer app is in <strong>development mode</strong> (the default), you can grant access to up to <strong>25 users</strong>. Go to your app's settings → <strong>User Management</strong> → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request <strong>extended quota</strong> from Spotify.
-:::</p>
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>Development Mode</div><div class=admonitionContent_BuS1><p>When your Spotify Developer app is in <strong>development mode</strong> (the default), you can grant access to up to <strong>25 users</strong>. Go to your app's settings → <strong>User Management</strong> → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request <strong>extended quota</strong> from Spotify.</div></div>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=step-2-configure-mercury>Step 2: Configure Mercury<a href=#step-2-configure-mercury class=hash-link aria-label="Direct link to Step 2: Configure Mercury" title="Direct link to Step 2: Configure Mercury" translate=no>​</a></h3>
<p>Run <code>mercury doctor</code> (or <code>mercury setup</code> for first-time setup):</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury doctor</span><br/></div></code></pre></div></div>
@@ -107,9 +103,7 @@ When your Spotify Developer app is in <strong>development mode</strong> (the def
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">/spotify logout</span><br/></div></code></pre></div></div>
<p>This clears all tokens and account info. Run <code>/spotify auth</code> to reconnect later.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=security>Security<a href=#security class=hash-link aria-label="Direct link to Security" title="Direct link to Security" translate=no>​</a></h2>
-<p>:::warning Client credentials
-Your Spotify Client ID and Client Secret are stored in <code>~/.mercury/mercury.yaml</code>. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential.
-:::</p>
+<div class="theme-admonition theme-admonition-warning admonition_xJq3 alert alert--warning"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 16 16"><path fill-rule=evenodd d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg></span>Client credentials</div><div class=admonitionContent_BuS1><p>Your Spotify Client ID and Client Secret are stored in <code>~/.mercury/mercury.yaml</code>. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential.</div></div>
<p>Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=troubleshooting>Troubleshooting<a href=#troubleshooting class=hash-link aria-label="Direct link to Troubleshooting" title="Direct link to Troubleshooting" translate=no>​</a></h2>
<table><thead><tr><th>Issue<th>Solution<tbody><tr><td>"Spotify Premium is required" error<td>You need Premium for playback control. Read-only features still work on free accounts.<tr><td>403 errors on play/pause/skip<td>Your account is on Spotify's free tier. Playback APIs are Premium-only.<tr><td>"No active device"<td>Open Spotify on your phone/computer, play any song, then try again.<tr><td>Browser doesn't open for auth<td>Use the manual code flow: <code>/spotify auth</code> → choose "Paste code"<tr><td>Token expired after long idle<td>Run <code>/spotify auth</code> to get fresh tokens<tr><td>Account name not showing<td>Run <code>/spotify</code> and Mercury will fetch it live from Spotify's API</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/telegram><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Telegram</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/coding-workspace><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Coding Workspace (IDE Mode)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#setup class="table-of-contents__link toc-highlight">Setup</a><ul><li><a href=#step-1-create-a-spotify-developer-app class="table-of-contents__link toc-highlight">Step 1: Create a Spotify Developer App</a><li><a href=#step-2-configure-mercury class="table-of-contents__link toc-highlight">Step 2: Configure Mercury</a><li><a href=#step-3-connect-your-spotify-account class="table-of-contents__link toc-highlight">Step 3: Connect Your Spotify Account</a></ul><li><a href=#commands class="table-of-contents__link toc-highlight">Commands</a><li><a href=#spotify-tools class="table-of-contents__link toc-highlight">Spotify Tools</a><ul><li><a href=#read-only-works-on-free-accounts class="table-of-contents__link toc-highlight">Read-only (works on free accounts)</a><li><a href=#playback-control-requires-spotify-premium class="table-of-contents__link toc-highlight">Playback control (requires Spotify Premium)</a></ul><li><a href=#using-it class="table-of-contents__link toc-highlight">Using It</a><li><a href=#interactive-player-cli class="table-of-contents__link toc-highlight">Interactive Player (CLI)</a><li><a href=#dj-mode class="table-of-contents__link toc-highlight">DJ Mode</a><ul><li><a href=#player-shortcuts class="table-of-contents__link toc-highlight">Player shortcuts</a><li><a href=#optional-inline-album-art class="table-of-contents__link toc-highlight">Optional inline album art</a></ul><li><a href=#managing-devices class="table-of-contents__link toc-highlight">Managing Devices</a><li><a href=#token-management class="table-of-contents__link toc-highlight">Token Management</a><ul><li><a href=#disconnecting class="table-of-contents__link toc-highlight">Disconnecting</a></ul><li><a href=#security class="table-of-contents__link toc-highlight">Security</a><li><a href=#troubleshooting class="table-of-contents__link toc-highlight">Troubleshooting</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/integrations/sub-agents.html b/docs/docs/integrations/sub-agents.html
index ccc5af03..713146d9 100644
--- a/docs/docs/integrations/sub-agents.html
+++ b/docs/docs/integrations/sub-agents.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/sub-agents" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Sub-Agents (Multi-Agent Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Sub-Agents (Multi-Agent Mode) | Mercury"/><meta data-rh=true name=description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><meta data-rh=true property=og:description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/sub-agents","name":"Sub-Agents (Multi-Agent Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/sub-agents" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Sub-Agents (Multi-Agent Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Sub-Agents (Multi-Agent Mode) | Mercury"/><meta data-rh=true name=description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><meta data-rh=true property=og:description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/sub-agents","name":"Sub-Agents (Multi-Agent Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Sub-Agents (Multi-Agent Mode)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Sub-Agents (Multi-Agent Mode)</h1></header><p>Mercury isn't just a chatbot — it's an <strong>orchestrator</strong>. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.</p>
@@ -15,8 +15,9 @@
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works>How It Works<a href=#how-it-works class=hash-link aria-label="Direct link to How It Works" title="Direct link to How It Works" translate=no>​</a></h2>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">You: "Build a REST API for users and write integration tests"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain">Mercury decides to delegate:</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🤖 Multi-agent mode activated.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> **Agent a1** is now working on: "Build REST API endpoints for users"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> **Agent a2** is now working on: "Write integration tests for user endpoints"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> Active agents: 2/4</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> You can continue chatting while the agents work.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> Use /agents to check status.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain">Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the API</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> and agent a2 is writing tests. They'll work independently.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> (you continue chatting normally)</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🔄 Agent a1: Using: read_file, create_file</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🔄 Agent a2: Using: list_dir, read_file</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✅ **Agent a1** completed (12.3s): "REST API built with 5 endpoints"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✅ **Agent a2** completed (18.7s): "12 integration tests passing"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> Both agents are done. Want me to review the results together?</span><br/></div></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=commands>Commands<a href=#commands class=hash-link aria-label="Direct link to Commands" title="Direct link to Commands" translate=no>​</a></h2>
-<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/agents</code><td>List all sub-agents (running and completed)<tr><td><code>/code agent &lt;task></code><td>Delegate a coding task to a sub-agent immediately<tr><td><code>/bg: &lt;task></code><td>Run a natural-language sub-agent task in background<tr><td><code>/bg current</code><td>Move current in-flight task to a background sub-agent<tr><td><code>/bg list</code><td>List shell + sub-agent background tasks<tr><td><code>/halt</code><td>Emergency: halt all sub-agents and clear the task queue<tr><td><code>/stop</code><td>Full reset: halt agents, clear queue, release locks, clear task board</table>
-<p>Slash commands like <code>/agents</code>, <code>/halt</code>, <code>/stop</code>, <code>/spotify</code>, and <code>/code status</code> work <strong>even while the main agent is busy</strong> — they're processed immediately on a fast path.</p>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/agents</code><td>List all sub-agents (running and completed)<tr><td><code>/agents stop &lt;id|all></code><td>Stop a sub-agent or all sub-agents<tr><td><code>/agents pause &lt;id></code><td>Pause a running sub-agent<tr><td><code>/agents resume &lt;id></code><td>Resume a paused sub-agent<tr><td><code>/agents config</code><td>Show sub-agent resource allocation (max concurrent, mode)<tr><td><code>/agents set max &lt;n></code><td>Set max concurrent sub-agents<tr><td><code>/code agent &lt;task></code><td>Delegate a coding task to a sub-agent immediately<tr><td><code>/bg: &lt;task></code><td>Run a natural-language sub-agent task in background<tr><td><code>/bg current</code><td>Move current in-flight task to a background sub-agent<tr><td><code>/bg list</code><td>List shell + sub-agent background tasks<tr><td><code>/halt</code><td>Emergency: halt all sub-agents and clear the task queue<tr><td><code>/stop</code><td>Full stop: halt agents, clear queue, release file locks, clear task board<tr><td><code>/reset</code><td>Full reset: stop all + clear conversation context (requires confirmation)</table>
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span><code>/halt</code> vs <code>/stop</code> vs <code>/reset</code></div><div class=admonitionContent_BuS1><p><strong><code>/halt</code></strong> stops all agents but preserves conversation context and file locks. <strong><code>/stop</code></strong> goes further — it also releases file locks and clears the task board. <strong><code>/reset</code></strong> does everything <code>/stop</code> does plus clears the conversation context (requires confirmation).</div></div>
+<p>Slash commands like <code>/agents</code>, <code>/halt</code>, <code>/stop</code>, <code>/spotify</code>, and <code>/code</code> work <strong>even while the main agent is busy</strong> — they're processed immediately on a fast path.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=delegation-tools>Delegation Tools<a href=#delegation-tools class=hash-link aria-label="Direct link to Delegation Tools" title="Direct link to Delegation Tools" translate=no>​</a></h2>
<p>Mercury uses these tools to manage sub-agents:</p>
<table><thead><tr><th>Tool<th>Description<tbody><tr><td><code>delegate_task</code><td>Spawn a sub-agent with a task description and optional context<tr><td><code>list_agents</code><td>Show all running and completed sub-agents<tr><td><code>stop_agent</code><td>Halt a specific running sub-agent by ID</table>
diff --git a/docs/docs/integrations/telegram.html b/docs/docs/integrations/telegram.html
index 5c037692..ebaab4ab 100644
--- a/docs/docs/integrations/telegram.html
+++ b/docs/docs/integrations/telegram.html
@@ -1,24 +1,55 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/telegram" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Telegram | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/telegram /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Telegram | Mercury"/><meta data-rh=true name=description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."/><meta data-rh=true property=og:description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/telegram /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/telegram","name":"Telegram","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/telegram" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Telegram | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/telegram /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Telegram | Mercury"/><meta data-rh=true name=description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress."/><meta data-rh=true property=og:description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/telegram /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/telegram","name":"Telegram","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Telegram</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Telegram</h1></header><p>Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Telegram</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Telegram</h1></header><p>Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=access-model>Access Model<a href=#access-model class=hash-link aria-label="Direct link to Access Model" title="Direct link to Access Model" translate=no>​</a></h2>
<p>Mercury uses an <strong>organization access model</strong> with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending <code>/start</code>, which admins can approve or reject.</p>
-<p>:::info First-time pairing
-When no admins exist yet, sending <code>/start</code> creates a <strong>pairing code</strong> that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send <code>/start</code> to create a pending request that admins can approve or reject.
-:::</p>
-<p>:::warning Private chats only
-Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored.
-:::</p>
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>First-time pairing</div><div class=admonitionContent_BuS1><p>When no admins exist yet, sending <code>/start</code> creates a <strong>pairing code</strong> that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send <code>/start</code> to create a pending request that admins can approve or reject.</div></div>
+<div class="theme-admonition theme-admonition-warning admonition_xJq3 alert alert--warning"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 16 16"><path fill-rule=evenodd d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg></span>Private chats only</div><div class=admonitionContent_BuS1><p>Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored.</div></div>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=roles>Roles<a href=#roles class=hash-link aria-label="Direct link to Roles" title="Direct link to Roles" translate=no>​</a></h3>
<table><thead><tr><th>Role<th>Description<th>Can approve requests?<tbody><tr><td><strong>Admin</strong><td>First user to pair. Can approve/reject access requests, promote/demote users, and reset all access.<td>Yes<tr><td><strong>Member</strong><td>Approved by an admin. Can send messages and receive responses.<td>No<tr><td><strong>Pending</strong><td>Sent <code>/start</code> but not yet approved. Can only see their pending status.<td>No</table>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=cli-commands>CLI Commands<a href=#cli-commands class=hash-link aria-label="Direct link to CLI Commands" title="Direct link to CLI Commands" translate=no>​</a></h3>
<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>mercury telegram list</code><td>Show approved admins, members, and pending requests<tr><td><code>mercury telegram approve &lt;code|userId></code><td>Approve the first pairing code or a pending request by user ID<tr><td><code>mercury telegram reject &lt;userId></code><td>Reject a pending access request<tr><td><code>mercury telegram remove &lt;userId></code><td>Remove an approved admin or member<tr><td><code>mercury telegram promote &lt;userId></code><td>Promote a member to admin<tr><td><code>mercury telegram demote &lt;userId></code><td>Demote an admin to member (at least one admin must remain)<tr><td><code>mercury telegram reset</code><td>Clear all Telegram access (admins, members, pending). Start fresh.</table>
-<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=in-chat-commands>In-Chat Commands<a href=#in-chat-commands class=hash-link aria-label="Direct link to In-Chat Commands" title="Direct link to In-Chat Commands" translate=no>​</a></h3>
-<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/start</code> or <code>/pair</code><td>Request access (new users) or check status (approved users)<tr><td><code>/unpair</code><td>Admin only: Reset all Telegram access for this Mercury instance</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=bot-commands-menu>Bot Commands Menu<a href=#bot-commands-menu class=hash-link aria-label="Direct link to Bot Commands Menu" title="Direct link to Bot Commands Menu" translate=no>​</a></h2>
+<p>Mercury registers 15 commands in Telegram's bot menu for quick access:</p>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/start</code><td>Request access to this Mercury instance<tr><td><code>/help</code><td>Show Telegram-specific command reference<tr><td><code>/status</code><td>Config, budget, and uptime<tr><td><code>/progress</code><td>Live status for the current task<tr><td><code>/stop</code><td>Stop all agents and clear queue<tr><td><code>/budget</code><td>Token budget status and management<tr><td><code>/stream</code><td>Toggle text streaming on/off<tr><td><code>/memory</code><td>Second brain memory<tr><td><code>/permissions</code><td>Switch Ask Me / Allow All mode<tr><td><code>/models</code><td>List providers or switch AI model<tr><td><code>/code</code><td>Programming mode (plan / execute / off)<tr><td><code>/agents</code><td>List and manage sub-agents<tr><td><code>/bg</code><td>Background tasks<tr><td><code>/spotify</code><td>Spotify playback controls<tr><td><code>/unpair</code><td>Reset all Telegram access (admin only)</table>
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>Telegram-specific help</div><div class=admonitionContent_BuS1><p>Running <code>/help</code> on Telegram shows a clean, Telegram-formatted command reference with only Telegram-relevant commands — no CLI-only features like workspace IDE or progress views.</div></div>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=real-time-task-progress>Real-Time Task Progress<a href=#real-time-task-progress class=hash-link aria-label="Direct link to Real-Time Task Progress" title="Direct link to Real-Time Task Progress" translate=no>​</a></h2>
+<p>During multi-step tasks, Mercury uses a <strong>single status card</strong> that updates in place. This keeps the chat clean — you see one message that shows what's happening, not a flood of separate updates.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works>How It Works<a href=#how-it-works class=hash-link aria-label="Direct link to How It Works" title="Direct link to How It Works" translate=no>​</a></h3>
+<ol>
+<li class=""><strong>Step 1 begins</strong> — Mercury creates a status card: <code>⚙️ Mercury working (step 1)</code></li>
+<li class=""><strong>Steps progress</strong> — The same message is edited to show the latest steps with checkmarks</li>
+<li class=""><strong>Step 3+ (substantial task)</strong> — The status card is <strong>pinned</strong> to the top of the chat so you can always see progress without scrolling</li>
+<li class=""><strong>Notices</strong> — System messages like Mercury Autopilot warnings are folded into the status card instead of creating separate messages</li>
+<li class=""><strong>Task completes</strong> — The status card is unpinned and deleted. The AI response and completion banner appear as fresh messages</li>
+</ol>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=what-the-status-card-looks-like>What the Status Card Looks Like<a href=#what-the-status-card-looks-like class=hash-link aria-label="Direct link to What the Status Card Looks Like" title="Direct link to What the Status Card Looks Like" translate=no>​</a></h3>
+<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">⚙️ Mercury working (step 5)</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain">✅ read_file · src/index.ts</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">✅ edit_file · src/utils.ts</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">✅ run_command · npm test</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">✅ read_file · package.json</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">⏳ write_file · src/config.ts…</span><br/></div></code></pre></div></div>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=single-message-design>Single-Message Design<a href=#single-message-design class=hash-link aria-label="Direct link to Single-Message Design" title="Direct link to Single-Message Design" translate=no>​</a></h3>
+<p>During an active task, <strong>no new messages are created</strong> in the chat. Everything is consolidated into the pinned status card:</p>
+<ul>
+<li class=""><strong>Tool progress</strong> — edited in place with a rolling window of the last 5 completed steps</li>
+<li class=""><strong>Autopilot warnings</strong> — shown as notice lines in the status card (last 3 notices)</li>
+<li class=""><strong>AI responses</strong> — deferred until the task completes, then sent as a clean message</li>
+<li class=""><strong>Permission prompts</strong> — shown as ephemeral inline keyboard messages, deleted after you respond</li>
+</ul>
+<p>This means you never have to scroll up to find the progress indicator — it stays pinned at the top until the task is done.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=completion>Completion<a href=#completion class=hash-link aria-label="Direct link to Completion" title="Direct link to Completion" translate=no>​</a></h3>
+<p>When a substantial task finishes (3+ steps and 30+ seconds), Mercury sends a completion banner:</p>
+<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">✅ Task complete (8 steps · 45s)</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">☿ claude-sonnet via anthropic · 12.4k tokens</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">Budget: ██████████░░░░░ 67% (67.2k / 100.0k)</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✓ read_file · src/index.ts</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✓ edit_file · src/utils.ts</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✓ run_command · npm test</span><br/></div></code></pre></div></div>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=permission-mode>Permission Mode<a href=#permission-mode class=hash-link aria-label="Direct link to Permission Mode" title="Direct link to Permission Mode" translate=no>​</a></h2>
+<p>At the start of each Telegram session, Mercury shows an inline keyboard to choose a permission mode:</p>
+<ul>
+<li class=""><strong>🔒 Ask Me</strong> — Mercury asks before file writes, shell commands, and scope changes. Prompts appear as inline keyboards with Allow / Always / Deny buttons.</li>
+<li class=""><strong>✅ Allow All</strong> — Auto-approve everything for this session. No interruptions.</li>
+</ul>
+<p>Use <code>/permissions</code> at any time to switch modes. Choosing "Always" on any permission prompt flips to auto-approve for the rest of the session.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=ephemeral-messages>Ephemeral Messages<a href=#ephemeral-messages class=hash-link aria-label="Direct link to Ephemeral Messages" title="Direct link to Ephemeral Messages" translate=no>​</a></h3>
+<p>Permission prompts, loop-continuation prompts, and mode-selection cards are <strong>ephemeral</strong> — they're deleted automatically after you respond (or after a 2-minute timeout). This keeps the chat clean.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=features>Features<a href=#features class=hash-link aria-label="Direct link to Features" title="Direct link to Features" translate=no>​</a></h2>
-<table><thead><tr><th>Feature<th>Description<tbody><tr><td>Text streaming<td>Real-time response editing with typing indicators (toggle with <code>/stream</code>)<tr><td>File uploads<td>Photos, audio, video, and documents auto-detected and sent with the right API<tr><td>HTML formatting<td>Markdown automatically converted to Telegram-compatible HTML<tr><td>Inline keyboards<td>Shell command and scope approvals shown as Allow / Always / Deny buttons<tr><td>Multi-user access<td>Organization model with admins and members. <code>send_message</code> broadcasts to all approved users.<tr><td>Bot commands menu<td>12 commands registered in Telegram's bot menu for quick access</table>
+<table><thead><tr><th>Feature<th>Description<tbody><tr><td>Single status card<td>One message edited in place during multi-step tasks — no message clutter<tr><td>Pinned progress<td>Status card pinned to chat top for tasks with 3+ steps<tr><td>Text streaming<td>Real-time response editing with typing indicators (toggle with <code>/stream</code>)<tr><td>File uploads<td>Photos, audio, video, and documents auto-detected and sent with the right API<tr><td>HTML formatting<td>Markdown automatically converted to Telegram-compatible HTML<tr><td>Inline keyboards<td>Permission and mode prompts shown as tappable buttons<tr><td>Ephemeral prompts<td>Permission and mode cards auto-deleted after response<tr><td>Completion banners<td>Token usage and budget stats for substantial tasks<tr><td>Multi-user access<td>Organization model with admins and members<tr><td>Bot commands menu<td>15 commands registered in Telegram's bot menu for quick access</table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=configuration>Configuration<a href=#configuration class=hash-link aria-label="Direct link to Configuration" title="Direct link to Configuration" translate=no>​</a></h2>
<p>Telegram is set up during <code>mercury doctor</code> or initial onboarding. You need a bot token from <a href=https://t.me/BotFather target=_blank rel="noopener noreferrer" class="">@BotFather</a>.</p>
<table><thead><tr><th>Variable<th>Description<th>Default<tbody><tr><td><code>TELEGRAM_BOT_TOKEN</code><td>Bot token from @BotFather<td>—<tr><td><code>TELEGRAM_ENABLED</code><td>Enable/disable Telegram channel<td><code>false</code><tr><td><code>TELEGRAM_STREAMING</code><td>Enable real-time text streaming<td><code>true</code></table>
-<p>Type <code>none</code> as the bot token during <code>mercury doctor</code> to disable Telegram.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/telegram.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/github-companion><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>GitHub Companion</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/spotify><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Spotify Integration</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#access-model class="table-of-contents__link toc-highlight">Access Model</a><ul><li><a href=#roles class="table-of-contents__link toc-highlight">Roles</a><li><a href=#cli-commands class="table-of-contents__link toc-highlight">CLI Commands</a><li><a href=#in-chat-commands class="table-of-contents__link toc-highlight">In-Chat Commands</a></ul><li><a href=#features class="table-of-contents__link toc-highlight">Features</a><li><a href=#configuration class="table-of-contents__link toc-highlight">Configuration</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p>Type <code>none</code> as the bot token during <code>mercury doctor</code> to disable Telegram.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/telegram.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/github-companion><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>GitHub Companion</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/spotify><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Spotify Integration</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#access-model class="table-of-contents__link toc-highlight">Access Model</a><ul><li><a href=#roles class="table-of-contents__link toc-highlight">Roles</a><li><a href=#cli-commands class="table-of-contents__link toc-highlight">CLI Commands</a></ul><li><a href=#bot-commands-menu class="table-of-contents__link toc-highlight">Bot Commands Menu</a><li><a href=#real-time-task-progress class="table-of-contents__link toc-highlight">Real-Time Task Progress</a><ul><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How It Works</a><li><a href=#what-the-status-card-looks-like class="table-of-contents__link toc-highlight">What the Status Card Looks Like</a><li><a href=#single-message-design class="table-of-contents__link toc-highlight">Single-Message Design</a><li><a href=#completion class="table-of-contents__link toc-highlight">Completion</a></ul><li><a href=#permission-mode class="table-of-contents__link toc-highlight">Permission Mode</a><ul><li><a href=#ephemeral-messages class="table-of-contents__link toc-highlight">Ephemeral Messages</a></ul><li><a href=#features class="table-of-contents__link toc-highlight">Features</a><li><a href=#configuration class="table-of-contents__link toc-highlight">Configuration</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/built-in-tools.html b/docs/docs/reference/built-in-tools.html
index 6d1d8e96..5610fedf 100644
--- a/docs/docs/reference/built-in-tools.html
+++ b/docs/docs/reference/built-in-tools.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/built-in-tools" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Built-in Tools | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Built-in Tools | Mercury"/><meta data-rh=true name=description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><meta data-rh=true property=og:description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/built-in-tools","name":"Built-in Tools","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/built-in-tools" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Built-in Tools | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Built-in Tools | Mercury"/><meta data-rh=true name=description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><meta data-rh=true property=og:description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/built-in-tools","name":"Built-in Tools","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Built-in Tools</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Built-in Tools</h1></header><p>Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.</p>
@@ -11,4 +11,9 @@
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=git>Git<a href=#git class=hash-link aria-label="Direct link to Git" title="Direct link to Git" translate=no>​</a></h2>
<table><thead><tr><th>Tool<th>What it does<tbody><tr><td><code>git_status</code><td>Working tree status<tr><td><code>git_diff</code><td>Show file changes<tr><td><code>git_log</code><td>Commit history<tr><td><code>git_add</code><td>Stage files<tr><td><code>git_commit</code><td>Create a commit<tr><td><code>git_push</code><td>Push to remote (needs approval)</table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=web-skills-scheduler-system>Web, Skills, Scheduler, System<a href=#web-skills-scheduler-system class=hash-link aria-label="Direct link to Web, Skills, Scheduler, System" title="Direct link to Web, Skills, Scheduler, System" translate=no>​</a></h2>
-<table><thead><tr><th>Tool<th>What it does<th>Category<tbody><tr><td><code>fetch_url</code><td>Fetch a URL and return content (HTML stripped)<td>Web<tr><td><code>install_skill</code><td>Install a skill from URL or content<td>Skills<tr><td><code>list_skills</code><td>List installed skills<td>Skills<tr><td><code>use_skill</code><td>Invoke a skill by name<td>Skills<tr><td><code>schedule_task</code><td>Schedule recurring (cron) or one-shot (delay) task<td>Scheduler<tr><td><code>list_scheduled_tasks</code><td>View all scheduled tasks<td>Scheduler<tr><td><code>cancel_scheduled_task</code><td>Cancel a scheduled task<td>Scheduler<tr><td><code>budget_status</code><td>Check token budget usage<td>System</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/built-in-tools.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/sub-agents><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Sub-Agents (Multi-Agent Mode)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/configuration><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Configuration</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#filesystem class="table-of-contents__link toc-highlight">Filesystem</a><li><a href=#messaging class="table-of-contents__link toc-highlight">Messaging</a><li><a href=#shell class="table-of-contents__link toc-highlight">Shell</a><li><a href=#git class="table-of-contents__link toc-highlight">Git</a><li><a href=#web-skills-scheduler-system class="table-of-contents__link toc-highlight">Web, Skills, Scheduler, System</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<table><thead><tr><th>Tool<th>What it does<th>Category<tbody><tr><td><code>fetch_url</code><td>Fetch a URL and return content (HTML stripped)<td>Web<tr><td><code>install_skill</code><td>Install a skill from URL or content<td>Skills<tr><td><code>list_skills</code><td>List installed skills<td>Skills<tr><td><code>use_skill</code><td>Invoke a skill by name<td>Skills<tr><td><code>schedule_task</code><td>Schedule recurring (cron) or one-shot (delay) task<td>Scheduler<tr><td><code>list_scheduled_tasks</code><td>View all scheduled tasks<td>Scheduler<tr><td><code>cancel_scheduled_task</code><td>Cancel a scheduled task<td>Scheduler<tr><td><code>budget_status</code><td>Check token budget usage<td>System<tr><td><code>ask_user</code><td>Ask the user a question with choices (CLI: arrow menu, Telegram: inline buttons)<td>System</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=sub-agent-delegation>Sub-Agent Delegation<a href=#sub-agent-delegation class=hash-link aria-label="Direct link to Sub-Agent Delegation" title="Direct link to Sub-Agent Delegation" translate=no>​</a></h2>
+<table><thead><tr><th>Tool<th>What it does<th>Parameters<tbody><tr><td><code>delegate_task</code><td>Spawn a sub-agent with an isolated context<td><code>task</code>, <code>workingDirectory?</code>, <code>priority?</code>, <code>allowedTools?</code><tr><td><code>list_agents</code><td>List active sub-agents and their status<td>—<tr><td><code>stop_agent</code><td>Stop a sub-agent (or all)<td><code>agentId</code> (<code>"a1"</code> or <code>"all"</code>)</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=spotify>Spotify<a href=#spotify class=hash-link aria-label="Direct link to Spotify" title="Direct link to Spotify" translate=no>​</a></h2>
+<p>These tools are available when Spotify is connected. Search and info tools are read-only; playback tools require Spotify Premium.</p>
+<table><thead><tr><th>Tool<th>What it does<th>Parameters<tbody><tr><td><code>spotify_search</code><td>Search for tracks, artists, albums, playlists<td><code>query</code>, <code>type?</code>, <code>limit?</code><tr><td><code>spotify_play</code><td>Play a track, album, or playlist<td><code>uri?</code>, <code>deviceId?</code><tr><td><code>spotify_pause</code><td>Pause playback<td><code>deviceId?</code><tr><td><code>spotify_next</code><td>Skip to next track<td>—<tr><td><code>spotify_previous</code><td>Skip to previous track<td>—<tr><td><code>spotify_now_playing</code><td>Show currently playing track info<td>—<tr><td><code>spotify_devices</code><td>List available playback devices<td>—<tr><td><code>spotify_queue</code><td>Add a track to the playback queue<td><code>uri</code><tr><td><code>spotify_like</code><td>Save a track to your library<td><code>trackId</code><tr><td><code>spotify_volume</code><td>Set playback volume<td><code>percent</code> (0–100)<tr><td><code>spotify_shuffle</code><td>Toggle shuffle<td><code>state</code> (boolean)<tr><td><code>spotify_repeat</code><td>Set repeat mode<td><code>state</code> (<code>off</code>/<code>track</code>/<code>context</code>)<tr><td><code>spotify_top_tracks</code><td>Get user's top tracks<td><code>timeRange?</code>, <code>limit?</code><tr><td><code>spotify_playlists</code><td>Get user's playlists<td>—</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/built-in-tools.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/sub-agents><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Sub-Agents (Multi-Agent Mode)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/configuration><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Configuration</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#filesystem class="table-of-contents__link toc-highlight">Filesystem</a><li><a href=#messaging class="table-of-contents__link toc-highlight">Messaging</a><li><a href=#shell class="table-of-contents__link toc-highlight">Shell</a><li><a href=#git class="table-of-contents__link toc-highlight">Git</a><li><a href=#web-skills-scheduler-system class="table-of-contents__link toc-highlight">Web, Skills, Scheduler, System</a><li><a href=#sub-agent-delegation class="table-of-contents__link toc-highlight">Sub-Agent Delegation</a><li><a href=#spotify class="table-of-contents__link toc-highlight">Spotify</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/configuration.html b/docs/docs/reference/configuration.html
index dd8244eb..1bef2546 100644
--- a/docs/docs/reference/configuration.html
+++ b/docs/docs/reference/configuration.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/configuration" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Configuration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/configuration /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Configuration | Mercury"/><meta data-rh=true name=description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><meta data-rh=true property=og:description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/configuration /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/configuration","name":"Configuration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/configuration" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Configuration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/configuration /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Configuration | Mercury"/><meta data-rh=true name=description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><meta data-rh=true property=og:description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/configuration /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/configuration","name":"Configuration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Configuration</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Configuration</h1></header><p>All runtime data lives in <code>~/.mercury/</code> — not in your project directory.</p>
diff --git a/docs/docs/reference/permissions.html b/docs/docs/reference/permissions.html
index 0fda1ce3..5b1cd921 100644
--- a/docs/docs/reference/permissions.html
+++ b/docs/docs/reference/permissions.html
@@ -1,19 +1,54 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/permissions" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Permissions | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/permissions /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Permissions | Mercury"/><meta data-rh=true name=description content="Mercury has a three-tier permission system for shell commands:"/><meta data-rh=true property=og:description content="Mercury has a three-tier permission system for shell commands:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/permissions /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/permissions","name":"Permissions","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/permissions" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Permissions | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/permissions /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Permissions | Mercury"/><meta data-rh=true name=description content="Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between Ask Me and Allow All modes."/><meta data-rh=true property=og:description content="Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between Ask Me and Allow All modes."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/permissions /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/permissions","name":"Permissions","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Permissions</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Permissions</h1></header><p>Mercury has a three-tier permission system for shell commands:</p>
-<ol>
-<li class=""><strong>Blocked</strong> — Commands like <code>sudo</code>, <code>rm -rf /</code>, <code>mkfs</code> are never executed</li>
-<li class=""><strong>Auto-approved</strong> — Safe commands like <code>ls</code>, <code>cat</code>, <code>git status</code> run without asking</li>
-<li class=""><strong>Pending approval</strong> — Unknown commands pause and ask you. Say <strong>"always"</strong> to permanently approve a command type</li>
-</ol>
-<p>Edit <code>~/.mercury/permissions.yaml</code> to customize. Skill elevation: skills with <code>allowed-tools</code> in their SKILL.md get automatic approval for those tools during execution.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Permissions</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Permissions</h1></header><p>Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between <strong>Ask Me</strong> and <strong>Allow All</strong> modes.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=permission-modes>Permission Modes<a href=#permission-modes class=hash-link aria-label="Direct link to Permission Modes" title="Direct link to Permission Modes" translate=no>​</a></h2>
<p>At session start, Mercury asks you to choose a permission mode:</p>
<ul>
-<li class=""><strong>🔒 Ask Me</strong> — Mercury asks for confirmation before file writes, shell commands that need approval, and scope changes. Default on both CLI and Telegram.</li>
-<li class=""><strong>✅ Allow All</strong> — Mercury auto-approves all directory scopes, all shell commands (except blocked), and loop-continuation prompts. No interruptions during the session. Resets on restart.</li>
+<li class=""><strong>🔒 Ask Me</strong> — Mercury asks for confirmation before risky actions. Default on both CLI and Telegram.</li>
+<li class=""><strong>✅ Allow All</strong> — Mercury auto-approves everything for this session. No interruptions. Resets on restart.</li>
</ul>
<p>On <strong>CLI</strong>: an arrow-key menu appears at startup before the first prompt.</p>
<p>On <strong>Telegram</strong>: inline keyboard buttons appear with the first message. Use <code>/permissions</code> to change mode at any time.</p>
-<p><strong>Scheduled tasks</strong> always run in Allow All mode — filesystem access and shell commands are auto-approved. You receive a notification before each task executes.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/permissions.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/configuration><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Configuration</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/second-brain><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Second Brain</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#permission-modes class="table-of-contents__link toc-highlight">Permission Modes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p><strong>Scheduled tasks</strong> always run in Allow All mode — filesystem access and shell commands are auto-approved.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-modes-differ>How Modes Differ<a href=#how-modes-differ class=hash-link aria-label="Direct link to How Modes Differ" title="Direct link to How Modes Differ" translate=no>​</a></h3>
+<table><thead><tr><th>Action<th>Ask Me<th>Allow All<tbody><tr><td>File reads<td>Auto-approved (via scope matching)<td>Auto-approved<tr><td>File writes<td><strong>Always prompts</strong><td>Auto-approved (via scope matching)<tr><td>Safe shell commands (<code>ls</code>, <code>cat</code>, <code>grep</code>, <code>git status</code>)<td>Auto-approved<td>Auto-approved<tr><td>Other shell commands<td><strong>Prompts</strong><td>Auto-approved<tr><td>New directory scope<td><strong>Prompts</strong><td>Auto-approved<tr><td>Loop continuation<td><strong>Prompts</strong><td>AI self-check (Mercury Autopilot)</table>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=always-response>"Always" Response<a href=#always-response class=hash-link aria-label='Direct link to "Always" Response' title='Direct link to "Always" Response' translate=no>​</a></h3>
+<p>When prompted in Ask Me mode, choosing <strong>"Always"</strong> (or pressing <code>A</code>) flips to auto-approve for the rest of the session — equivalent to switching to Allow All mode.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=shell-command-tiers>Shell Command Tiers<a href=#shell-command-tiers class=hash-link aria-label="Direct link to Shell Command Tiers" title="Direct link to Shell Command Tiers" translate=no>​</a></h2>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=1-blocked-never-executed>1. Blocked (never executed)<a href=#1-blocked-never-executed class=hash-link aria-label="Direct link to 1. Blocked (never executed)" title="Direct link to 1. Blocked (never executed)" translate=no>​</a></h3>
+<p>Commands like <code>sudo</code>, <code>rm -rf /</code>, <code>mkfs</code> are never executed regardless of mode.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=2-safe-read-commands-auto-approved-in-any-mode>2. Safe Read Commands (auto-approved in any mode)<a href=#2-safe-read-commands-auto-approved-in-any-mode class=hash-link aria-label="Direct link to 2. Safe Read Commands (auto-approved in any mode)" title="Direct link to 2. Safe Read Commands (auto-approved in any mode)" translate=no>​</a></h3>
+<p>Mercury maintains a whitelist of safe read-only commands that never require approval:</p>
+<p><code>ls</code>, <code>cat</code>, <code>head</code>, <code>tail</code>, <code>grep</code>, <code>rg</code>, <code>find</code>, <code>wc</code>, <code>file</code>, <code>stat</code>, <code>which</code>, <code>echo</code>, <code>pwd</code>, <code>env</code>, <code>printenv</code>, <code>date</code>, <code>whoami</code>, <code>hostname</code>, <code>uname</code>, <code>git status</code>, <code>git diff</code>, <code>git log</code>, <code>git branch</code>, <code>git show</code>, <code>git remote</code>, <code>node --version</code>, <code>npm list</code>, <code>npx tsc --noEmit</code>, and similar read-only operations.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=3-everything-else>3. Everything Else<a href=#3-everything-else class=hash-link aria-label="Direct link to 3. Everything Else" title="Direct link to 3. Everything Else" translate=no>​</a></h3>
+<ul>
+<li class=""><strong>Ask Me mode</strong>: Prompts for approval. Approval options: Yes / No / Always.</li>
+<li class=""><strong>Allow All mode</strong>: Auto-approved (except blocked commands).</li>
+</ul>
+<p>Edit <code>~/.mercury/permissions.yaml</code> to customize blocked and auto-approved command patterns. Skill elevation: skills with <code>allowed-tools</code> in their SKILL.md get automatic approval for those tools during execution.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=file-system-scopes>File System Scopes<a href=#file-system-scopes class=hash-link aria-label="Direct link to File System Scopes" title="Direct link to File System Scopes" translate=no>​</a></h2>
+<p>Mercury uses directory scopes to control file access. When the agent tries to access files in a new directory:</p>
+<ul>
+<li class=""><strong>Ask Me mode</strong>: Prompts for scope approval (reads and writes)</li>
+<li class=""><strong>Allow All mode</strong>: Auto-approves scope access</li>
+</ul>
+<p>Approved scopes persist for the session. The current working directory is always in scope.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=mercury-autopilot-loop-detection>Mercury Autopilot (Loop Detection)<a href=#mercury-autopilot-loop-detection class=hash-link aria-label="Direct link to Mercury Autopilot (Loop Detection)" title="Direct link to Mercury Autopilot (Loop Detection)" translate=no>​</a></h2>
+<p>Mercury includes an intelligent loop detection system called <strong>Mercury Autopilot</strong> that prevents the agent from getting stuck in repetitive tool call patterns.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works>How It Works<a href=#how-it-works class=hash-link aria-label="Direct link to How It Works" title="Direct link to How It Works" translate=no>​</a></h3>
+<p>Instead of simply counting repeated tool calls, Autopilot analyzes:</p>
+<ul>
+<li class=""><strong>Parameter diversity</strong> — Are the arguments changing between calls, or is it calling the same thing over and over?</li>
+<li class=""><strong>Success rate</strong> — Are the calls succeeding or failing repeatedly?</li>
+</ul>
+<p>This produces a verdict:</p>
+<table><thead><tr><th>Verdict<th>Criteria<th>Action<tbody><tr><td><strong>Productive</strong><td>Diversity ≥ 60%, success ≥ 70%<td>Continue without interruption<tr><td><strong>Suspicious</strong><td>Between productive and stuck<td>Monitor (Allow All: AI self-check, Ask Me: prompt user)<tr><td><strong>Stuck</strong><td>Low diversity and/or low success<td>Stop the current execution path</table>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=ai-self-check-allow-all-mode>AI Self-Check (Allow All Mode)<a href=#ai-self-check-allow-all-mode class=hash-link aria-label="Direct link to AI Self-Check (Allow All Mode)" title="Direct link to AI Self-Check (Allow All Mode)" translate=no>​</a></h3>
+<p>In Allow All mode, when Autopilot detects suspicious patterns, it asks the AI model itself to evaluate whether it's making progress. The AI sees its recent tool calls and decides whether to continue or stop. This runs up to 3 times before Autopilot forces a stop.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=user-prompt-ask-me-mode>User Prompt (Ask Me Mode)<a href=#user-prompt-ask-me-mode class=hash-link aria-label="Direct link to User Prompt (Ask Me Mode)" title="Direct link to User Prompt (Ask Me Mode)" translate=no>​</a></h3>
+<p>In Ask Me mode, suspicious patterns trigger a user prompt asking whether to continue. On Telegram, this appears as an inline keyboard with Continue / Stop buttons.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=hard-limits>Hard Limits<a href=#hard-limits class=hash-link aria-label="Direct link to Hard Limits" title="Direct link to Hard Limits" translate=no>​</a></h3>
+<p>Regardless of mode, Mercury enforces absolute limits:</p>
+<table><thead><tr><th>Limit<th>Value<th>Description<tbody><tr><td>Max steps per task<td>25<td>Normal tool call limit<tr><td>Absolute max<td>75<td>Hard ceiling (never exceeded)<tr><td>Failed absolute max<td>20<td>Max steps if all are failing<tr><td>Max self-checks<td>3<td>AI self-check attempts before forced stop</table>
+<p>All Autopilot messages are branded with <code>☿ Mercury Autopilot</code> for easy identification.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/permissions.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/configuration><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Configuration</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/second-brain><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Second Brain</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#permission-modes class="table-of-contents__link toc-highlight">Permission Modes</a><ul><li><a href=#how-modes-differ class="table-of-contents__link toc-highlight">How Modes Differ</a><li><a href=#always-response class="table-of-contents__link toc-highlight">"Always" Response</a></ul><li><a href=#shell-command-tiers class="table-of-contents__link toc-highlight">Shell Command Tiers</a><ul><li><a href=#1-blocked-never-executed class="table-of-contents__link toc-highlight">1. Blocked (never executed)</a><li><a href=#2-safe-read-commands-auto-approved-in-any-mode class="table-of-contents__link toc-highlight">2. Safe Read Commands (auto-approved in any mode)</a><li><a href=#3-everything-else class="table-of-contents__link toc-highlight">3. Everything Else</a></ul><li><a href=#file-system-scopes class="table-of-contents__link toc-highlight">File System Scopes</a><li><a href=#mercury-autopilot-loop-detection class="table-of-contents__link toc-highlight">Mercury Autopilot (Loop Detection)</a><ul><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How It Works</a><li><a href=#ai-self-check-allow-all-mode class="table-of-contents__link toc-highlight">AI Self-Check (Allow All Mode)</a><li><a href=#user-prompt-ask-me-mode class="table-of-contents__link toc-highlight">User Prompt (Ask Me Mode)</a><li><a href=#hard-limits class="table-of-contents__link toc-highlight">Hard Limits</a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/provider-fallback.html b/docs/docs/reference/provider-fallback.html
index 27056cb4..698b2a0f 100644
--- a/docs/docs/reference/provider-fallback.html
+++ b/docs/docs/reference/provider-fallback.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/provider-fallback" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Provider Fallback | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Provider Fallback | Mercury"/><meta data-rh=true name=description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><meta data-rh=true property=og:description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/provider-fallback","name":"Provider Fallback","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/provider-fallback" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Provider Fallback | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Provider Fallback | Mercury"/><meta data-rh=true name=description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><meta data-rh=true property=og:description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/provider-fallback","name":"Provider Fallback","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Provider Fallback</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Provider Fallback</h1></header><p>Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.</p>
@@ -11,12 +11,63 @@
</ul>
<p>This is a session-level switch for the running process. Use <code>mercury doctor</code> to change persisted defaults.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=supported-providers>Supported Providers<a href=#supported-providers class=hash-link aria-label="Direct link to Supported Providers" title="Direct link to Supported Providers" translate=no>​</a></h2>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=api-key-providers>API Key Providers<a href=#api-key-providers class=hash-link aria-label="Direct link to API Key Providers" title="Direct link to API Key Providers" translate=no>​</a></h3>
<table><thead><tr><th>Provider<th>Default Model<th>API Key<th>Configuration<tbody><tr><td><strong>DeepSeek</strong><td><code>deepseek-chat</code><td><code>DEEPSEEK_API_KEY</code><td>Default provider, cost-effective<tr><td><strong>OpenAI</strong><td><code>gpt-4o-mini</code><td><code>OPENAI_API_KEY</code><td>GPT-4o-mini, GPT-4o, o3, etc.<tr><td><strong>Anthropic</strong><td><code>claude-sonnet-4-20250514</code><td><code>ANTHROPIC_API_KEY</code><td>Claude Sonnet, Haiku, Opus<tr><td><strong>Grok (xAI)</strong><td><code>grok-4</code><td><code>GROK_API_KEY</code><td>OpenAI-compatible endpoint<tr><td><strong>Ollama Cloud</strong><td><code>gpt-oss:120b</code><td><code>OLLAMA_CLOUD_API_KEY</code><td>Remote Ollama models via API<tr><td><strong>Ollama Local</strong><td><code>gpt-oss:20b</code><td>No key needed<td>Local Ollama instance (127.0.0.1:11434)<tr><td><strong>OpenAI Compatible</strong><td>Configurable<td><code>OPENAI_COMPAT_API_KEY</code><td>Any OpenAI-compatible server</table>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=oauth-providers-no-api-key-needed>OAuth Providers (No API Key Needed)<a href=#oauth-providers-no-api-key-needed class=hash-link aria-label="Direct link to OAuth Providers (No API Key Needed)" title="Direct link to OAuth Providers (No API Key Needed)" translate=no>​</a></h3>
+<p>These providers authenticate through your browser using OAuth device flow — no API key required.</p>
+<table><thead><tr><th>Provider<th>Default Model<th>Subscription Required<th>Configuration<tbody><tr><td><strong>ChatGPT Web</strong><td><code>gpt-5.4-mini</code><td>ChatGPT Plus or Pro<td>Uses your ChatGPT subscription<tr><td><strong>GitHub Copilot</strong><td><code>gpt-4o</code><td>GitHub Copilot<td>Uses your Copilot subscription</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=chatgpt-web-chatgpt-pluspro>ChatGPT Web (ChatGPT Plus/Pro)<a href=#chatgpt-web-chatgpt-pluspro class=hash-link aria-label="Direct link to ChatGPT Web (ChatGPT Plus/Pro)" title="Direct link to ChatGPT Web (ChatGPT Plus/Pro)" translate=no>​</a></h2>
+<p>Use your existing ChatGPT Plus or Pro subscription as a Mercury provider. No API key or separate billing — it runs through the same backend as chatgpt.com.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=setup>Setup<a href=#setup class=hash-link aria-label="Direct link to Setup" title="Direct link to Setup" translate=no>​</a></h3>
+<ol>
+<li class="">Run <code>mercury doctor</code> (or first-time <code>mercury</code> setup)</li>
+<li class="">Select <strong>OpenAI</strong> from the provider list</li>
+<li class="">Choose <strong>ChatGPT Plus/Pro (OAuth — use your subscription)</strong></li>
+<li class="">A browser window opens — sign in with your OpenAI account and enter the device code shown in the terminal</li>
+<li class="">Mercury fetches available models from your account and lets you pick a default</li>
+</ol>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works>How It Works<a href=#how-it-works class=hash-link aria-label="Direct link to How It Works" title="Direct link to How It Works" translate=no>​</a></h3>
+<ul>
+<li class="">Authenticates via OpenAI's device flow OAuth (same flow used by the Codex CLI)</li>
+<li class="">Uses the ChatGPT Responses API at <code>chatgpt.com/backend-api/codex</code></li>
+<li class="">Session tokens are stored locally at <code>~/.mercury/chatgpt-session.json</code></li>
+<li class="">Access tokens auto-refresh when they expire — no manual re-authentication needed</li>
+</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=available-models>Available Models<a href=#available-models class=hash-link aria-label="Direct link to Available Models" title="Direct link to Available Models" translate=no>​</a></h3>
+<p>Models are fetched from your account. Typical models available on the codex endpoint include:</p>
+<ul>
+<li class=""><code>gpt-5.5</code>, <code>gpt-5.4</code>, <code>gpt-5.4-mini</code>, <code>gpt-5.3-codex</code>, <code>gpt-5.2</code></li>
+</ul>
+<div class="theme-admonition theme-admonition-warning admonition_xJq3 alert alert--warning"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 16 16"><path fill-rule=evenodd d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg></span>Not all ChatGPT models are supported</div><div class=admonitionContent_BuS1><p>Only models available on the codex/responses endpoint work with this provider. Some models like <code>gpt-4o</code>, <code>o3</code>, and <code>o4-mini</code> are not available through this endpoint.</div></div>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=environment-variables>Environment Variables<a href=#environment-variables class=hash-link aria-label="Direct link to Environment Variables" title="Direct link to Environment Variables" translate=no>​</a></h3>
+<table><thead><tr><th>Variable<th>Default<th>Description<tbody><tr><td><code>CHATGPT_WEB_ENABLED</code><td><code>false</code><td>Enable the ChatGPT Web provider<tr><td><code>CHATGPT_WEB_MODEL</code><td><code>gpt-5.4-mini</code><td>Default model to use</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=github-copilot>GitHub Copilot<a href=#github-copilot class=hash-link aria-label="Direct link to GitHub Copilot" title="Direct link to GitHub Copilot" translate=no>​</a></h2>
+<p>Use your GitHub Copilot subscription as a Mercury provider. Authenticates through GitHub OAuth and accesses models through the Copilot API.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=setup-1>Setup<a href=#setup-1 class=hash-link aria-label="Direct link to Setup" title="Direct link to Setup" translate=no>​</a></h3>
+<ol>
+<li class="">Run <code>mercury doctor</code> (or first-time <code>mercury</code> setup)</li>
+<li class="">Select <strong>GitHub Copilot</strong> from the provider list</li>
+<li class="">A browser window opens — sign in with your GitHub account and enter the device code shown in the terminal</li>
+<li class="">Mercury fetches available models from the Copilot API and lets you pick a default</li>
+</ol>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works-1>How It Works<a href=#how-it-works-1 class=hash-link aria-label="Direct link to How It Works" title="Direct link to How It Works" translate=no>​</a></h3>
+<ul>
+<li class="">Authenticates via GitHub's device flow OAuth</li>
+<li class="">Exchanges the GitHub token for a short-lived Copilot API token (auto-refreshed every ~30 minutes)</li>
+<li class="">Uses the Copilot API endpoint with OpenAI-compatible requests</li>
+<li class="">Session stored locally at <code>~/.mercury/github-session.json</code></li>
+<li class="">GitHub OAuth tokens don't expire — they remain valid until revoked on github.com</li>
+</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=available-models-1>Available Models<a href=#available-models-1 class=hash-link aria-label="Direct link to Available Models" title="Direct link to Available Models" translate=no>​</a></h3>
+<p>Models are fetched dynamically from the Copilot API. Typical models include:</p>
+<ul>
+<li class=""><code>claude-sonnet-4.6</code>, <code>gpt-4o</code>, <code>gpt-5.4</code>, <code>claude-opus-4.6</code>, <code>gpt-4.1</code>, <code>gpt-4o-mini</code>, <code>gemini-3.1-pro-preview</code></li>
+</ul>
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>Multi-vendor models through one subscription</div><div class=admonitionContent_BuS1><p>GitHub Copilot provides access to models from OpenAI, Anthropic, and Google — all through a single subscription. This makes it one of the most versatile provider options.</div></div>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=environment-variables-1>Environment Variables<a href=#environment-variables-1 class=hash-link aria-label="Direct link to Environment Variables" title="Direct link to Environment Variables" translate=no>​</a></h3>
+<table><thead><tr><th>Variable<th>Default<th>Description<tbody><tr><td><code>GITHUB_COPILOT_ENABLED</code><td><code>false</code><td>Enable the GitHub Copilot provider<tr><td><code>GITHUB_COPILOT_MODEL</code><td><code>gpt-4o</code><td>Default model to use</table>
+<div class="theme-admonition theme-admonition-info admonition_xJq3 alert alert--info"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg></span>Copilot subscription required</div><div class=admonitionContent_BuS1><p>GitHub Copilot must be active on your GitHub account. If the Copilot token exchange fails, Mercury will show: "Is GitHub Copilot enabled for your account?"</div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=configuring-providers>Configuring Providers<a href=#configuring-providers class=hash-link aria-label="Direct link to Configuring Providers" title="Direct link to Configuring Providers" translate=no>​</a></h2>
-<p>Run <code>mercury doctor</code> and enter API keys for the providers you want to use. You can also set environment variables directly or edit <code>~/.mercury/mercury.yaml</code>.</p>
-<p>:::tip Environment variables
-Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses <code>DEEPSEEK_API_KEY</code>, <code>DEEPSEEK_BASE_URL</code>, and <code>DEEPSEEK_MODEL</code>. Ollama Local requires no API key — just set <code>OLLAMA_LOCAL_ENABLED=true</code> and <code>OLLAMA_LOCAL_MODEL</code> to your preferred local model.
-:::</p>
-<p>:::warning More providers coming
-Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/second-brain><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Second Brain</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/scheduling><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Scheduling</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#session-model-switching class="table-of-contents__link toc-highlight">Session Model Switching</a><li><a href=#supported-providers class="table-of-contents__link toc-highlight">Supported Providers</a><li><a href=#configuring-providers class="table-of-contents__link toc-highlight">Configuring Providers</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p>Run <code>mercury doctor</code> and enter API keys for the providers you want to use. For OAuth providers (ChatGPT Web, GitHub Copilot), the setup flow opens your browser for authentication — no keys to copy/paste.</p>
+<p>You can also set environment variables directly or edit <code>~/.mercury/mercury.yaml</code>.</p>
+<div class="theme-admonition theme-admonition-tip admonition_xJq3 alert alert--success"><div class=admonitionHeading_Gvgb><span class=admonitionIcon_Rf37><svg viewBox="0 0 12 16"><path fill-rule=evenodd d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"/></svg></span>Environment variables</div><div class=admonitionContent_BuS1><p>Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses <code>DEEPSEEK_API_KEY</code>, <code>DEEPSEEK_BASE_URL</code>, and <code>DEEPSEEK_MODEL</code>. Ollama Local requires no API key — just set <code>OLLAMA_LOCAL_ENABLED=true</code> and <code>OLLAMA_LOCAL_MODEL</code> to your preferred local model.</div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/second-brain><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Second Brain</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/scheduling><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Scheduling</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#session-model-switching class="table-of-contents__link toc-highlight">Session Model Switching</a><li><a href=#supported-providers class="table-of-contents__link toc-highlight">Supported Providers</a><ul><li><a href=#api-key-providers class="table-of-contents__link toc-highlight">API Key Providers</a><li><a href=#oauth-providers-no-api-key-needed class="table-of-contents__link toc-highlight">OAuth Providers (No API Key Needed)</a></ul><li><a href=#chatgpt-web-chatgpt-pluspro class="table-of-contents__link toc-highlight">ChatGPT Web (ChatGPT Plus/Pro)</a><ul><li><a href=#setup class="table-of-contents__link toc-highlight">Setup</a><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How It Works</a><li><a href=#available-models class="table-of-contents__link toc-highlight">Available Models</a><li><a href=#environment-variables class="table-of-contents__link toc-highlight">Environment Variables</a></ul><li><a href=#github-copilot class="table-of-contents__link toc-highlight">GitHub Copilot</a><ul><li><a href=#setup-1 class="table-of-contents__link toc-highlight">Setup</a><li><a href=#how-it-works-1 class="table-of-contents__link toc-highlight">How It Works</a><li><a href=#available-models-1 class="table-of-contents__link toc-highlight">Available Models</a><li><a href=#environment-variables-1 class="table-of-contents__link toc-highlight">Environment Variables</a></ul><li><a href=#configuring-providers class="table-of-contents__link toc-highlight">Configuring Providers</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/scheduling.html b/docs/docs/reference/scheduling.html
index 81d5c964..7640cb30 100644
--- a/docs/docs/reference/scheduling.html
+++ b/docs/docs/reference/scheduling.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/scheduling" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Scheduling | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/scheduling /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Scheduling | Mercury"/><meta data-rh=true name=description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><meta data-rh=true property=og:description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/scheduling /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/scheduling","name":"Scheduling","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/scheduling" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Scheduling | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/scheduling /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Scheduling | Mercury"/><meta data-rh=true name=description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><meta data-rh=true property=og:description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/scheduling /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/scheduling","name":"Scheduling","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Scheduling</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Scheduling</h1></header><p>Mercury can schedule tasks using cron expressions or one-shot delays.</p>
diff --git a/docs/docs/reference/second-brain.html b/docs/docs/reference/second-brain.html
index 84413413..e85e14b3 100644
--- a/docs/docs/reference/second-brain.html
+++ b/docs/docs/reference/second-brain.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/second-brain" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Second Brain | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/second-brain /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Second Brain | Mercury"/><meta data-rh=true name=description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><meta data-rh=true property=og:description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/second-brain /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/second-brain","name":"Second Brain","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/second-brain" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Second Brain | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/second-brain /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Second Brain | Mercury"/><meta data-rh=true name=description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><meta data-rh=true property=og:description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/second-brain /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/second-brain","name":"Second Brain","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Second Brain</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Second Brain</h1></header><p>Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.</p>
@@ -30,4 +30,9 @@
<li class="">Config file: set <code>memory.secondBrain.enabled: false</code> in <code>~/.mercury/mercury.yaml</code></li>
</ul>
<p>When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite.</p>
-<p>All data is stored locally in <code>~/.mercury/memory/second-brain/second-brain.db</code> (SQLite). Nothing leaves your machine.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/second-brain.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/permissions><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Permissions</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/provider-fallback><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Provider Fallback</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How it works</a><li><a href=#memory-types class="table-of-contents__link toc-highlight">Memory Types</a><li><a href=#conflict-resolution class="table-of-contents__link toc-highlight">Conflict Resolution</a><li><a href=#evidence-kinds class="table-of-contents__link toc-highlight">Evidence Kinds</a><li><a href=#managing-memory class="table-of-contents__link toc-highlight">Managing Memory</a><li><a href=#enable--disable class="table-of-contents__link toc-highlight">Enable / Disable</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p>All data is stored locally in <code>~/.mercury/memory/second-brain/second-brain.db</code> (SQLite). Nothing leaves your machine.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=troubleshooting>Troubleshooting<a href=#troubleshooting class=hash-link aria-label="Direct link to Troubleshooting" title="Direct link to Troubleshooting" translate=no>​</a></h2>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=native-module-version-mismatch>Native module version mismatch<a href=#native-module-version-mismatch class=hash-link aria-label="Direct link to Native module version mismatch" title="Direct link to Native module version mismatch" translate=no>​</a></h3>
+<p>If you see <code>NODE_MODULE_VERSION</code> mismatch errors in logs, the <code>better-sqlite3</code> native addon was compiled against a different Node.js version than your runtime. Fix with:</p>
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">npm rebuild better-sqlite3</span><br/></div></code></pre></div></div>
+<p>When <code>better-sqlite3</code> fails to load, Second Brain silently falls back to disabled — memory extraction and consolidation will not run. Check daemon logs (<code>mercury logs</code>) for SQLite-related errors if memories aren't being stored.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/second-brain.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/permissions><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Permissions</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/provider-fallback><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Provider Fallback</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How it works</a><li><a href=#memory-types class="table-of-contents__link toc-highlight">Memory Types</a><li><a href=#conflict-resolution class="table-of-contents__link toc-highlight">Conflict Resolution</a><li><a href=#evidence-kinds class="table-of-contents__link toc-highlight">Evidence Kinds</a><li><a href=#managing-memory class="table-of-contents__link toc-highlight">Managing Memory</a><li><a href=#enable--disable class="table-of-contents__link toc-highlight">Enable / Disable</a><li><a href=#troubleshooting class="table-of-contents__link toc-highlight">Troubleshooting</a><ul><li><a href=#native-module-version-mismatch class="table-of-contents__link toc-highlight">Native module version mismatch</a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/skills.html b/docs/docs/reference/skills.html
index 41bac577..344caf59 100644
--- a/docs/docs/reference/skills.html
+++ b/docs/docs/reference/skills.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/skills" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Skills | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/skills /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Skills | Mercury"/><meta data-rh=true name=description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><meta data-rh=true property=og:description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/skills /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/skills","name":"Skills","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/skills" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Skills | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/skills /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Skills | Mercury"/><meta data-rh=true name=description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><meta data-rh=true property=og:description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/skills /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/skills","name":"Skills","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Skills</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Skills</h1></header><p>Skills are markdown-based extensions that live in <code>~/.mercury/skills/&lt;name>/SKILL.md</code>.</p>
diff --git a/docs/docs/releases.html b/docs/docs/releases.html
index de149f46..b84602cd 100644
--- a/docs/docs/releases.html
+++ b/docs/docs/releases.html
@@ -1,8 +1,9 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/releases" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Releases | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Releases | Mercury"/><meta data-rh=true name=description content="This section tracks Mercury release notes by version."/><meta data-rh=true property=og:description content="This section tracks Mercury release notes by version."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/","name":"Releases","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/releases" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Releases | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Releases | Mercury"/><meta data-rh=true name=description content="This section tracks Mercury release notes by version."/><meta data-rh=true property=og:description content="This section tracks Mercury release notes by version."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/","name":"Releases","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Releases</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Releases</h1></header><p>This section tracks Mercury release notes by version.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases/1.1.7><span title=v1.1.7 class=linkLabel_WmDU>v1.1.7</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Releases</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Releases</h1></header><p>This section tracks Mercury release notes by version.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=available-release-notes>Available release notes<a href=#available-release-notes class=hash-link aria-label="Direct link to Available release notes" title="Direct link to Available release notes" translate=no>​</a></h2>
<ul>
+<li class=""><a class="" href=/docs/releases/1.1.7>v1.1.7</a></li>
<li class=""><a class="" href=/docs/releases/1.1.6>v1.1.6</a></li>
-</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/releases.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/skills><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Skills</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/releases/1.1.6><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>v1.1.6</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#available-release-notes class="table-of-contents__link toc-highlight">Available release notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/releases.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/skills><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Skills</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/releases/1.1.7><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>v1.1.7</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#available-release-notes class="table-of-contents__link toc-highlight">Available release notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/releases/1.1.6.html b/docs/docs/releases/1.1.6.html
index 26b9d205..bc24af25 100644
--- a/docs/docs/releases/1.1.6.html
+++ b/docs/docs/releases/1.1.6.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/1.1.6" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>v1.1.6 | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases/1.1.6 /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="v1.1.6 | Mercury"/><meta data-rh=true name=description content="Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."/><meta data-rh=true property=og:description content="Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases/1.1.6 /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.6 hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.6 hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/1.1.6","name":"v1.1.6","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/1.1.6" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>v1.1.6 | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases/1.1.6 /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="v1.1.6 | Mercury"/><meta data-rh=true name=description content="Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."/><meta data-rh=true property=og:description content="Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases/1.1.6 /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.6 hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.6 hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/1.1.6","name":"v1.1.6","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>v1.1.6</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>v1.1.6</h1></header><p>Release <code>1.1.6</code> focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases/1.1.7><span title=v1.1.7 class=linkLabel_WmDU>v1.1.7</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>v1.1.6</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>v1.1.6</h1></header><p>Release <code>1.1.6</code> focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=highlights>Highlights<a href=#highlights class=hash-link aria-label="Direct link to Highlights" title="Direct link to Highlights" translate=no>​</a></h2>
<ul>
<li class="">New Ink-based interactive TUI with improved startup, status, and activity views.</li>
@@ -64,4 +64,4 @@
<ul>
<li class="">This release includes broad UX/system changes across TUI, background execution, and docs.</li>
<li class="">For provider/model management, use <code>mercury doctor</code> to configure and <code>/models</code> to switch session model.</li>
-</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.6.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/releases><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Releases</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#highlights class="table-of-contents__link toc-highlight">Highlights</a><li><a href=#clitui-improvements class="table-of-contents__link toc-highlight">CLI/TUI Improvements</a><li><a href=#workspace--coding class="table-of-contents__link toc-highlight">Workspace + Coding</a><li><a href=#background-tasks--sub-agents class="table-of-contents__link toc-highlight">Background Tasks + Sub-Agents</a><li><a href=#spotify class="table-of-contents__link toc-highlight">Spotify</a><li><a href=#docs class="table-of-contents__link toc-highlight">Docs</a><li><a href=#notes class="table-of-contents__link toc-highlight">Notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.6.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/releases/1.1.7><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>v1.1.7</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#highlights class="table-of-contents__link toc-highlight">Highlights</a><li><a href=#clitui-improvements class="table-of-contents__link toc-highlight">CLI/TUI Improvements</a><li><a href=#workspace--coding class="table-of-contents__link toc-highlight">Workspace + Coding</a><li><a href=#background-tasks--sub-agents class="table-of-contents__link toc-highlight">Background Tasks + Sub-Agents</a><li><a href=#spotify class="table-of-contents__link toc-highlight">Spotify</a><li><a href=#docs class="table-of-contents__link toc-highlight">Docs</a><li><a href=#notes class="table-of-contents__link toc-highlight">Notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/releases/1.1.7.html b/docs/docs/releases/1.1.7.html
new file mode 100644
index 00000000..69c936b6
--- /dev/null
+++ b/docs/docs/releases/1.1.7.html
@@ -0,0 +1,79 @@
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/1.1.7" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>v1.1.7 | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases/1.1.7 /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="v1.1.7 | Mercury"/><meta data-rh=true name=description content="Release 1.1.7 brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot."/><meta data-rh=true property=og:description content="Release 1.1.7 brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases/1.1.7 /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.7 hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.7 hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/1.1.7","name":"v1.1.7","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
+<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
+</defs></svg>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases/1.1.7><span title=v1.1.7 class=linkLabel_WmDU>v1.1.7</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>v1.1.7</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>v1.1.7</h1></header><p>Release <code>1.1.7</code> brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=highlights>Highlights<a href=#highlights class=hash-link aria-label="Direct link to Highlights" title="Direct link to Highlights" translate=no>​</a></h2>
+<ul>
+<li class=""><strong>ChatGPT Web provider</strong> — use your ChatGPT Plus/Pro subscription directly, with OAuth device flow authentication.</li>
+<li class=""><strong>GitHub Copilot provider</strong> — authenticate via GitHub OAuth and use Copilot models as a Mercury provider.</li>
+<li class=""><strong>Mercury Autopilot</strong> — AI-based loop detection that analyzes parameter diversity and success rates to distinguish productive work from stuck loops, with auto-abort capability.</li>
+<li class=""><strong>Real-time progress system</strong> — live status cards with step tracking, elapsed timers, and collapsed tool execution history.</li>
+<li class=""><strong>Completion banners</strong> — task summaries with elapsed time, step count, model used, and token usage/budget metrics.</li>
+<li class=""><strong>Interactive Killipi mascot</strong> — hero centerpiece on the landing page with cursor tracking, expressions, and ambient glow effects.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=new-providers>New Providers<a href=#new-providers class=hash-link aria-label="Direct link to New Providers" title="Direct link to New Providers" translate=no>​</a></h2>
+<ul>
+<li class="">Added <strong>ChatGPT Web</strong> provider with full OAuth device flow. Authenticate with your ChatGPT Plus or Pro subscription and use it as a Mercury backend.</li>
+<li class="">Added <strong>GitHub Copilot</strong> provider with OAuth device flow and Copilot token exchange.</li>
+<li class="">Moved ChatGPT Plus/Pro OAuth option under the OpenAI provider group during onboarding.</li>
+<li class="">Fixed ChatGPT Web inclusion in the configured providers list and default selector.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=mercury-autopilot-loop-detection>Mercury Autopilot (Loop Detection)<a href=#mercury-autopilot-loop-detection class=hash-link aria-label="Direct link to Mercury Autopilot (Loop Detection)" title="Direct link to Mercury Autopilot (Loop Detection)" translate=no>​</a></h2>
+<ul>
+<li class="">Implemented AI-based loop detection with auto-abort capability.</li>
+<li class="">Replaced inline tool loop detection with a dedicated <code>ToolCallLoopDetector</code> module.</li>
+<li class="">Smart repetition analysis evaluates parameter diversity and success rate to classify work as productive, suspicious, or stuck.</li>
+<li class="">Added strict tool usage guidelines to the system prompt to reduce unnecessary repetition.</li>
+<li class="">Increased tool loop tolerance thresholds to avoid false positives on legitimate multi-step tasks.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=real-time-progress--completion>Real-Time Progress & Completion<a href=#real-time-progress--completion class=hash-link aria-label="Direct link to Real-Time Progress & Completion" title="Direct link to Real-Time Progress & Completion" translate=no>​</a></h2>
+<ul>
+<li class="">New progress tracking system with <code>/progress</code> command and foreground heartbeat alerts.</li>
+<li class="">Live status bar displays a "processing" label before the first tool step occurs.</li>
+<li class="">Tool steps are hidden while the agent is in thinking state, shown only when actively executing.</li>
+<li class="">Collapsed tool execution history tracked and displayed in agent progress notifications.</li>
+<li class="">Completion banners now include elapsed time, step count, and token usage/budget metrics.</li>
+<li class="">Completion banners are constrained to substantial tasks — minor step-based interactions no longer trigger them.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=cli--tui-improvements>CLI / TUI Improvements<a href=#cli--tui-improvements class=hash-link aria-label="Direct link to CLI / TUI Improvements" title="Direct link to CLI / TUI Improvements" translate=no>​</a></h2>
+<ul>
+<li class=""><strong>Slash command suggestions</strong> — type <code>/</code> and get autocomplete suggestions with arrow-key navigation and Enter selection.</li>
+<li class=""><strong>Multi-line input</strong> — Shift+Enter for new lines (later rebound to Ctrl+N).</li>
+<li class=""><strong>Input cursor support</strong> — proper cursor positioning in the TUI input field.</li>
+<li class=""><strong>Choice prompt selection</strong> — interactive prompts for CLI agent interactions.</li>
+<li class=""><strong>Scrollable Agent Output panel</strong> — replaces the old static chat view in the workspace.</li>
+<li class=""><strong>Workspace focus management</strong> — keyboard navigation between panels with scrolling and chat toggling.</li>
+<li class=""><strong>View toggle</strong> rebound to Ctrl+T with improved input sanitization.</li>
+<li class=""><strong>Dynamic thinking status indicators</strong> in the UI header.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=telegram>Telegram<a href=#telegram class=hash-link aria-label="Direct link to Telegram" title="Direct link to Telegram" translate=no>​</a></h2>
+<ul>
+<li class="">Implemented Telegram-specific task lifecycle with message deferral and structured help documentation.</li>
+<li class="">Ephemeral message tracking and cleanup — permission prompts and transient messages auto-delete after handling.</li>
+<li class="">Telegram help command now shows a clean, Telegram-formatted reference with only Telegram-relevant commands.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=permissions--safety>Permissions & Safety<a href=#permissions--safety class=hash-link aria-label="Direct link to Permissions & Safety" title="Direct link to Permissions & Safety" translate=no>​</a></h2>
+<ul>
+<li class=""><strong>Interactive write approval</strong> — file write operations now prompt with a clear approval flow.</li>
+<li class=""><strong>Safe read-only allowlist</strong> — shell commands like <code>ls</code>, <code>cat</code>, <code>find</code>, <code>grep</code>, <code>git status</code>, <code>git log</code>, and <code>git diff</code> are auto-approved without prompting.</li>
+<li class=""><strong>Persistent plan tracking</strong> and read-only tool restrictions for programming mode.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=background-tasks>Background Tasks<a href=#background-tasks class=hash-link aria-label="Direct link to Background Tasks" title="Direct link to Background Tasks" translate=no>​</a></h2>
+<ul>
+<li class="">Human-readable background task IDs (e.g., <code>task-alpha</code>, <code>task-bravo</code>) replace opaque numeric IDs.</li>
+<li class="">Mass task termination support via <code>/bg cancel all</code>.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=documentation--website>Documentation & Website<a href=#documentation--website class=hash-link aria-label="Direct link to Documentation & Website" title="Direct link to Documentation & Website" translate=no>​</a></h2>
+<ul>
+<li class="">Full visual redesign of the landing page with updated color palette and refined layout.</li>
+<li class="">Interactive Killipi mascot added to the hero section — eyes follow cursor, click for expressions, ambient particle effects.</li>
+<li class="">Fixed Docusaurus admonition rendering — updated all <code>:::tip</code>, <code>:::info</code>, <code>:::warning</code> blocks to use the v3 directive label syntax (<code>:::type[Title]</code>).</li>
+<li class="">Fixed mobile sidebar visibility in dark mode with explicit background and text color overrides.</li>
+<li class="">Expanded documentation for sub-agents, Spotify integration, autopilot, and provider configuration.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=notes>Notes<a href=#notes class=hash-link aria-label="Direct link to Notes" title="Direct link to Notes" translate=no>​</a></h2>
+<ul>
+<li class="">This release includes 35 commits with +3,829 lines of new source code across 25 files.</li>
+<li class="">New keyboard shortcut for multi-line input: Ctrl+N (changed from Shift+Enter).</li>
+<li class="">View toggle shortcut changed to Ctrl+T.</li>
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.7.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/releases><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Releases</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/releases/1.1.6><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>v1.1.6</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#highlights class="table-of-contents__link toc-highlight">Highlights</a><li><a href=#new-providers class="table-of-contents__link toc-highlight">New Providers</a><li><a href=#mercury-autopilot-loop-detection class="table-of-contents__link toc-highlight">Mercury Autopilot (Loop Detection)</a><li><a href=#real-time-progress--completion class="table-of-contents__link toc-highlight">Real-Time Progress & Completion</a><li><a href=#cli--tui-improvements class="table-of-contents__link toc-highlight">CLI / TUI Improvements</a><li><a href=#telegram class="table-of-contents__link toc-highlight">Telegram</a><li><a href=#permissions--safety class="table-of-contents__link toc-highlight">Permissions & Safety</a><li><a href=#background-tasks class="table-of-contents__link toc-highlight">Background Tasks</a><li><a href=#documentation--website class="table-of-contents__link toc-highlight">Documentation & Website</a><li><a href=#notes class="table-of-contents__link toc-highlight">Notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 683e9e35..a34f6ad0 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,9 +1,4 @@
-<!doctype html><html lang=en dir=ltr data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Mercury — Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true name=description content="The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling."/><meta data-rh=true property=og:title content="Mercury — Soul-Driven AI Agent with Permission Guardrails"/><meta data-rh=true property=og:description content="The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram."/><meta data-rh=true property=og:type content=website /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true name=twitter:title content="Mercury — Soul-Driven AI Agent with Permission Guardrails"/><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/ /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=x-default /><script data-rh=true>document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()});function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container",n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span> (default value)</p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Mercury — AI Agent That Thinks, Acts, and Asks Permission</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true name=description content="An AI coding agent with real-time progress, multi-agent orchestration, intelligent loop detection, and hardened permissions. Runs 24/7 from CLI or Telegram."/><meta data-rh=true property=og:title content="Mercury — AI Agent That Thinks, Acts, and Asks Permission"/><meta data-rh=true property=og:description content="An AI coding agent with real-time progress, multi-agent orchestration, and hardened permissions. Runs 24/7 from CLI or Telegram."/><meta data-rh=true property=og:type content=website /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true name=twitter:title content="Mercury — AI Agent That Thinks, Acts, and Asks Permission"/><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/ /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=x-default /><script data-rh=true>document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()});function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container",n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span> (default value)</p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div class=lp-page><nav class=lp-nav><div class=lp-nav-inner><a class=lp-nav-logo href=/>☿ Mercury</a><div class="lp-nav-links "><a href=/#features>Features</a><a href=/#how-it-works>Install</a><a href=/#demo>Demo</a><a href=/#capabilities>Capabilities</a><a href=/#github>GitHub</a><a href=/#compare>Compare</a><a href=/docs>Docs</a></div><div class=lp-nav-right><a href=https://github.com/cosmicstack-labs/mercury-agent class=lp-github-btn target=_blank rel=noopener><svg viewBox="0 0 16 16" width=16 height=16 fill=currentColor style=vertical-align:-2px><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span class=lp-github-btn-count> ⭐</span></a><button class=lp-nav-toggle aria-label=Menu>☰</button></div></div></nav><section class=lp-hero><div class=lp-hero-bg></div><div class="lp-container lp-hero-content"><pre class=lp-hero-ascii aria-hidden=true>
- __ _____________ ________ ________ __
- / |/ / ____/ __ \/ ____/ / / / __ \ \/ /
- / /|_/ / __/ / /_/ / / / / / / /_/ /\ /
- / / / / /___/ _, _/ /___/ /_/ / _, _/ / /
-/_/ /_/_____/_/ |_|\____/\____/_/ |_| /_/</pre><p class=lp-hero-tagline>Soul-driven. Token-efficient. Always on.<p class=lp-hero-sub>Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and hardened permissions. Runs 24/7 from your terminal or Telegram.<div class=lp-hero-actions><a href=#how-it-works class="lp-btn lp-btn-primary">Get Started</a><a href=#demo class="lp-btn lp-btn-secondary">See it in action</a><a class="lp-btn lp-btn-secondary" href=/docs>Read Docs</a></div><div class=lp-hero-install><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><div class="lp-terminal-window lp-hero-terminal"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>terminal</span></div><div class=lp-terminal-body></div></div></div></section><section id=features class=lp-section><div class=lp-container><h2 class=lp-section-title>Built Different</h2><p class=lp-section-sub>Not another chatbot. An orchestrator that works for you.<div class=lp-features-grid><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>☿</div><h3>Soul-Driven Identity</h3><p>Mercury isn't a blank slate. Its personality is defined by markdown soul files — soul.md, persona.md, taste.md, heartbeat.md — that you control.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>⚡</div><h3>Token-Efficient</h3><p>Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>♾</div><h3>Always On</h3><p>Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>📡</div><h3>Multi-Channel</h3><p>CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🤖</div><h3>Sub-Agents</h3><p>Spawn parallel AI agents for concurrent tasks. Mercury orchestrates — research, code, and review run simultaneously. Non-blocking: keep chatting while agents work.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🎵</div><h3>Spotify Integration</h3><p>Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue — all through natural language.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🧩</div><h3>Skill System</h3><p>Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🛡</div><h3>Permission Hardened</h3><p>Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session.</div></div></div></section><section id=second-brain class="lp-section lp-section-alt"><div class=lp-container><h2 class=lp-section-title>🧠 Second Brain</h2><p class=lp-section-sub>Most AI agents forget everything when you close the chat. Mercury <em>remembers</em> — automatically, privately, and with surgical precision.<div class=lp-brain-grid><div class="lp-brain-card lp-reveal"><h3>Learns Automatically</h3><p>After each conversation, Mercury extracts facts about you — your preferences, goals, projects, habits, relationships, and decisions.</div><div class="lp-brain-card lp-reveal"><h3>Recalls What Matters</h3><p>Only memories relevant to the current conversation are injected — up to 5 facts within a 900-character budget.</div><div class="lp-brain-card lp-reveal"><h3>Resolves Conflicts</h3><p>When Mercury detects a contradiction, the higher-confidence memory wins. No stale data.</div><div class="lp-brain-card lp-reveal"><h3>10 Memory Types</h3><p>Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection — each scored by confidence, importance, and durability.</div><div class="lp-brain-card lp-reveal"><h3>Auto-Consolidation</h3><p>Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects.</div><div class="lp-brain-card lp-reveal"><h3>You Stay in Control</h3><p>/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite — nothing leaves.</div></div></div></section><section id=how-it-works class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Up and Running in 60 Seconds</h2><div class=lp-steps><div class="lp-step lp-reveal"><div class=lp-step-number>1</div><h3>Install</h3><div class=lp-terminal-inline><code>npm i -g @cosmicstack/mercury-agent</code></div><p>Or use npx @cosmicstack/mercury-agent — no install needed.</div><div class="lp-step lp-reveal"><div class=lp-step-number>2</div><h3>Setup</h3><div class=lp-terminal-inline><code>mercury</code></div><p>First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram.</div><div class="lp-step lp-reveal"><div class=lp-step-number>3</div><h3>Run</h3><div class=lp-terminal-inline><code>mercury start</code></div><p>Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon.</div></div></div></section><section id=demo class=lp-section><div class=lp-container><h2 class=lp-section-title>See It Work</h2><p class=lp-section-sub>A real Mercury session — tool calls, streaming, files, and scheduling.<div class=lp-terminal-window style="max-width:760px;margin:0 auto"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>mercury</span></div><div class=lp-terminal-body></div></div></div></section><section id=capabilities class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>31 Built-In Tools</h2><p class=lp-section-sub>Plus extensible skills, scheduling, and memory.<div class=lp-caps-grid><div class="lp-cap-group lp-reveal"><h3>📂 Filesystem</h3><ul><li>read_file — Read file contents<li>write_file — Write to existing file<li>create_file — Create new files (+ dirs)<li>edit_file — Search & replace text<li>list_dir — List directory contents<li>delete_file — Delete a file<li>send_file — Send file to user<li>approve_scope — Request directory access</ul></div><div class="lp-cap-group lp-reveal"><h3>💬 Messaging</h3><ul><li>send_message — Send a message to approved Telegram recipients</ul></div><div class="lp-cap-group lp-reveal"><h3>🐚 Shell</h3><ul><li>run_command — Execute shell commands<li>cd — Change working directory<li>approve_command — Permanently approve a command</ul></div><div class="lp-cap-group lp-reveal"><h3>📦 Git</h3><ul><li>git_status — Working tree status<li>git_diff — Show file changes<li>git_log — Commit history<li>git_add — Stage files<li>git_commit — Create commits<li>git_push — Push to remote</ul></div><div class="lp-cap-group lp-reveal"><h3>🐙 GitHub</h3><ul><li>create_pr — Create pull requests<li>review_pr — Review PRs + post comments<li>list_issues — List & filter issues<li>create_issue — Create new issues<li>github_api — Raw API access<li>Co-authored-by on every commit</ul></div><div class="lp-cap-group lp-reveal"><h3>🎵 Spotify</h3><ul><li>spotify_search — Search tracks, artists, albums, playlists<li>spotify_play — Play on your devices<li>spotify_pause/next/previous — Playback controls<li>spotify_now_playing — What's playing + progress bar<li>spotify_devices — List & select devices<li>spotify_like/top_tracks/playlists — Library access<li>spotify_volume/shuffle/repeat/queue — Full player control</ul></div><div class="lp-cap-group lp-reveal"><h3>🤖 Sub-Agents</h3><ul><li>delegate_task — Spawn parallel AI agents<li>list_agents — Monitor running agents<li>stop_agent — Halt a specific agent<li>/agents — See all agents + status<li>/halt — Emergency stop all agents<li>File locks for concurrent safety<li>Auto-concurrency from CPU/RAM</ul></div><div class="lp-cap-group lp-reveal"><h3>🧩 Skills</h3><ul><li>install_skill — Install from URL or content<li>list_skills — Show installed skills<li>use_skill — Invoke a skill</ul></div><div class="lp-cap-group lp-reveal"><h3>⏰ Scheduler</h3><ul><li>schedule_task — Cron or one-shot tasks<li>list_scheduled_tasks — View all tasks<li>cancel_scheduled_task — Cancel a task</ul></div><div class="lp-cap-group lp-reveal"><h3>📊 System</h3><ul><li>budget_status — Check token budget</ul></div><div class="lp-cap-group lp-reveal"><h3>🧠 Memory</h3><ul><li>Short-term — Recent conversation per channel<li>Long-term — Auto-extracted facts with dedup<li>Episodic — Timestamped interaction log</ul></div></div></div></section><section id=compare class=lp-section><div class=lp-container><h2 class=lp-section-title>Honest Comparison</h2><p class=lp-section-sub>We built Mercury because nothing else did all of this.<div class="lp-compare-table lp-reveal"><table><thead><tr><th>Feature<th class=lp-highlight>Mercury<th>Open Interpreter<th>Claude Code<tbody><tr><td>Soul / Persona System<td class=lp-highlight>4 markdown files<td class=lp-partial>Custom instructions<td class=lp-partial>CLAUDE.md<tr><td>Token Budget<td class=lp-highlight>Daily budget + override<td class=lp-no>—<td class=lp-no>—<tr><td>Multi-Channel<td class=lp-highlight>CLI + Telegram + more<td class=lp-partial>All<td class=lp-partial>All<tr><td>Sub-Agents<td class=lp-highlight>Parallel AI workers, non-blocking<td class=lp-no>—<td class=lp-no>—<tr><td>Spotify Integration<td class=lp-highlight>Native playback + DJ mode<td class=lp-no>—<td class=lp-no>—<tr><td>Skill System<td class=lp-highlight>Install, invoke, schedule<td class=lp-no>—<td class=lp-no>—<tr><td>Cron + Delayed Scheduling<td class=lp-highlight>Persisted, auto-restore<td class=lp-no>—<td class=lp-no>—<tr><td>Permission Hardening<td class=lp-highlight>Blocklist + scope + approval<td class=lp-partial>Confirmation prompts<td class=lp-partial>Permission prompts<tr><td>GitHub Companion<td class=lp-highlight>PRs, issues, co-authored commits<td class=lp-no>—<td class=lp-no>—<tr><td>Proactive Notifications<td class=lp-highlight>Heartbeat + task alerts<td class=lp-no>—<td class=lp-no>—<tr><td>Auto Fact Extraction<td class=lp-highlight>With dedup<td class=lp-no>—<td class=lp-no>—<tr><td>Provider Fallback<td class=lp-highlight>Auto with last-successful<td class=lp-partial>Manual config<td class=lp-partial>Anthropic only<tr><td>File Upload (Telegram)<td class=lp-highlight>Auto type detection<td class=lp-no>—<td class=lp-no>—<tr><td>Streaming Output<td class=lp-highlight>Real-time text stream<td class=lp-partial>Real-time text stream<td class=lp-partial>Real-time text stream<tr><td>Headless / 24-7<td class=lp-highlight>Built-in<td class=lp-no>—<td class=lp-no>—<tr><td>Language<td class=lp-highlight>TypeScript / Node.js<td class=lp-partial>Python<td class=lp-partial>TypeScript / Node.js<tr><td>Open Source<td class=lp-highlight>MIT<td class=lp-partial>LGPL-2.1<td class=lp-partial>Source-available</table></div></div></section><section id=architecture class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Under the Hood</h2><p class=lp-section-sub>Minimal runtime, maximum capability.<div class=lp-arch-grid><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Core</div><div class=lp-arch-value>TypeScript + Node.js 18+</div><div class=lp-arch-desc>ESM, tsup build, SQLite-backed second brain</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>AI SDK</div><div class=lp-arch-value>Vercel AI SDK v6</div><div class=lp-arch-desc>streamText + generateText, 10-step agentic loop</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Sub-Agents</div><div class=lp-arch-value>Same-process async coroutines</div><div class=lp-arch-desc>Parallel task delegation, file locks, resource-aware concurrency</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Spotify</div><div class=lp-arch-value>Native Web API integration</div><div class=lp-arch-desc>OAuth2 auth, 14 tools, DJ mode skill, Premium + free support</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Providers</div><div class=lp-arch-value>DeepSeek · OpenAI · Anthropic · Grok · Ollama Cloud · Ollama Local</div><div class=lp-arch-desc>Validated onboarding, model discovery, and fallback with last-successful tracking</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Memory</div><div class=lp-arch-value>JSONL + SQLite</div><div class=lp-arch-desc>Short-term, long-term, episodic + second brain</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Telegram</div><div class=lp-arch-value>grammY</div><div class=lp-arch-desc>Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Runtime Data</div><div class=lp-arch-value>~/.mercury/</div><div class=lp-arch-desc>Config, soul, memory, permissions, skills, schedules — all in your home dir</div></div></div></div></section><section id=providers class=lp-section><div class=lp-container><h2 class=lp-section-title>Supported Providers</h2><p class=lp-section-sub>Pick one or stack them all. Mercury falls back automatically.<div class="lp-provider-grid lp-reveal"><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>DeepSeek</h3><p>Default provider. Cost-effective with strong reasoning.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>OpenAI</h3><p>GPT-4o-mini, GPT-4o, o3. Industry standard.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Anthropic</h3><p>Claude Sonnet, Haiku, Opus. Nuanced reasoning.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Grok (xAI)</h3><p>xAI's models. OpenAI-compatible endpoint.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Ollama Cloud</h3><p>Remote Ollama models via API. No local setup.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Ollama Local</h3><p>On your machine. Zero API cost, fully private.</div></div></div><div class=lp-provider-note><p>More providers on the way — Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints.</div></div></section><section id=cta class="lp-section lp-cta-section"><div class=lp-container><h2 class=lp-section-title>Ready to Deploy Your Agent?</h2><div class=lp-cta-terminal><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><p class=lp-cta-sub>That's it. 60 seconds to your own AI agent with GitHub companion.<div class=lp-cta-links><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel=noopener>GitHub →</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues target=_blank rel=noopener>Report an Issue →</a></div></div></section><footer class=lp-footer><div class="lp-container lp-footer-inner"><div><span class=lp-footer-logo>☿ Mercury</span><span class=lp-footer-tagline>by Cosmic Stack</span></div><div class=lp-footer-links><a href=/docs>Docs</a><a href=https://mercury.cosmicstack.org>mercury.cosmicstack.org</a><a href=https://github.com/cosmicstack-labs/mercury-agent>GitHub</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues>Issues</a></div></div></footer></div></div></body>
\ No newline at end of file
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div class=lp-page><nav class=lp-nav><div class=lp-nav-inner><a class=lp-nav-logo href=/><span class=lp-nav-logo-icon>☿</span> Mercury</a><div class="lp-nav-links "><a href=/#pillars>Features</a><a href=/#live-demo>Demo</a><a href=/#channels>Channels</a><a href=/#agents>Multi-Agent</a><a href=/#compare>Compare</a><a href=/docs>Docs</a></div><div class=lp-nav-right><a href=https://github.com/cosmicstack-labs/mercury-agent class=lp-github-btn target=_blank rel=noopener><svg viewBox="0 0 16 16" width=16 height=16 fill=currentColor><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg></a><button class=lp-nav-toggle aria-label=Menu>☰</button></div></div></nav><section class=lp-hero><div class=lp-hero-mesh></div><div class=lp-hero-glow></div><div class="lp-container lp-hero-content"><div class="killipi-container " style=transform:scale(1) role=img aria-label="Killipi — Mercury's mascot. Click to interact!"><div class="killipi-glow killipi-glow-1"></div><div class="killipi-glow killipi-glow-2"></div><div class=killipi-particles><div class=killipi-particle style=--particle-angle:0deg;--particle-delay:0s></div><div class=killipi-particle style=--particle-angle:45deg;--particle-delay:0.4s></div><div class=killipi-particle style=--particle-angle:90deg;--particle-delay:0.8s></div><div class=killipi-particle style=--particle-angle:135deg;--particle-delay:1.2000000000000002s></div><div class=killipi-particle style=--particle-angle:180deg;--particle-delay:1.6s></div><div class=killipi-particle style=--particle-angle:225deg;--particle-delay:2s></div><div class=killipi-particle style=--particle-angle:270deg;--particle-delay:2.4000000000000004s></div><div class=killipi-particle style=--particle-angle:315deg;--particle-delay:2.8000000000000003s></div></div><svg class=killipi-svg viewBox="60 55 80 100" xmlns=http://www.w3.org/2000/svg><defs><filter id=killipi-shadow><feDropShadow dx=0 dy=2 stdDeviation=3 flood-color=rgba(0,212,255,0.3) /></filter><radialGradient id=killipi-face-gradient cx=50% cy=40% r=50%><stop offset=0% stop-color=var(--killipi-face-highlight) /><stop offset=100% stop-color=var(--killipi-face-bg) /></radialGradient></defs><path d="M 80 78 Q 76 60 87 72" stroke=var(--killipi-stroke) stroke-width=2 fill=var(--killipi-face-bg) stroke-linecap=round /><path d="M 120 78 Q 124 60 113 72" stroke=var(--killipi-stroke) stroke-width=2 fill=var(--killipi-face-bg) stroke-linecap=round /><circle cx=100 cy=100 r=30 fill=url(#killipi-face-gradient) stroke=var(--killipi-stroke) stroke-width=2 class=killipi-outer-ring /><circle cx=90 cy=98 r=3.5 fill=var(--killipi-feature) /><circle cx=110 cy=98 r=3.5 fill=var(--killipi-feature) /><path d="M95,111 Q100,116 105,111" stroke=var(--killipi-feature) stroke-width=2 fill=none stroke-linecap=round /><line x1=100 y1=130 x2=100 y2=148 stroke=var(--killipi-stroke) stroke-width=2 /><line x1=93 y1=140 x2=107 y2=140 stroke=var(--killipi-stroke) stroke-width=2 stroke-linecap=round /></svg><div class=killipi-label></div></div><h1 class=lp-hero-title>The AI agent that<br/><span class=lp-hero-highlight>thinks, acts, and asks.</span></h1><p class=lp-hero-sub>Multi-agent orchestration. Real-time progress. Intelligent loop detection. 40+ tools. Permission guardrails. Runs 24/7 from your terminal or Telegram.<div class=lp-hero-actions><a href=#live-demo class="lp-btn lp-btn-primary">See It Work</a><a class="lp-btn lp-btn-secondary" href=/docs>Get Started</a></div><div class=lp-hero-install><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div></div></section><section id=pillars class=lp-section><div class=lp-container><h2 class=lp-section-title>Built Different</h2><p class=lp-section-sub>Three principles that define Mercury.<div class=lp-pillars><div class="lp-pillar lp-reveal"><div class=lp-pillar-icon><svg viewBox="0 0 24 24" width=32 height=32 fill=none stroke=currentColor stroke-width=1.5><circle cx=12 cy=12 r=10 /><path d="M12 6v6l4 2"/></svg></div><h3>Thinks</h3><p class=lp-pillar-lead>Mercury doesn't just execute. It orchestrates.<ul><li>Spawns parallel sub-agents for concurrent tasks<li>Mercury Autopilot detects stuck loops by analyzing parameter diversity and success rates<li>AI self-check in Allow All mode — the model evaluates its own progress<li>25-step agentic loop with graduated escalation</ul></div><div class="lp-pillar lp-reveal"><div class=lp-pillar-icon><svg viewBox="0 0 24 24" width=32 height=32 fill=none stroke=currentColor stroke-width=1.5><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg></div><h3>Acts</h3><p class=lp-pillar-lead>40+ built-in tools. Zero configuration.<ul><li>Filesystem, shell, git, GitHub PRs and issues<li>Spotify playback, search, playlists, and DJ mode<li>Markdown skill system with scheduling and elevation<li>Real-time progress with completion banners and token stats</ul></div><div class="lp-pillar lp-reveal"><div class=lp-pillar-icon><svg viewBox="0 0 24 24" width=32 height=32 fill=none stroke=currentColor stroke-width=1.5><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg></div><h3>Asks</h3><p class=lp-pillar-lead>Full control. Nothing happens without your say.<ul><li>Ask Me mode: prompts for every write, command, and scope change<li>Allow All mode: auto-approve with AI self-monitoring<li>Safe command whitelist — reads never prompt<li>Directory scoping with per-session memory</ul></div></div></div></section><section id=live-demo class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Watch Mercury Work</h2><p class=lp-section-sub>A real multi-step coding task with tool calls, progress tracking, and completion stats.<div class="lp-terminal-window lp-terminal-hero"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>mercury</span></div><div class=lp-terminal-body></div></div></div></section><section id=task-flow class=lp-section><div class=lp-container><h2 class=lp-section-title>Real-Time Task Intelligence</h2><p class=lp-section-sub>Mercury shows you exactly what's happening, when it's happening.<div class="lp-flow-timeline lp-reveal"><div class=lp-flow-step><div class=lp-flow-dot>1</div><div class=lp-flow-content><h4>Message</h4><p>You send a task. Mercury begins working.</div></div><div class=lp-flow-step><div class=lp-flow-dot>2</div><div class=lp-flow-content><h4>Status Card</h4><p>A single message appears showing live progress. On Telegram, it pins to the top.</div></div><div class=lp-flow-step><div class=lp-flow-dot>3</div><div class=lp-flow-content><h4>Tool Steps</h4><p>Each tool call updates the card in place — read, edit, run, create. Last 5 steps visible.</div></div><div class=lp-flow-step><div class=lp-flow-dot>4</div><div class=lp-flow-content><h4>Autopilot</h4><p>If Mercury detects a loop, it analyzes diversity and success rate. Productive work continues; stuck patterns stop.</div></div><div class=lp-flow-step><div class=lp-flow-dot>5</div><div class=lp-flow-content><h4>Complete</h4><p>Status card deleted. AI response + completion banner with token stats and budget usage.</div></div></div></div></section><section id=channels class="lp-section lp-section-alt"><div class=lp-container><h2 class=lp-section-title>Two Channels, One Agent</h2><p class=lp-section-sub>Same capabilities. Different interfaces. Both real-time.<div class="lp-channels-grid lp-reveal"><div class=lp-channel-card><div class=lp-channel-header><span class=lp-channel-icon>><!-- -->_</span><h3>CLI</h3></div><ul><li>Ink-based TUI with live progress view<li>Slash command autocomplete with arrow navigation<li>Workspace IDE mode with file explorer and git panel<li>Keyboard shortcuts: Ctrl+B (background), Ctrl+T (view), Ctrl+P (plan)<li>Multi-line input, input history, streaming output<li>Interactive Spotify player with seek and volume</ul></div><div class=lp-channel-card><div class=lp-channel-header><span class=lp-channel-icon>✈</span><h3>Telegram</h3></div><ul><li>Single pinned status card — one message shows all progress<li>Ephemeral permission prompts (auto-deleted after response)<li>15 bot commands registered in the menu<li>Inline keyboards for permissions and mode selection<li>File uploads with auto-type detection<li>Organization access model with admin/member roles</ul></div></div></div></section><section id=agents class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Multi-Agent Orchestration</h2><p class=lp-section-sub>Mercury spawns parallel agents. You keep chatting.<div class=lp-terminal-window style="max-width:760px;margin:0 auto"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>mercury — multi-agent</span></div><div class=lp-terminal-body></div></div><div class="lp-agent-features lp-reveal"><div class=lp-agent-feature><h4>Parallel Execution</h4><p>Multiple tasks run simultaneously in isolated context windows.</div><div class=lp-agent-feature><h4>File Locks</h4><p>Reader-writer locks prevent concurrent write conflicts between agents.</div><div class=lp-agent-feature><h4>Resource-Aware</h4><p>Max concurrent agents auto-detected from CPU and RAM.</div><div class=lp-agent-feature><h4>Non-Blocking</h4><p>Keep chatting while agents work. Get notified when they finish.</div></div></div></section><section id=autopilot class=lp-section><div class=lp-container><h2 class=lp-section-title>Mercury Autopilot</h2><p class=lp-section-sub>Intelligent loop detection that knows the difference between working hard and going in circles.<div class="lp-autopilot-grid lp-reveal"><div class=lp-autopilot-card><div class="lp-autopilot-verdict lp-verdict-productive">Productive</div><p>High parameter diversity (<!-- -->><!-- --> 60%) and success rate (<!-- -->><!-- --> 70%). Mercury continues without interruption.</div><div class=lp-autopilot-card><div class="lp-autopilot-verdict lp-verdict-suspicious">Suspicious</div><p>Moderate repetition detected. In Allow All: AI self-check evaluates progress. In Ask Me: prompts you.</div><div class=lp-autopilot-card><div class="lp-autopilot-verdict lp-verdict-stuck">Stuck</div><p>Low diversity and high failure rate. Mercury stops the current execution path automatically.</div></div></div></section><section id=memory class="lp-section lp-section-alt"><div class=lp-container><h2 class=lp-section-title>Second Brain</h2><p class=lp-section-sub>Mercury remembers — automatically, privately, and with surgical precision.<div class=lp-brain-grid><div class="lp-brain-card lp-reveal"><h3>Learns Automatically</h3><p>After each conversation, Mercury extracts facts — preferences, goals, projects, habits, decisions.</div><div class="lp-brain-card lp-reveal"><h3>Recalls What Matters</h3><p>Only relevant memories injected — up to 5 facts within a 900-character budget per request.</div><div class="lp-brain-card lp-reveal"><h3>Resolves Conflicts</h3><p>When Mercury detects a contradiction, the higher-confidence memory wins. No stale data.</div><div class="lp-brain-card lp-reveal"><h3>10 Memory Types</h3><p>Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection.</div><div class="lp-brain-card lp-reveal"><h3>Auto-Consolidation</h3><p>Hourly synthesis of profile summaries and reflections from detected patterns.</div><div class="lp-brain-card lp-reveal"><h3>Fully Local</h3><p>All data stays on your machine in SQLite. /memory gives you overview, search, pause, and clear.</div></div></div></section><section id=providers class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Any Provider. Automatic Fallback.</h2><p class=lp-section-sub>Configure one or stack them all. Mercury falls back automatically and tracks which provider last succeeded.<div class="lp-provider-grid lp-reveal"><div class=lp-provider-card><h4>ChatGPT Web<!-- --> <span class=lp-provider-badge>NEW</span></h4><p>Use your ChatGPT Plus/Pro subscription. OAuth login, no API key.</div><div class=lp-provider-card><h4>GitHub Copilot<!-- --> <span class=lp-provider-badge>NEW</span></h4><p>Your Copilot subscription — access OpenAI, Anthropic, and Google models.</div><div class=lp-provider-card><h4>DeepSeek<!-- --> </h4><p>Cost-effective with strong reasoning. Default provider.</div><div class=lp-provider-card><h4>OpenAI<!-- --> </h4><p>GPT-4o-mini, GPT-4o, o3. Industry standard.</div><div class=lp-provider-card><h4>Anthropic<!-- --> </h4><p>Claude Sonnet, Haiku, Opus. Nuanced reasoning.</div><div class=lp-provider-card><h4>Grok (xAI)<!-- --> </h4><p>xAI's models via OpenAI-compatible endpoint.</div><div class=lp-provider-card><h4>Ollama Cloud<!-- --> </h4><p>Remote Ollama models via API. No local setup.</div><div class=lp-provider-card><h4>Ollama Local<!-- --> </h4><p>On your machine. Zero cost, fully private.</div></div><div class=lp-provider-note><p>API key or OAuth — your choice. ChatGPT Web and GitHub Copilot authenticate through your browser. Switch models mid-session with <code>/models use</code>.</div></div></section><section id=compare class=lp-section><div class=lp-container><h2 class=lp-section-title>Honest Comparison</h2><p class=lp-section-sub>We built Mercury because nothing else did all of this.<div class="lp-compare-table lp-reveal"><table><thead><tr><th>Feature<th class=lp-highlight>Mercury<th>Open Interpreter<th>Claude Code<tbody><tr><td>Multi-Agent Orchestration<td class=lp-highlight>Parallel workers + file locks<td class=lp-no>—<td class=lp-no>—<tr><td>Loop Detection (Autopilot)<td class=lp-highlight>Diversity + success analysis<td class=lp-no>—<td class=lp-no>—<tr><td>Real-Time Progress<td class=lp-highlight>Single edited status card + pin<td class=lp-no>—<td class=lp-no>—<tr><td>Permission Modes<td class=lp-highlight>Ask Me / Allow All + safe whitelist<td class=lp-partial>Confirmation prompts<td class=lp-partial>Permission prompts<tr><td>Telegram Integration<td class=lp-highlight>Inline keyboards, pinned progress, org access<td class=lp-no>—<td class=lp-no>—<tr><td>Token Budget<td class=lp-highlight>Daily budget + override + color-coded stats<td class=lp-no>—<td class=lp-no>—<tr><td>Spotify Integration<td class=lp-highlight>Native playback + DJ mode + 14 tools<td class=lp-no>—<td class=lp-no>—<tr><td>Skill System<td class=lp-highlight>Install, invoke, schedule with elevation<td class=lp-no>—<td class=lp-no>—<tr><td>Soul / Persona System<td class=lp-highlight>4 markdown files<td class=lp-partial>Custom instructions<td class=lp-partial>CLAUDE.md<tr><td>GitHub Companion<td class=lp-highlight>PRs, issues, co-authored commits<td class=lp-no>—<td class=lp-no>—<tr><td>Provider Fallback<td class=lp-highlight>Auto with last-successful tracking<td class=lp-partial>Manual config<td class=lp-partial>Anthropic only<tr><td>Second Brain<td class=lp-highlight>Auto-extract, 10 types, conflict resolution<td class=lp-no>—<td class=lp-no>—<tr><td>Workspace IDE<td class=lp-highlight>File explorer, git panel, keyboard shortcuts<td class=lp-no>—<td class=lp-no>—<tr><td>24/7 Headless<td class=lp-highlight>Daemon + system service + cron scheduling<td class=lp-no>—<td class=lp-no>—<tr><td>Open Source<td class=lp-highlight>MIT<td class=lp-partial>LGPL-2.1<td class=lp-partial>Source-available</table></div></div></section><section id=install class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Up and Running in 60 Seconds</h2><div class=lp-install-steps><div class="lp-install-step lp-reveal"><div class=lp-install-num>1</div><div><h4>Install</h4><div class=lp-terminal-inline><code>npm i -g @cosmicstack/mercury-agent</code></div></div></div><div class="lp-install-step lp-reveal"><div class=lp-install-num>2</div><div><h4>Setup</h4><div class=lp-terminal-inline><code>mercury</code></div><p>Onboarding wizard: choose providers, validate keys, pair Telegram.</div></div><div class="lp-install-step lp-reveal"><div class=lp-install-num>3</div><div><h4>Run</h4><div class=lp-terminal-inline><code>mercury up</code></div><p>Starts as a daemon. Auto-restarts on crash. Runs 24/7.</div></div></div></div></section><section id=cta class="lp-section lp-cta-section"><div class=lp-container><h2 class=lp-section-title>Deploy Your Agent</h2><div class=lp-cta-terminal><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><p class=lp-cta-sub>60 seconds to your own AI agent.<div class=lp-cta-links><a href=/docs>Documentation</a><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel=noopener>GitHub</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues target=_blank rel=noopener>Report an Issue</a></div></div></section><footer class=lp-footer><div class="lp-container lp-footer-inner"><div><span class=lp-footer-logo>☿ Mercury</span><span class=lp-footer-tagline>by Cosmic Stack</span></div><div class=lp-footer-links><a href=/docs>Docs</a><a href=https://github.com/cosmicstack-labs/mercury-agent>GitHub</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues>Issues</a></div></div></footer></div></div></body>
\ No newline at end of file
diff --git a/docs/search-index.json b/docs/search-index.json
index 45d9bd7b..705bf8d8 100644
--- a/docs/search-index.json
+++ b/docs/search-index.json
@@ -1 +1 @@
-[{"documents":[{"i":1,"t":"Installation","u":"/docs","b":["Docs"]},{"i":5,"t":"Full Command Reference","u":"/docs/cli-commands/cli-commands","b":["Docs","CLI Commands"]},{"i":7,"t":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","b":["Docs","CLI Commands"]},{"i":11,"t":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","b":["Docs","CLI Commands"]},{"i":13,"t":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","b":["Docs","Daemon Mode"]},{"i":35,"t":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","b":["Docs","Daemon Mode"]},{"i":45,"t":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","b":["Docs","Daemon Mode"]},{"i":49,"t":"First-Time Setup","u":"/docs/getting-started/setup","b":["Docs"]},{"i":51,"t":"Starting Mercury","u":"/docs/getting-started/starting","b":["Docs"]},{"i":59,"t":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","b":["Docs","Integrations"]},{"i":71,"t":"GitHub Companion","u":"/docs/integrations/github-companion","b":["Docs","Integrations"]},{"i":91,"t":"Spotify Integration","u":"/docs/integrations/spotify","b":["Docs","Integrations"]},{"i":128,"t":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","b":["Docs","Integrations"]},{"i":150,"t":"Telegram","u":"/docs/integrations/telegram","b":["Docs","Integrations"]},{"i":164,"t":"Built-in Tools","u":"/docs/reference/built-in-tools","b":["Docs","Reference"]},{"i":176,"t":"Configuration","u":"/docs/reference/configuration","b":["Docs","Reference"]},{"i":178,"t":"Permissions","u":"/docs/reference/permissions","b":["Docs","Reference"]},{"i":182,"t":"Provider Fallback","u":"/docs/reference/provider-fallback","b":["Docs","Reference"]},{"i":190,"t":"Scheduling","u":"/docs/reference/scheduling","b":["Docs","Reference"]},{"i":196,"t":"Second Brain","u":"/docs/reference/second-brain","b":["Docs","Reference"]},{"i":210,"t":"Skills","u":"/docs/reference/skills","b":["Docs","Reference"]},{"i":220,"t":"Releases","u":"/docs/releases","b":["Docs","Releases"]},{"i":224,"t":"v1.1.6","u":"/docs/releases/1.1.6","b":["Docs","Releases"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,3.541]],["t/5",[1,2.376,2,1.938,3,2.376]],["t/7",[4,2.844,5,2.844]],["t/11",[2,2.32,6,2.844]],["t/13",[7,2.844,8,1.975]],["t/35",[9,2.376,10,2.376,11,2.376]],["t/45",[12,1.788,13,1.788,14,1.788,15,1.458,16,1.788]],["t/49",[17,2.376,18,2.376,19,2.376]],["t/51",[15,2.32,20,2.844]],["t/59",[8,1.417,21,2.04,22,2.04,23,2.04]],["t/71",[24,2.844,25,2.844]],["t/91",[26,2.844,27,2.844]],["t/128",[8,1.241,28,1.788,29,2.765,30,1.788]],["t/150",[31,3.541]],["t/164",[32,2.844,33,2.844]],["t/176",[34,3.541]],["t/178",[35,3.541]],["t/182",[36,2.844,37,2.844]],["t/190",[38,3.541]],["t/196",[39,2.844,40,2.844]],["t/210",[41,3.541]],["t/220",[42,3.541]],["t/224",[43,3.541]]],"invertedIndex":[["agent",{"_index":29,"t":{"128":{"position":[[4,6],[18,5]]}}}],["auto",{"_index":14,"t":{"45":{"position":[[15,5]]}}}],["boot",{"_index":16,"t":{"45":{"position":[[30,5]]}}}],["brain",{"_index":40,"t":{"196":{"position":[[7,5]]}}}],["built",{"_index":32,"t":{"164":{"position":[[0,5]]}}}],["chat",{"_index":6,"t":{"11":{"position":[[3,4]]}}}],["code",{"_index":21,"t":{"59":{"position":[[0,6]]}}}],["command",{"_index":2,"t":{"5":{"position":[[5,7]]},"11":{"position":[[8,8]]}}}],["companion",{"_index":25,"t":{"71":{"position":[[7,9]]}}}],["configur",{"_index":34,"t":{"176":{"position":[[0,13]]}}}],["daemon",{"_index":7,"t":{"13":{"position":[[0,6]]}}}],["doctor",{"_index":4,"t":{"7":{"position":[[0,6]]}}}],["fallback",{"_index":37,"t":{"182":{"position":[[9,8]]}}}],["first",{"_index":17,"t":{"49":{"position":[[0,5]]}}}],["full",{"_index":1,"t":{"5":{"position":[[0,4]]}}}],["github",{"_index":24,"t":{"71":{"position":[[0,6]]}}}],["guid",{"_index":11,"t":{"35":{"position":[[18,5]]}}}],["id",{"_index":23,"t":{"59":{"position":[[17,4]]}}}],["instal",{"_index":0,"t":{"1":{"position":[[0,12]]}}}],["integr",{"_index":27,"t":{"91":{"position":[[8,11]]}}}],["mercuri",{"_index":20,"t":{"51":{"position":[[9,7]]}}}],["mode",{"_index":8,"t":{"13":{"position":[[7,4]]},"59":{"position":[[22,5]]},"128":{"position":[[24,5]]}}}],["multi",{"_index":30,"t":{"128":{"position":[[11,6]]}}}],["permiss",{"_index":35,"t":{"178":{"position":[[0,11]]}}}],["platform",{"_index":9,"t":{"35":{"position":[[0,8]]}}}],["provid",{"_index":36,"t":{"182":{"position":[[0,8]]}}}],["reconfigur",{"_index":5,"t":{"7":{"position":[[7,13]]}}}],["refer",{"_index":3,"t":{"5":{"position":[[13,9]]}}}],["releas",{"_index":42,"t":{"220":{"position":[[0,8]]}}}],["schedul",{"_index":38,"t":{"190":{"position":[[0,10]]}}}],["second",{"_index":39,"t":{"196":{"position":[[0,6]]}}}],["servic",{"_index":13,"t":{"45":{"position":[[7,7]]}}}],["setup",{"_index":19,"t":{"49":{"position":[[11,5]]}}}],["skill",{"_index":41,"t":{"210":{"position":[[0,6]]}}}],["specif",{"_index":10,"t":{"35":{"position":[[9,8]]}}}],["spotifi",{"_index":26,"t":{"91":{"position":[[0,7]]}}}],["start",{"_index":15,"t":{"45":{"position":[[21,5]]},"51":{"position":[[0,8]]}}}],["sub",{"_index":28,"t":{"128":{"position":[[0,3]]}}}],["system",{"_index":12,"t":{"45":{"position":[[0,6]]}}}],["telegram",{"_index":31,"t":{"150":{"position":[[0,8]]}}}],["time",{"_index":18,"t":{"49":{"position":[[6,4]]}}}],["tool",{"_index":33,"t":{"164":{"position":[[9,5]]}}}],["v1.1.6",{"_index":43,"t":{"224":{"position":[[0,6]]}}}],["workspac",{"_index":22,"t":{"59":{"position":[[7,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":3,"t":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":9,"t":"Platform Diagnostics","u":"/docs/cli-commands/doctor","h":"#platform-diagnostics","p":7},{"i":15,"t":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":13},{"i":17,"t":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":13},{"i":19,"t":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":13},{"i":21,"t":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":13},{"i":23,"t":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":13},{"i":25,"t":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":13},{"i":27,"t":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":13},{"i":29,"t":"Background Tasks and Workers","u":"/docs/daemon-mode/daemon-mode","h":"#background-tasks-and-workers","p":13},{"i":31,"t":"Shell background tasks","u":"/docs/daemon-mode/daemon-mode","h":"#shell-background-tasks","p":13},{"i":33,"t":"Sub-agent workers","u":"/docs/daemon-mode/daemon-mode","h":"#sub-agent-workers","p":13},{"i":37,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":35},{"i":39,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":35},{"i":41,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":35},{"i":43,"t":"Docker Status","u":"/docs/daemon-mode/platform-guide","h":"#docker-status","p":35},{"i":47,"t":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":45},{"i":53,"t":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":51},{"i":55,"t":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":51},{"i":57,"t":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":51},{"i":61,"t":"Enter Workspace Mode","u":"/docs/integrations/coding-workspace","h":"#enter-workspace-mode","p":59},{"i":63,"t":"Modes","u":"/docs/integrations/coding-workspace","h":"#modes","p":59},{"i":65,"t":"Keyboard shortcuts (CLI)","u":"/docs/integrations/coding-workspace","h":"#keyboard-shortcuts-cli","p":59},{"i":67,"t":"Workspace Commands","u":"/docs/integrations/coding-workspace","h":"#workspace-commands","p":59},{"i":69,"t":"Sub-Agents + Background in Coding","u":"/docs/integrations/coding-workspace","h":"#sub-agents--background-in-coding","p":59},{"i":73,"t":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":71},{"i":75,"t":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":71},{"i":77,"t":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":71},{"i":79,"t":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":71},{"i":81,"t":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":71},{"i":83,"t":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":71},{"i":85,"t":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":71},{"i":87,"t":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":71},{"i":89,"t":"Security","u":"/docs/integrations/github-companion","h":"#security","p":71},{"i":93,"t":"Setup","u":"/docs/integrations/spotify","h":"#setup","p":91},{"i":94,"t":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":91},{"i":96,"t":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":91},{"i":98,"t":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":91},{"i":100,"t":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":91},{"i":102,"t":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":91},{"i":104,"t":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":91},{"i":106,"t":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":91},{"i":108,"t":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":91},{"i":110,"t":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":91},{"i":112,"t":"DJ Mode","u":"/docs/integrations/spotify","h":"#dj-mode","p":91},{"i":114,"t":"Player shortcuts","u":"/docs/integrations/spotify","h":"#player-shortcuts","p":91},{"i":116,"t":"Optional inline album art","u":"/docs/integrations/spotify","h":"#optional-inline-album-art","p":91},{"i":118,"t":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":91},{"i":120,"t":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":91},{"i":122,"t":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":91},{"i":124,"t":"Security","u":"/docs/integrations/spotify","h":"#security","p":91},{"i":126,"t":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":91},{"i":130,"t":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":128},{"i":132,"t":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":128},{"i":134,"t":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":128},{"i":136,"t":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":128},{"i":138,"t":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":128},{"i":140,"t":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":128},{"i":142,"t":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":128},{"i":144,"t":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":128},{"i":146,"t":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":128},{"i":148,"t":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":128},{"i":152,"t":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":150},{"i":154,"t":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":150},{"i":156,"t":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":150},{"i":158,"t":"In-Chat Commands","u":"/docs/integrations/telegram","h":"#in-chat-commands","p":150},{"i":160,"t":"Features","u":"/docs/integrations/telegram","h":"#features","p":150},{"i":162,"t":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":150},{"i":166,"t":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":164},{"i":168,"t":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":164},{"i":170,"t":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":164},{"i":172,"t":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":164},{"i":174,"t":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":164},{"i":180,"t":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":178},{"i":184,"t":"Session Model Switching","u":"/docs/reference/provider-fallback","h":"#session-model-switching","p":182},{"i":186,"t":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":182},{"i":188,"t":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":182},{"i":192,"t":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":190},{"i":194,"t":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":190},{"i":198,"t":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":196},{"i":200,"t":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":196},{"i":202,"t":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":196},{"i":204,"t":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":196},{"i":206,"t":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":196},{"i":208,"t":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":196},{"i":212,"t":"Default skills","u":"/docs/reference/skills","h":"#default-skills","p":210},{"i":214,"t":"Installing","u":"/docs/reference/skills","h":"#installing","p":210},{"i":216,"t":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":210},{"i":218,"t":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":210},{"i":222,"t":"Available release notes","u":"/docs/releases","h":"#available-release-notes","p":220},{"i":226,"t":"Highlights","u":"/docs/releases/1.1.6","h":"#highlights","p":224},{"i":228,"t":"CLI/TUI Improvements","u":"/docs/releases/1.1.6","h":"#clitui-improvements","p":224},{"i":230,"t":"Workspace + Coding","u":"/docs/releases/1.1.6","h":"#workspace--coding","p":224},{"i":232,"t":"Background Tasks + Sub-Agents","u":"/docs/releases/1.1.6","h":"#background-tasks--sub-agents","p":224},{"i":234,"t":"Spotify","u":"/docs/releases/1.1.6","h":"#spotify","p":224},{"i":236,"t":"Docs","u":"/docs/releases/1.1.6","h":"#docs","p":224},{"i":238,"t":"Notes","u":"/docs/releases/1.1.6","h":"#notes","p":224}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/3",[0,5.413]],["t/9",[1,4.384,2,4.384]],["t/15",[3,4.316]],["t/17",[3,3.495,4,3.848]],["t/19",[5,3.177,6,3.177,7,2.533,8,2.788]],["t/21",[9,5.413]],["t/23",[10,5.413]],["t/25",[11,4.384,12,3.848]],["t/27",[13,4.384,14,3.848]],["t/29",[15,2.539,16,2.716,17,3.234]],["t/31",[15,2.539,16,2.716,18,3.234]],["t/33",[17,3.234,19,2.392,20,2.265]],["t/37",[21,3.495,22,2.846]],["t/39",[21,3.495,22,2.846]],["t/41",[21,3.495,22,2.846]],["t/43",[14,3.848,23,4.384]],["t/47",[24,4.384,25,2.846]],["t/53",[3,2.937,15,2.539,26,3.684]],["t/55",[4,3.848,27,3.848]],["t/57",[12,3.848,28,4.384]],["t/61",[29,3.684,30,2.937,31,2.392]],["t/63",[31,3.514]],["t/65",[32,3.684,33,3.234,34,2.937]],["t/67",[25,2.846,30,3.495]],["t/69",[15,1.924,19,1.813,20,1.717,35,1.924,36,2.451]],["t/73",[8,3.234,37,3.684,38,2.716]],["t/75",[39,4.752]],["t/77",[38,2.716,40,3.234,41,3.684]],["t/79",[42,2.788,43,2.788,44,2.788,45,3.177]],["t/81",[38,1.836,46,2.186,47,2.491,48,2.491,49,2.186,50,2.186]],["t/83",[51,3.177,52,2.788,53,3.177,54,2.788]],["t/85",[38,3.232,55,3.495]],["t/87",[43,3.234,44,3.234,56,3.684]],["t/89",[57,4.752]],["t/93",[39,4.752]],["t/94",[40,2.186,58,1.986,59,2.491,60,1.716,61,2.491,62,2.491]],["t/96",[7,2.533,42,2.788,58,2.533,63,2.342]],["t/98",[46,2.451,58,2.226,60,1.924,64,2.792,65,2.451]],["t/100",[25,3.514]],["t/102",[55,3.495,60,3.021]],["t/104",[65,2.788,66,3.177,67,2.342,68,3.177]],["t/106",[60,1.924,69,2.792,70,2.792,71,2.792,72,2.792]],["t/108",[73,4.752]],["t/110",[27,3.234,34,2.937,74,3.234]],["t/112",[31,2.846,75,4.384]],["t/114",[33,3.848,74,3.848]],["t/116",[54,2.788,76,3.177,77,3.177,78,3.177]],["t/118",[22,2.846,79,4.384]],["t/120",[22,2.846,50,3.848]],["t/122",[80,5.413]],["t/124",[57,4.752]],["t/126",[81,5.413]],["t/130",[19,2.392,20,2.265,82,3.684]],["t/132",[67,3.99]],["t/134",[25,3.514]],["t/136",[55,3.495,83,4.384]],["t/138",[84,5.413]],["t/140",[7,2.533,19,2.062,20,1.953,73,2.788]],["t/142",[20,2.265,67,2.716,85,3.684]],["t/144",[63,3.99]],["t/146",[31,2.846,86,3.848]],["t/148",[19,1.813,20,1.717,31,1.813,35,1.924,86,2.451]],["t/152",[49,3.848,87,3.848]],["t/154",[88,5.413]],["t/156",[25,2.846,34,3.495]],["t/158",[25,2.846,89,4.384]],["t/160",[90,5.413]],["t/162",[63,3.99]],["t/166",[91,5.413]],["t/168",[92,5.413]],["t/170",[18,4.752]],["t/172",[93,5.413]],["t/174",[94,3.177,95,2.533,96,2.788,97,3.177]],["t/180",[31,2.846,98,4.384]],["t/184",[87,3.234,99,3.684,100,3.684]],["t/186",[101,4.384,102,3.848]],["t/188",[63,3.232,102,3.848]],["t/192",[16,3.232,103,4.384]],["t/194",[104,3.684,105,3.684,106,3.684]],["t/198",[67,3.99]],["t/200",[107,3.848,108,4.384]],["t/202",[109,4.384,110,4.384]],["t/204",[111,4.384,112,4.384]],["t/206",[22,2.846,107,3.848]],["t/208",[35,2.539,113,3.684,114,3.684]],["t/212",[52,3.848,95,3.495]],["t/214",[115,5.413]],["t/216",[116,5.413]],["t/218",[95,3.495,96,3.848]],["t/222",[117,3.684,118,3.684,119,3.234]],["t/226",[120,5.413]],["t/228",[121,4.384,122,4.384]],["t/230",[30,2.937,35,2.539,36,3.234]],["t/232",[15,1.924,16,2.058,19,1.813,20,1.717,35,1.924]],["t/234",[60,3.73]],["t/236",[123,5.413]],["t/238",[119,4.752]]],"invertedIndex":[["",{"_index":35,"t":{"69":{"position":[[11,1]]},"148":{"position":[[17,1]]},"208":{"position":[[7,1]]},"230":{"position":[[10,1]]},"232":{"position":[[17,1]]}}}],["1",{"_index":40,"t":{"77":{"position":[[0,2]]},"94":{"position":[[5,2]]}}}],["2",{"_index":42,"t":{"79":{"position":[[0,2]]},"96":{"position":[[5,2]]}}}],["3",{"_index":46,"t":{"81":{"position":[[0,2]]},"98":{"position":[[5,2]]}}}],["4",{"_index":51,"t":{"83":{"position":[[0,2]]}}}],["access",{"_index":49,"t":{"81":{"position":[[24,6]]},"152":{"position":[[0,6]]}}}],["account",{"_index":65,"t":{"98":{"position":[[29,7]]},"104":{"position":[[25,9]]}}}],["agent",{"_index":20,"t":{"33":{"position":[[4,5]]},"69":{"position":[[4,6]]},"130":{"position":[[8,6]]},"140":{"position":[[22,6]]},"142":{"position":[[19,6]]},"148":{"position":[[23,6]]},"232":{"position":[[23,6]]}}}],["album",{"_index":77,"t":{"116":{"position":[[16,5]]}}}],["app",{"_index":62,"t":{"94":{"position":[[35,3]]}}}],["architectur",{"_index":84,"t":{"138":{"position":[[0,12]]}}}],["art",{"_index":78,"t":{"116":{"position":[[22,3]]}}}],["author",{"_index":44,"t":{"79":{"position":[[6,8]]},"87":{"position":[[3,8]]}}}],["automat",{"_index":45,"t":{"79":{"position":[[18,11]]}}}],["avail",{"_index":117,"t":{"222":{"position":[[0,9]]}}}],["background",{"_index":15,"t":{"29":{"position":[[0,10]]},"31":{"position":[[6,10]]},"53":{"position":[[6,11]]},"69":{"position":[[13,10]]},"232":{"position":[[0,10]]}}}],["chat",{"_index":89,"t":{"158":{"position":[[3,4]]}}}],["check",{"_index":13,"t":{"27":{"position":[[0,5]]}}}],["cli",{"_index":34,"t":{"65":{"position":[[19,5]]},"110":{"position":[[19,5]]},"156":{"position":[[0,3]]}}}],["cli/tui",{"_index":121,"t":{"228":{"position":[[0,7]]}}}],["co",{"_index":43,"t":{"79":{"position":[[3,2]]},"87":{"position":[[0,2]]}}}],["code",{"_index":36,"t":{"69":{"position":[[27,6]]},"230":{"position":[[12,6]]}}}],["command",{"_index":25,"t":{"47":{"position":[[14,8]]},"67":{"position":[[10,8]]},"100":{"position":[[0,8]]},"134":{"position":[[0,8]]},"156":{"position":[[4,8]]},"158":{"position":[[8,8]]}}}],["commit",{"_index":56,"t":{"87":{"position":[[12,7]]}}}],["configur",{"_index":63,"t":{"96":{"position":[[8,9]]},"144":{"position":[[0,13]]},"162":{"position":[[0,13]]},"188":{"position":[[0,11]]}}}],["conflict",{"_index":109,"t":{"202":{"position":[[0,8]]}}}],["connect",{"_index":64,"t":{"98":{"position":[[8,7]]}}}],["control",{"_index":70,"t":{"106":{"position":[[9,7]]}}}],["creat",{"_index":59,"t":{"94":{"position":[[8,6]]}}}],["daemon",{"_index":26,"t":{"53":{"position":[[18,7]]}}}],["default",{"_index":52,"t":{"83":{"position":[[3,7]]},"212":{"position":[[0,7]]}}}],["delay",{"_index":106,"t":{"194":{"position":[[9,6]]}}}],["deleg",{"_index":83,"t":{"136":{"position":[[0,10]]}}}],["develop",{"_index":61,"t":{"94":{"position":[[25,9]]}}}],["devic",{"_index":79,"t":{"118":{"position":[[9,7]]}}}],["diagnost",{"_index":2,"t":{"9":{"position":[[9,11]]}}}],["disabl",{"_index":114,"t":{"208":{"position":[[9,7]]}}}],["disconnect",{"_index":80,"t":{"122":{"position":[[0,13]]}}}],["dj",{"_index":75,"t":{"112":{"position":[[0,2]]}}}],["doc",{"_index":123,"t":{"236":{"position":[[0,4]]}}}],["docker",{"_index":23,"t":{"43":{"position":[[0,6]]}}}],["easi",{"_index":5,"t":{"19":{"position":[[4,4]]}}}],["enabl",{"_index":113,"t":{"208":{"position":[[0,6]]}}}],["enter",{"_index":29,"t":{"61":{"position":[[0,5]]}}}],["evid",{"_index":111,"t":{"204":{"position":[[0,8]]}}}],["featur",{"_index":90,"t":{"160":{"position":[[0,8]]}}}],["filesystem",{"_index":91,"t":{"166":{"position":[[0,10]]}}}],["foreground",{"_index":4,"t":{"17":{"position":[[9,10]]},"55":{"position":[[0,10]]}}}],["free",{"_index":68,"t":{"104":{"position":[[20,4]]}}}],["git",{"_index":93,"t":{"172":{"position":[[0,3]]}}}],["github",{"_index":38,"t":{"73":{"position":[[11,7]]},"77":{"position":[[3,6]]},"81":{"position":[[3,6]]},"85":{"position":[[0,6]]}}}],["happen",{"_index":85,"t":{"142":{"position":[[5,7]]}}}],["highlight",{"_index":120,"t":{"226":{"position":[[0,10]]}}}],["improv",{"_index":122,"t":{"228":{"position":[[8,12]]}}}],["inlin",{"_index":76,"t":{"116":{"position":[[9,6]]}}}],["instal",{"_index":115,"t":{"214":{"position":[[0,10]]}}}],["interact",{"_index":27,"t":{"55":{"position":[[11,13]]},"110":{"position":[[0,11]]}}}],["invok",{"_index":116,"t":{"216":{"position":[[0,8]]}}}],["keyboard",{"_index":32,"t":{"65":{"position":[[0,8]]}}}],["kind",{"_index":112,"t":{"204":{"position":[[9,5]]}}}],["log",{"_index":12,"t":{"25":{"position":[[5,4]]},"57":{"position":[[8,7]]}}}],["manag",{"_index":22,"t":{"37":{"position":[[7,10]]},"39":{"position":[[7,10]]},"41":{"position":[[7,10]]},"118":{"position":[[0,8]]},"120":{"position":[[6,10]]},"206":{"position":[[0,8]]}}}],["manual",{"_index":21,"t":{"37":{"position":[[0,6]]},"39":{"position":[[0,6]]},"41":{"position":[[0,6]]}}}],["matter",{"_index":82,"t":{"130":{"position":[[15,6]]}}}],["memori",{"_index":107,"t":{"200":{"position":[[0,6]]},"206":{"position":[[9,6]]}}}],["mercuri",{"_index":7,"t":{"19":{"position":[[14,7]]},"96":{"position":[[18,7]]},"140":{"position":[[5,7]]}}}],["messag",{"_index":92,"t":{"168":{"position":[[0,9]]}}}],["mode",{"_index":31,"t":{"61":{"position":[[16,4]]},"63":{"position":[[0,5]]},"112":{"position":[[3,4]]},"146":{"position":[[12,4]]},"148":{"position":[[12,4]]},"180":{"position":[[11,5]]}}}],["model",{"_index":87,"t":{"152":{"position":[[7,5]]},"184":{"position":[[8,5]]}}}],["note",{"_index":119,"t":{"222":{"position":[[18,5]]},"238":{"position":[[0,5]]}}}],["on",{"_index":104,"t":{"194":{"position":[[0,3]]}}}],["option",{"_index":54,"t":{"83":{"position":[[16,10]]},"116":{"position":[[0,8]]}}}],["pat",{"_index":47,"t":{"81":{"position":[[10,3]]}}}],["permiss",{"_index":98,"t":{"180":{"position":[[0,10]]}}}],["person",{"_index":48,"t":{"81":{"position":[[14,9]]}}}],["platform",{"_index":1,"t":{"9":{"position":[[0,8]]}}}],["playback",{"_index":69,"t":{"106":{"position":[[0,8]]}}}],["player",{"_index":74,"t":{"110":{"position":[[12,6]]},"114":{"position":[[0,6]]}}}],["premium",{"_index":72,"t":{"106":{"position":[[35,8]]}}}],["program",{"_index":86,"t":{"146":{"position":[[0,11]]},"148":{"position":[[0,11]]}}}],["provid",{"_index":102,"t":{"186":{"position":[[10,9]]},"188":{"position":[[12,9]]}}}],["read",{"_index":66,"t":{"104":{"position":[[0,4]]}}}],["recur",{"_index":103,"t":{"192":{"position":[[0,9]]}}}],["releas",{"_index":118,"t":{"222":{"position":[[10,7]]}}}],["repo",{"_index":53,"t":{"83":{"position":[[11,4]]}}}],["requir",{"_index":71,"t":{"106":{"position":[[17,9]]}}}],["resolut",{"_index":110,"t":{"202":{"position":[[9,10]]}}}],["restart",{"_index":10,"t":{"23":{"position":[[0,7]]}}}],["role",{"_index":88,"t":{"154":{"position":[[0,5]]}}}],["schedul",{"_index":96,"t":{"174":{"position":[[13,10]]},"218":{"position":[[0,10]]}}}],["secur",{"_index":57,"t":{"89":{"position":[[0,8]]},"124":{"position":[[0,8]]}}}],["servic",{"_index":24,"t":{"47":{"position":[[6,7]]}}}],["session",{"_index":99,"t":{"184":{"position":[[0,7]]}}}],["set",{"_index":37,"t":{"73":{"position":[[4,3]]}}}],["setup",{"_index":39,"t":{"75":{"position":[[0,5]]},"93":{"position":[[0,5]]}}}],["shell",{"_index":18,"t":{"31":{"position":[[0,5]]},"170":{"position":[[0,5]]}}}],["shortcut",{"_index":33,"t":{"65":{"position":[[9,9]]},"114":{"position":[[7,9]]}}}],["shot",{"_index":105,"t":{"194":{"position":[[4,4]]}}}],["skill",{"_index":95,"t":{"174":{"position":[[5,7]]},"212":{"position":[[8,6]]},"218":{"position":[[13,5]]}}}],["spotifi",{"_index":60,"t":{"94":{"position":[[17,7]]},"98":{"position":[[21,7]]},"102":{"position":[[0,7]]},"106":{"position":[[27,7]]},"234":{"position":[[0,7]]}}}],["start",{"_index":3,"t":{"15":{"position":[[0,5]]},"17":{"position":[[0,5]]},"53":{"position":[[0,5]]}}}],["statu",{"_index":14,"t":{"27":{"position":[[6,6]]},"43":{"position":[[7,6]]}}}],["step",{"_index":58,"t":{"94":{"position":[[0,4]]},"96":{"position":[[0,4]]},"98":{"position":[[0,4]]}}}],["stop",{"_index":9,"t":{"21":{"position":[[0,4]]}}}],["sub",{"_index":19,"t":{"33":{"position":[[0,3]]},"69":{"position":[[0,3]]},"130":{"position":[[4,3]]},"140":{"position":[[18,3]]},"148":{"position":[[19,3]]},"232":{"position":[[19,3]]}}}],["support",{"_index":101,"t":{"186":{"position":[[0,9]]}}}],["switch",{"_index":100,"t":{"184":{"position":[[14,9]]}}}],["system",{"_index":97,"t":{"174":{"position":[[24,6]]}}}],["task",{"_index":16,"t":{"29":{"position":[[11,5]]},"31":{"position":[[17,5]]},"192":{"position":[[10,5]]},"232":{"position":[[11,5]]}}}],["token",{"_index":50,"t":{"81":{"position":[[31,6]]},"120":{"position":[[0,5]]}}}],["tool",{"_index":55,"t":{"85":{"position":[[7,5]]},"102":{"position":[[8,5]]},"136":{"position":[[11,5]]}}}],["troubleshoot",{"_index":81,"t":{"126":{"position":[[0,15]]}}}],["type",{"_index":108,"t":{"200":{"position":[[7,5]]}}}],["up",{"_index":8,"t":{"19":{"position":[[22,2]]},"73":{"position":[[8,2]]}}}],["upgrad",{"_index":0,"t":{"3":{"position":[[0,7]]}}}],["us",{"_index":73,"t":{"108":{"position":[[0,5]]},"140":{"position":[[13,4]]}}}],["usernam",{"_index":41,"t":{"77":{"position":[[10,8]]}}}],["verbos",{"_index":28,"t":{"57":{"position":[[0,7]]}}}],["view",{"_index":11,"t":{"25":{"position":[[0,4]]}}}],["way",{"_index":6,"t":{"19":{"position":[[9,4]]}}}],["web",{"_index":94,"t":{"174":{"position":[[0,4]]}}}],["work",{"_index":67,"t":{"104":{"position":[[10,6]]},"132":{"position":[[7,5]]},"142":{"position":[[26,4]]},"198":{"position":[[7,5]]}}}],["worker",{"_index":17,"t":{"29":{"position":[[21,7]]},"33":{"position":[[10,7]]}}}],["workspac",{"_index":30,"t":{"61":{"position":[[6,9]]},"67":{"position":[[0,9]]},"230":{"position":[[0,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":1,"t":"Mercury requires Node.js 20+. Install with npm:","s":"Installation","u":"/docs","p":1},{"i":5,"t":"| Command | Description |","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","p":5},{"i":7,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","p":7},{"i":11,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","p":11},{"i":13,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","p":13},{"i":35,"t":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","p":35},{"i":45,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","p":45},{"i":49,"t":"Run mercury for the first time. The onboarding wizard asks for:","s":"First-Time Setup","u":"/docs/getting-started/setup","p":49},{"i":51,"t":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.","s":"Starting Mercury","u":"/docs/getting-started/starting","p":51},{"i":59,"t":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","s":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","p":59},{"i":71,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","s":"GitHub Companion","u":"/docs/integrations/github-companion","p":71},{"i":91,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest.","s":"Spotify Integration","u":"/docs/integrations/spotify","p":91},{"i":128,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","p":128},{"i":150,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","s":"Telegram","u":"/docs/integrations/telegram","p":150},{"i":164,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","p":164},{"i":176,"t":"All runtime data lives in ~/.mercury/ — not in your project directory.","s":"Configuration","u":"/docs/reference/configuration","p":176},{"i":178,"t":"Mercury has a three-tier permission system for shell commands:","s":"Permissions","u":"/docs/reference/permissions","p":178},{"i":182,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","p":182},{"i":190,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","p":190},{"i":196,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","p":196},{"i":210,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","s":"Skills","u":"/docs/reference/skills","p":210},{"i":220,"t":"This section tracks Mercury release notes by version.","s":"Releases","u":"/docs/releases","p":220},{"i":224,"t":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","s":"v1.1.6","u":"/docs/releases/1.1.6","p":224}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,0.203,1,3.564,2,3.564,3,3.564,4,2.152,5,3.564]],["t/5",[6,2.107,7,2.578,8,3.713]],["t/7",[0,0.133,9,2.344,10,2.344,11,1.415,12,2.344,13,1.912,14,2.344,15,3.387,16,2.344,17,2.344,18,2.344,19,2.344,20,2.344,21,1.912,22,2.344,23,1.912,24,2.344,25,2.344]],["t/11",[0,0.153,23,2.202,26,2.202,27,1.272,28,1.875,29,2.699,30,1.875,31,1.63,32,2.699,33,2.699,34,2.699,35,2.699,36,2.699,37,2.202]],["t/13",[0,0.163,11,1.735,21,2.344,28,1.996,31,1.735,38,2.344,39,2.344,40,2.874,41,2.344,42,1.996,43,2.874,44,2.344]],["t/35",[0,0.203,4,2.152,45,2.475,46,2.908,47,3.564,48,3.564]],["t/45",[0,0.181,4,1.921,45,2.21,49,2.21,50,2.596,51,2.21,52,3.182,53,3.182,54,3.182]],["t/49",[0,0.195,11,2.069,13,2.796,55,2.796,56,3.427,57,3.427,58,3.427]],["t/51",[0,0.153,4,1.63,11,2.26,39,2.202,45,1.875,49,1.875,50,2.202,59,2.699,60,2.699,61,2.202,62,2.699,63,2.699,64,2.202]],["t/59",[0,0.175,30,2.133,65,3.072,66,2.506,67,3.072,68,2.506,69,2.506,70,2.506,71,2.506,72,3.072]],["t/71",[0,0.092,6,1.073,27,0.763,31,0.977,44,1.321,46,1.321,70,1.321,73,1.619,74,2.559,75,1.619,76,1.619,77,1.619,78,1.619,79,1.619,80,2.087,81,1.619,82,1.619,83,1.619,84,1.619,85,1.619,86,1.321,87,1.321,88,1.321,89,1.619,90,1.619,91,1.619,92,1.619,93,1.619,94,1.321,95,1.321,96,1.619,97,1.619,98,1.619]],["t/91",[0,0.167,6,0.812,27,0.912,80,1.579,86,1.579,87,1.579,99,1.579,100,1.936,101,1.936,102,1.936,103,1.936,104,1.936,105,1.936,106,2.939,107,1.936,108,1.936,109,1.936,110,1.936,111,1.936,112,1.936,113,1.936,114,1.936,115,1.936,116,1.579,117,1.936]],["t/128",[0,0.182,6,0.911,27,1.023,28,1.508,42,1.508,64,1.772,69,1.772,116,1.772,118,2.172,119,2.172,120,2.172,121,2.172,122,2.172,123,2.172,124,2.613,125,2.172,126,2.172,127,2.172,128,2.172,129,2.172]],["t/150",[0,0.145,31,1.537,37,2.076,55,2.076,99,2.076,130,2.545,131,2.545,132,2.076,133,2.545,134,2.545,135,2.545,136,2.545,137,2.545,138,2.545,139,2.545,140,2.545]],["t/164",[0,0.163,6,1.206,7,1.996,26,2.344,27,1.354,30,1.996,94,2.344,95,2.344,124,2.344,141,2.344,142,2.874,143,2.874]],["t/176",[0,0.195,6,1.438,144,3.427,145,3.427,146,2.796,147,2.796,148,3.427]],["t/178",[0,0.195,7,2.38,49,2.38,149,3.427,150,3.427,151,3.427,152,3.427]],["t/182",[0,0.189,51,1.586,88,1.863,132,3.196,153,2.284,154,2.284,155,3.323,156,2.284,157,2.284,158,2.284,159,2.284,160,2.284,161,1.863,162,2.284,163,2.284,164,2.284]],["t/190",[0,0.181,41,2.596,42,2.21,141,2.596,161,2.596,165,3.182,166,3.182,167,3.182,168,3.182]],["t/196",[0,0.137,6,1.01,27,1.134,51,1.672,61,1.964,147,1.964,169,2.407,170,2.407,171,2.407,172,2.407,173,2.407,174,2.407,175,2.407,176,2.407,177,2.407,178,2.407,179,2.407,180,2.407]],["t/210",[146,2.908,181,3.564,182,3.564,183,3.564,184,3.564,185,3.564]],["t/220",[0,0.203,186,3.564,187,3.564,188,2.908,189,3.564,190,3.564]],["t/224",[38,2.202,66,2.202,68,2.202,71,2.202,188,2.202,191,2.699,192,2.699,193,2.699,194,2.699,195,2.699,196,2.699,197,2.699,198,2.699,199,2.699]]],"invertedIndex":[["",{"_index":6,"t":{"5":{"position":[[0,1],[10,1],[24,1]]},"71":{"position":[[41,1],[130,1]]},"91":{"position":[[50,1]]},"128":{"position":[[29,1]]},"164":{"position":[[91,1]]},"176":{"position":[[38,1]]},"196":{"position":[[159,1]]}}}],["1.1.6",{"_index":191,"t":{"224":{"position":[[8,5]]}}}],["20",{"_index":3,"t":{"1":{"position":[[25,4]]}}}],["account",{"_index":101,"t":{"91":{"position":[[33,7]]}}}],["act",{"_index":73,"t":{"71":{"position":[[12,3]]}}}],["agent",{"_index":124,"t":{"128":{"position":[[78,6],[161,5]]},"164":{"position":[[97,5]]}}}],["ai",{"_index":123,"t":{"128":{"position":[[75,2]]}}}],["alongsid",{"_index":92,"t":{"71":{"position":[[216,9]]}}}],["api",{"_index":36,"t":{"11":{"position":[[127,3]]}}}],["app",{"_index":112,"t":{"91":{"position":[[175,3]]}}}],["approv",{"_index":139,"t":{"150":{"position":[[122,8]]}}}],["ask",{"_index":58,"t":{"49":{"position":[[54,4]]}}}],["author",{"_index":84,"t":{"71":{"position":[[113,8]]}}}],["automat",{"_index":51,"t":{"45":{"position":[[49,13]]},"182":{"position":[[77,14]]},"196":{"position":[[97,13]]}}}],["back",{"_index":158,"t":{"182":{"position":[[72,4]]}}}],["background",{"_index":38,"t":{"13":{"position":[[18,10]]},"224":{"position":[[70,10]]}}}],["base",{"_index":183,"t":{"210":{"position":[[20,5]]}}}],["boot",{"_index":52,"t":{"45":{"position":[[66,4]]}}}],["bot",{"_index":131,"t":{"150":{"position":[[35,3]]}}}],["both",{"_index":29,"t":{"11":{"position":[[60,4]]}}}],["browser",{"_index":110,"t":{"91":{"position":[[158,7]]}}}],["built",{"_index":94,"t":{"71":{"position":[[236,5]]},"164":{"position":[[14,5]]}}}],["call",{"_index":143,"t":{"164":{"position":[[119,4]]}}}],["chang",{"_index":128,"t":{"128":{"position":[[180,7]]}}}],["chatbot",{"_index":119,"t":{"128":{"position":[[21,7]]}}}],["chill",{"_index":115,"t":{"91":{"position":[[210,5]]}}}],["cli",{"_index":30,"t":{"11":{"position":[[65,3]]},"59":{"position":[[19,3]]},"164":{"position":[[78,3]]}}}],["cli/tui",{"_index":193,"t":{"224":{"position":[[33,7]]}}}],["close",{"_index":43,"t":{"13":{"position":[[100,5]]}}}],["co",{"_index":83,"t":{"71":{"position":[[110,2]]}}}],["code",{"_index":72,"t":{"59":{"position":[[71,7]]}}}],["command",{"_index":7,"t":{"5":{"position":[[2,7]]},"164":{"position":[[82,8]]},"178":{"position":[[53,9]]}}}],["commit",{"_index":85,"t":{"71":{"position":[[122,7]]}}}],["companion",{"_index":75,"t":{"71":{"position":[[31,9]]}}}],["concurr",{"_index":125,"t":{"128":{"position":[[101,12]]}}}],["configur",{"_index":88,"t":{"71":{"position":[[171,11]]},"182":{"position":[[0,9]]}}}],["connect",{"_index":99,"t":{"91":{"position":[[8,8]]},"150":{"position":[[8,8]]}}}],["consum",{"_index":35,"t":{"11":{"position":[[119,7]]}}}],["continu",{"_index":126,"t":{"128":{"position":[[120,10]]}}}],["control",{"_index":103,"t":{"91":{"position":[[52,7]]}}}],["convers",{"_index":27,"t":{"11":{"position":[[20,12]]},"71":{"position":[[152,13]]},"91":{"position":[[141,13]]},"128":{"position":[[135,13]]},"164":{"position":[[49,14]]},"196":{"position":[[66,13]]}}}],["coverag",{"_index":199,"t":{"224":{"position":[[113,9]]}}}],["crash",{"_index":54,"t":{"45":{"position":[[87,6]]}}}],["creat",{"_index":46,"t":{"35":{"position":[[24,7]]},"71":{"position":[[43,8]]}}}],["cron",{"_index":165,"t":{"190":{"position":[[33,4]]}}}],["current",{"_index":14,"t":{"7":{"position":[[50,7]]}}}],["daemon",{"_index":39,"t":{"13":{"position":[[29,6]]},"51":{"position":[[95,7]]}}}],["data",{"_index":145,"t":{"176":{"position":[[12,4]]}}}],["decid",{"_index":142,"t":{"164":{"position":[[103,7]]}}}],["default",{"_index":40,"t":{"13":{"position":[[39,8]]}}}],["delay",{"_index":168,"t":{"190":{"position":[[62,7]]}}}],["descript",{"_index":8,"t":{"5":{"position":[[12,11]]}}}],["devic",{"_index":109,"t":{"91":{"position":[[117,7]]}}}],["directori",{"_index":148,"t":{"176":{"position":[[60,10]]}}}],["dj",{"_index":108,"t":{"91":{"position":[[106,2]]}}}],["doc",{"_index":198,"t":{"224":{"position":[[108,4]]}}}],["doctor",{"_index":9,"t":{"7":{"position":[[8,6]]}}}],["dure",{"_index":26,"t":{"11":{"position":[[11,6]]},"164":{"position":[[42,6]]}}}],["easiest",{"_index":59,"t":{"51":{"position":[[4,7]]}}}],["enabl",{"_index":172,"t":{"196":{"position":[[85,8]]}}}],["ensur",{"_index":63,"t":{"51":{"position":[[107,7]]}}}],["enter",{"_index":19,"t":{"7":{"position":[[83,5]]}}}],["execut",{"_index":196,"t":{"224":{"position":[[81,9]]}}}],["express",{"_index":166,"t":{"190":{"position":[[38,11]]}}}],["extens",{"_index":184,"t":{"210":{"position":[[26,10]]}}}],["extract",{"_index":173,"t":{"196":{"position":[[111,9]]}}}],["fact",{"_index":176,"t":{"196":{"position":[[143,5]]}}}],["fail",{"_index":159,"t":{"182":{"position":[[108,6]]}}}],["fall",{"_index":157,"t":{"182":{"position":[[66,5]]}}}],["field",{"_index":20,"t":{"7":{"position":[[96,5]]}}}],["file",{"_index":136,"t":{"150":{"position":[[97,4]]}}}],["fill",{"_index":17,"t":{"7":{"position":[[69,7]]}}}],["first",{"_index":55,"t":{"49":{"position":[[20,5]]},"150":{"position":[[65,5]]}}}],["five",{"_index":89,"t":{"71":{"position":[[183,4]]}}}],["flow",{"_index":195,"t":{"224":{"position":[[64,5]]}}}],["focus",{"_index":71,"t":{"59":{"position":[[63,7]]},"224":{"position":[[14,7]]}}}],["fundament",{"_index":129,"t":{"128":{"position":[[206,14]]}}}],["github",{"_index":74,"t":{"71":{"position":[[24,6],[188,6]]}}}],["goal",{"_index":178,"t":{"196":{"position":[[179,6]]}}}],["grow",{"_index":171,"t":{"196":{"position":[[49,5]]}}}],["habit",{"_index":179,"t":{"196":{"position":[[196,7]]}}}],["handl",{"_index":116,"t":{"91":{"position":[[235,7]]},"128":{"position":[[88,6]]}}}],["id",{"_index":66,"t":{"59":{"position":[[23,3]]},"224":{"position":[[60,3]]}}}],["includ",{"_index":65,"t":{"59":{"position":[[8,8]]}}}],["inlin",{"_index":138,"t":{"150":{"position":[[115,6]]}}}],["instal",{"_index":4,"t":{"1":{"position":[[30,7]]},"35":{"position":[[16,7]]},"45":{"position":[[0,7]]},"51":{"position":[[45,8]]}}}],["interfac",{"_index":134,"t":{"150":{"position":[[71,9]]}}}],["isn't",{"_index":118,"t":{"128":{"position":[[8,5]]}}}],["issu",{"_index":81,"t":{"71":{"position":[[91,7]]}}}],["it'",{"_index":64,"t":{"51":{"position":[[115,4]]},"128":{"position":[[31,4]]}}}],["keep",{"_index":21,"t":{"7":{"position":[[105,4]]},"13":{"position":[[77,4]]}}}],["keyboard",{"_index":140,"t":{"150":{"position":[[131,10]]}}}],["last",{"_index":163,"t":{"182":{"position":[[160,4]]}}}],["launchag",{"_index":47,"t":{"35":{"position":[[34,11]]}}}],["leav",{"_index":98,"t":{"71":{"position":[[294,7]]}}}],["let",{"_index":96,"t":{"71":{"position":[[254,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":48,"t":{"35":{"position":[[49,53]]}}}],["live",{"_index":146,"t":{"176":{"position":[[17,5]]},"210":{"position":[[42,4]]}}}],["llm",{"_index":154,"t":{"182":{"position":[[19,3]]}}}],["major",{"_index":192,"t":{"224":{"position":[[27,5]]}}}],["make",{"_index":82,"t":{"71":{"position":[[103,6]]}}}],["manag",{"_index":80,"t":{"71":{"position":[[82,8],[266,6]]},"91":{"position":[[84,6]]}}}],["mark",{"_index":33,"t":{"11":{"position":[[89,6]]}}}],["markdown",{"_index":182,"t":{"210":{"position":[[11,8]]}}}],["memori",{"_index":170,"t":{"196":{"position":[[37,6]]}}}],["mercuri",{"_index":0,"t":{"1":{"position":[[0,7]]},"7":{"position":[[0,7]]},"11":{"position":[[38,8]]},"13":{"position":[[0,7]]},"35":{"position":[[0,7]]},"45":{"position":[[8,7]]},"49":{"position":[[4,7]]},"51":{"position":[[23,7]]},"59":{"position":[[0,7]]},"71":{"position":[[0,7]]},"91":{"position":[[0,7],[227,7]]},"128":{"position":[[0,7],[192,7]]},"150":{"position":[[0,7]]},"164":{"position":[[0,7]]},"176":{"position":[[26,11]]},"178":{"position":[[0,7]]},"182":{"position":[[34,7],[115,7]]},"190":{"position":[[0,7]]},"196":{"position":[[0,7]]},"220":{"position":[[20,7]]}}}],["mercury'",{"_index":93,"t":{"71":{"position":[[226,9]]}}}],["mercury/skills//skill.md",{"_index":185,"t":{"210":{"position":[[50,28]]}}}],["mobil",{"_index":133,"t":{"150":{"position":[[58,6]]}}}],["mode",{"_index":69,"t":{"59":{"position":[[43,4]]},"128":{"position":[[167,5]]}}}],["more",{"_index":180,"t":{"196":{"position":[[208,5]]}}}],["multipl",{"_index":153,"t":{"182":{"position":[[10,8]]}}}],["music",{"_index":106,"t":{"91":{"position":[[77,6],[216,6]]}}}],["nativ",{"_index":102,"t":{"91":{"position":[[41,8]]}}}],["natur",{"_index":87,"t":{"71":{"position":[[144,7]]},"91":{"position":[[133,7]]}}}],["need",{"_index":62,"t":{"51":{"position":[[76,7]]}}}],["new",{"_index":24,"t":{"7":{"position":[[134,3]]}}}],["next",{"_index":160,"t":{"182":{"position":[[133,4]]}}}],["node.j",{"_index":2,"t":{"1":{"position":[[17,7]]}}}],["note",{"_index":189,"t":{"220":{"position":[[36,5]]}}}],["npm",{"_index":5,"t":{"1":{"position":[[43,4]]}}}],["on",{"_index":161,"t":{"182":{"position":[[138,3]]},"190":{"position":[[53,3]]}}}],["onboard",{"_index":57,"t":{"49":{"position":[[36,10]]}}}],["orchestr",{"_index":120,"t":{"128":{"position":[[39,13]]}}}],["order",{"_index":156,"t":{"182":{"position":[[56,5]]}}}],["otherwis",{"_index":34,"t":{"11":{"position":[[96,10]]}}}],["parallel",{"_index":122,"t":{"128":{"position":[[66,8]]}}}],["permiss",{"_index":151,"t":{"178":{"position":[[25,10]]}}}],["persist",{"_index":61,"t":{"51":{"position":[[31,13]]},"196":{"position":[[14,11]]}}}],["play",{"_index":114,"t":{"91":{"position":[[199,5]]}}}],["playback",{"_index":104,"t":{"91":{"position":[[60,9]]}}}],["playlist",{"_index":107,"t":{"91":{"position":[[91,10]]}}}],["pr",{"_index":79,"t":{"71":{"position":[[77,4]]}}}],["pre",{"_index":16,"t":{"7":{"position":[[65,3]]}}}],["prefer",{"_index":177,"t":{"196":{"position":[[166,12]]}}}],["press",{"_index":18,"t":{"7":{"position":[[77,5]]}}}],["project",{"_index":147,"t":{"176":{"position":[[52,7]]},"196":{"position":[[186,9]]}}}],["provid",{"_index":132,"t":{"150":{"position":[[46,9]]},"182":{"position":[[23,10],[99,8],[176,9]]}}}],["pull",{"_index":76,"t":{"71":{"position":[[52,4]]}}}],["re",{"_index":10,"t":{"7":{"position":[[15,2]]}}}],["regist",{"_index":91,"t":{"71":{"position":[[205,10]]}}}],["releas",{"_index":188,"t":{"220":{"position":[[28,7]]},"224":{"position":[[0,7]]}}}],["reliabl",{"_index":197,"t":{"224":{"position":[[91,12]]}}}],["rememb",{"_index":162,"t":{"182":{"position":[[146,9]]}}}],["replac",{"_index":25,"t":{"7":{"position":[[147,7]]}}}],["repositori",{"_index":70,"t":{"59":{"position":[[52,10]]},"71":{"position":[[273,12]]}}}],["request",{"_index":77,"t":{"71":{"position":[[57,9]]}}}],["requir",{"_index":1,"t":{"1":{"position":[[8,8]]}}}],["rest",{"_index":117,"t":{"91":{"position":[[247,5]]}}}],["restart",{"_index":53,"t":{"45":{"position":[[75,8]]}}}],["retriev",{"_index":175,"t":{"196":{"position":[[133,9]]}}}],["review",{"_index":78,"t":{"71":{"position":[[67,9]]}}}],["run",{"_index":11,"t":{"7":{"position":[[18,4]]},"13":{"position":[[8,4]]},"49":{"position":[[0,3]]},"51":{"position":[[19,3],[120,8]]}}}],["runtim",{"_index":144,"t":{"176":{"position":[[4,7]]}}}],["schedul",{"_index":41,"t":{"13":{"position":[[61,9]]},"190":{"position":[[12,8]]}}}],["search",{"_index":105,"t":{"91":{"position":[[70,6]]}}}],["section",{"_index":186,"t":{"220":{"position":[[5,7]]}}}],["servic",{"_index":45,"t":{"35":{"position":[[8,7]]},"45":{"position":[[28,7]]},"51":{"position":[[65,7]]}}}],["setup",{"_index":12,"t":{"7":{"position":[[27,5]]}}}],["shell",{"_index":152,"t":{"178":{"position":[[47,5]]}}}],["shot",{"_index":167,"t":{"190":{"position":[[57,4]]}}}],["skill",{"_index":181,"t":{"210":{"position":[[0,6]]}}}],["spawn",{"_index":121,"t":{"128":{"position":[[60,5]]}}}],["spotifi",{"_index":100,"t":{"91":{"position":[[25,7]]}}}],["start",{"_index":50,"t":{"45":{"position":[[42,6]]},"51":{"position":[[84,6]]}}}],["store",{"_index":174,"t":{"196":{"position":[[121,7]]}}}],["stream",{"_index":135,"t":{"150":{"position":[[86,10]]}}}],["structur",{"_index":169,"t":{"196":{"position":[[26,10]]}}}],["style",{"_index":67,"t":{"59":{"position":[[27,5]]}}}],["sub",{"_index":127,"t":{"128":{"position":[[157,3]]}}}],["success",{"_index":164,"t":{"182":{"position":[[165,10]]}}}],["switch",{"_index":113,"t":{"91":{"position":[[179,10]]}}}],["system",{"_index":49,"t":{"45":{"position":[[21,6]]},"51":{"position":[[58,6]]},"178":{"position":[[36,6]]}}}],["tab",{"_index":111,"t":{"91":{"position":[[166,5]]}}}],["task",{"_index":42,"t":{"13":{"position":[[71,5]]},"128":{"position":[[95,5]]},"190":{"position":[[21,5]]}}}],["telegram",{"_index":31,"t":{"11":{"position":[[73,8]]},"13":{"position":[[48,8]]},"71":{"position":[[318,9]]},"150":{"position":[[20,8]]}}}],["termin",{"_index":44,"t":{"13":{"position":[[110,9]]},"71":{"position":[[306,8]]}}}],["three",{"_index":149,"t":{"178":{"position":[[14,5]]}}}],["through",{"_index":86,"t":{"71":{"position":[[136,7]]},"91":{"position":[[125,7]]}}}],["tier",{"_index":150,"t":{"178":{"position":[[20,4]]}}}],["time",{"_index":56,"t":{"49":{"position":[[26,5]]}}}],["token",{"_index":37,"t":{"11":{"position":[[131,7]]},"150":{"position":[[39,6]]}}}],["tool",{"_index":90,"t":{"71":{"position":[[195,5]]}}}],["toolset",{"_index":95,"t":{"71":{"position":[[245,8]]},"164":{"position":[[23,7]]}}}],["track",{"_index":187,"t":{"220":{"position":[[13,6]]}}}],["tri",{"_index":155,"t":{"182":{"position":[[42,5],[123,5]]}}}],["type",{"_index":23,"t":{"7":{"position":[[127,4]]},"11":{"position":[[0,4]]}}}],["unchang",{"_index":22,"t":{"7":{"position":[[113,10]]}}}],["unless",{"_index":32,"t":{"11":{"position":[[82,6]]}}}],["upgrad",{"_index":194,"t":{"224":{"position":[[41,8]]}}}],["upload",{"_index":137,"t":{"150":{"position":[[102,8]]}}}],["us",{"_index":141,"t":{"164":{"position":[[38,3]]},"190":{"position":[[27,5]]}}}],["valu",{"_index":15,"t":{"7":{"position":[[58,6],[138,5]]}}}],["version",{"_index":190,"t":{"220":{"position":[[45,8]]}}}],["via",{"_index":130,"t":{"150":{"position":[[29,3]]}}}],["way",{"_index":60,"t":{"51":{"position":[[12,3]]}}}],["without",{"_index":97,"t":{"71":{"position":[[286,7]]}}}],["wizard",{"_index":13,"t":{"7":{"position":[[33,6]]},"49":{"position":[[47,6]]}}}],["work",{"_index":28,"t":{"11":{"position":[[52,4]]},"13":{"position":[[82,7]]},"128":{"position":[[200,5]]}}}],["workspac",{"_index":68,"t":{"59":{"position":[[33,9]]},"224":{"position":[[50,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":2,"t":"Mercury requires Node.js 20+. Install with npm: npm i -g @cosmicstack/mercury-agent Or run without installing: npx @cosmicstack/mercury-agent","s":"Installation","u":"/docs","h":"","p":1},{"i":4,"t":"Mercury includes a built-in upgrade command that handles the full update cycle: mercury upgrade This command: Checks npm for the latest published version Stops the daemon if running, to avoid conflicts Removes the old package first to prevent ENOTEMPTY errors Installs the latest version globally Shows the before/after version comparison :::tip ENOTEMPTY fix If you see ENOTEMPTY: directory not empty, rename when running npm i -g manually, use mercury upgrade instead — it removes the old package directory before installing the new one. :::","s":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":6,"t":"Command Description mercury up Recommended. Install service + start daemon + ensure running mercury Start the agent (same as mercury start) mercury start Start as background daemon (default) mercury start --foreground Start in foreground (interactive) mode. Shorthand: -f mercury restart Restart a background Mercury process mercury stop Stop a background Mercury process mercury logs Show last 100 lines of daemon logs mercury status Show config, providers, daemon PID, and budget mercury doctor Reconfigure settings — press Enter to keep current values mercury doctor --platform Show cross-platform terminal/daemon compatibility diagnostics mercury setup Re-run the setup wizard (same as doctor) mercury help Show the full manual (tools, commands, config paths) mercury service install Install as system service (auto-start on boot) mercury service uninstall Uninstall the system service mercury service status Show system service status mercury --verbose Start with debug logging on stderr","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","h":"","p":5},{"i":8,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it. API keys are shown masked: sk-x••••4f2a Providers and models can be reselected; Mercury fetches models again for changed credentials Telegram token — type none to disable Telegram, or paste a token to start the pairing-code flow Daily budget — change the token budget limit mercury doctor","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","h":"","p":7},{"i":10,"t":"Use --platform to run a non-destructive compatibility check for your current environment: mercury doctor --platform This prints: OS + architecture Node.js version Terminal + TTY/raw-mode capability SSH/CI detection Daemon status Spotify inline-art support status Keybinding fallbacks (/view, /ws exit, etc.)","s":"Platform Diagnostics","u":"/docs/cli-commands/doctor","h":"#platform-diagnostics","p":7},{"i":12,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens. Command Description /help Show the full manual /status Show agent name, provider, budget, and channels / or /menu CLI only: open the arrow-key command picker with Back and Exit options /telegram CLI only: open Telegram management with pending requests, approvals, roles, and reset actions /telegram pending CLI only: list pending Telegram access requests /telegram users CLI only: list approved Telegram admins and members /telegram approve <code|id> CLI only: approve the first pairing code or a later Telegram access request /telegram reject <id> CLI only: reject a pending Telegram access request /telegram remove <id> CLI only: revoke an approved Telegram user /telegram promote <id> CLI only: promote a Telegram member to admin /telegram demote <id> CLI only: demote a Telegram admin to member /telegram reset CLI only: clear all Telegram access and restart pairing from scratch /tools List all currently loaded tools /skills List installed skills /stream Toggle Telegram text streaming (on/off) /stream off Disable streaming — responses arrive as single message /budget Show token budget status /budget override Override budget for one request /budget reset Reset usage to zero /budget set <n> Change daily token budget /permissions Change permission mode (Ask Me / Allow All) — Telegram only /models List configured models/providers and switch active model for this session /models use <provider> Switch the current session model/provider /models doctor Show how to add/configure models via mercury doctor /view Toggle progress view (balanced/detailed) /view balanced Set compact progress view /view detailed Set full progress view /code agent <task> Delegate a coding task to a sub-agent in the background /ws exit Exit workspace IDE mode back to general chat /bg <command> Run a shell command in the background /bg: <task> Run a natural-language sub-agent task in background /bg current Move the current in-flight task to background /bg list Show background tasks /bg <id> Show details/output for one background task /bg cancel <id> Cancel a running background task /bg clear Prune completed background tasks /tasks List scheduled tasks /memory View and manage second brain memory /unpair Telegram only: reset all access, new users can /start again :::info Telegram pairing and access Telegram stays private 1:1 only. The first user sends /start, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send /start, appear as pending requests, and can then be approved or rejected from the CLI /telegram menu. :::","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","h":"","p":11},{"i":14,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","h":"","p":13},{"i":16,"t":"mercury start Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ~/.mercury/daemon.pid, and redirects output to ~/.mercury/daemon.log. Stale PID files are automatically cleaned up.","s":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":13},{"i":18,"t":"mercury start --foreground Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: mercury start -f.","s":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":13},{"i":20,"t":"mercury up This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID.","s":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":13},{"i":22,"t":"mercury stop Sends SIGTERM (process.kill on Windows) to the background process and removes the PID file.","s":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":13},{"i":24,"t":"mercury restart Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart.","s":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":13},{"i":26,"t":"mercury logs Shows the last 100 lines of ~/.mercury/daemon.log.","s":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":13},{"i":28,"t":"mercury status Shows whether the daemon is running, its PID, and the log file path. :::info Crash recovery Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent \"already running\" false positives. :::","s":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":13},{"i":30,"t":"Daemon mode supports async background execution for both shell commands and delegated sub-agent work.","s":"Background Tasks and Workers","u":"/docs/daemon-mode/daemon-mode","h":"#background-tasks-and-workers","p":13},{"i":32,"t":"Start with /bg <command> Inspect with /bg list and /bg <id> Cancel with /bg cancel <id>","s":"Shell background tasks","u":"/docs/daemon-mode/daemon-mode","h":"#shell-background-tasks","p":13},{"i":34,"t":"Delegate coding with /code agent <task> or /bg: <task> Move active task to worker with /bg current Worker progress/completion is surfaced in the shared background task board (/bg list) These workers are designed to keep Mercury responsive while long-running work continues.","s":"Sub-agent workers","u":"/docs/daemon-mode/daemon-mode","h":"#sub-agent-workers","p":13},{"i":36,"t":"macOS Linux Windows mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist. Auto-start: Loads on login via launchctl load Crash recovery: KeepAlive SuccessfulExit = false restarts on crash No sudo needed: User-level LaunchAgent, not system daemon Logs: ~/.mercury/daemon.log and ~/.mercury/daemon-error.log Manual management​ launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist mercury service install creates a systemd user unit at ~/.config/systemd/user/mercury.service. Auto-start: Enabled via systemctl --user enable mercury.service Crash recovery: Restart=on-failure with 5s delay No sudo needed: User-level service Boot without login: Run sudo loginctl enable-linger $USER once Logs: ~/.mercury/daemon.log or journalctl --user -u mercury Manual management​ systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury mercury service install creates a Windows Task Scheduler task named MercuryAgent. Auto-start: Triggers on user logon via schtasks Crash recovery: Built-in watchdog with exponential backoff No admin needed: Runs with limited privileges (/rl limited) Logs: %USERPROFILE%\\.mercury\\daemon.log Manual management​ schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","h":"","p":35},{"i":38,"t":"launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":35},{"i":40,"t":"systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":35},{"i":42,"t":"schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":35},{"i":44,"t":"Mercury does not currently ship first-party Docker assets in this repository (no Dockerfile or docker-compose.yml by default). If you run Mercury in a container, treat it as an advanced/custom deployment: Prefer foreground mode (mercury start --foreground) inside the container Let the container runtime handle restart policy Mount ~/.mercury as persistent storage Validate terminal/TTY behavior separately for interactive CLI usage","s":"Docker Status","u":"/docs/daemon-mode/platform-guide","h":"#docker-status","p":35},{"i":46,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash. mercury service install This detects your platform and generates the appropriate service config. Platform Method Requires Admin Auto-Start Crash Recovery macOS LaunchAgent plist No On login KeepAlive (restart on crash) Linux systemd user unit No* On login Restart=on-failure, 5s delay Windows Task Scheduler (schtasks) No On logon Built-in watchdog *Linux boot-without-login requires loginctl enable-linger $USER (one-time, needs sudo).","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","h":"","p":45},{"i":48,"t":"mercury service status mercury service uninstall","s":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":45},{"i":50,"t":"Run mercury for the first time. The onboarding wizard asks for: Your name — used by the agent to address you Agent name — defaults to \"Mercury\", customize it LLM providers — choose one or more: DeepSeek, OpenAI, Anthropic, Grok, Ollama Cloud, Ollama Local, or OpenAI Compatible Model selection — after each valid key, Mercury fetches recommended chat models and lets you choose a default Telegram bot token — optional, for remote access in private 1:1 chats Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text. If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send /start to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup. All config is stored in ~/.mercury/ — nothing in your project directory. :::info Masked keys When reconfiguring with mercury doctor, existing API keys are shown masked like sk-x••••4f2a. Press Enter to keep the current value, or paste a new key to replace it. :::","s":"First-Time Setup","u":"/docs/getting-started/setup","h":"","p":49},{"i":52,"t":":::tip Recommended: mercury up The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running. ::: mercury up If Mercury is already running, mercury up just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon.","s":"Starting Mercury","u":"/docs/getting-started/starting","h":"","p":51},{"i":54,"t":"mercury start Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ~/.mercury/daemon.log. Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff.","s":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":51},{"i":56,"t":"mercury start --foreground Runs Mercury attached to your terminal with the Ink TUI interface. Press Ctrl+C to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: mercury start -f. When running in background mode, you can stop it with: mercury stop","s":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":51},{"i":58,"t":"Add --verbose to any start command to see debug logs on stderr: mercury start --verbose","s":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":51},{"i":60,"t":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","s":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","h":"","p":59},{"i":62,"t":"You can enter workspace mode in multiple ways: /code and choose workspace /code workspace /ws open <path> Once active, Mercury switches to coding context for that repository.","s":"Enter Workspace Mode","u":"/docs/integrations/coding-workspace","h":"#enter-workspace-mode","p":59},{"i":64,"t":"Use programming modes to control behavior: /code plan — analysis/planning first, minimal code changes /code execute — implementation mode /code off — return to normal conversation behavior","s":"Modes","u":"/docs/integrations/coding-workspace","h":"#modes","p":59},{"i":66,"t":"Ctrl+P → Plan mode Ctrl+X → Execute mode Esc or Ctrl+Q → Exit workspace back to chat Ctrl+E → Explorer pane Ctrl+G → Git pane","s":"Keyboard shortcuts (CLI)","u":"/docs/integrations/coding-workspace","h":"#keyboard-shortcuts-cli","p":59},{"i":68,"t":"Command Description /ws open <path> Open a directory in workspace mode /ws refresh Refresh file tree + git status /ws stage <file|all> Stage one file or all changes /ws commit <message> Commit staged changes /ws undo <file> Revert file changes /ws exit Exit workspace mode back to general chat","s":"Workspace Commands","u":"/docs/integrations/coding-workspace","h":"#workspace-commands","p":59},{"i":70,"t":"Workspace mode supports explicit delegation and backgrounding: /code agent <task> — delegate coding work to a sub-agent /bg current — move active in-flight work to background /bg list — inspect all background tasks (shell + sub-agent) /bg <id> — view task details/output /bg cancel <id> — cancel running background work This lets you continue coding/chatting while long operations run asynchronously.","s":"Sub-Agents + Background in Coding","u":"/docs/integrations/coding-workspace","h":"#sub-agents--background-in-coding","p":59},{"i":72,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram. :::info Conditional availability GitHub tools only appear when GITHUB_TOKEN is configured via mercury doctor. Without a token, these tools are not registered and won't be available in conversation. :::","s":"GitHub Companion","u":"/docs/integrations/github-companion","h":"","p":71},{"i":74,"t":"Co-authored commits — Mercury's avatar appears alongside yours on every commit it helps with Pull requests — \"Create a PR for this change\" and Mercury stages, commits, pushes, and opens the PR Issue management — \"Check open issues\" or \"File a bug for the login crash\" Code review — \"Review PR #5\" and Mercury reads the diff and posts a summary Full API access — The github_api tool lets Mercury hit any GitHub endpoint","s":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":71},{"i":76,"t":"Run mercury doctor and fill in the four GitHub fields: mercury doctor","s":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":71},{"i":78,"t":"Your GitHub username. This is used for commit attribution and identifying you in API calls. Example: hotheadhacker","s":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":71},{"i":80,"t":"Every Mercury-assisted commit automatically includes a Co-authored-by: Mercury <[email protected]> trailer. No configuration needed — this is the default. Mercury's avatar will appear alongside yours on GitHub. You can customize the email in ~/.mercury/.env by setting GITHUB_EMAIL if you prefer a different co-author address.","s":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":71},{"i":82,"t":"You need a token so Mercury can authenticate with the GitHub API. Never share this token. It's stored locally in ~/.mercury/.env and never sent anywhere except GitHub's API. :::warning Where to create your token Fine-grained PAT (recommended): Go to github.com/settings/personal-access-tokens/new Give it a name (e.g. mercury-agent) and set an expiration Under Repository access, select All repositories or choose specific repos Under Permissions → Repository permissions, grant: Contents — Read and write Pull requests — Read and write Issues — Read and write Click Generate token and copy it immediately Classic PAT: Go to github.com/settings/tokens/new Give it a name (e.g. mercury-agent) and set an expiration Select the repo scope (full control of private repositories) Click Generate token and copy it immediately :::","s":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":71},{"i":84,"t":"Set a default repository so you can say \"create an issue\" without specifying the repo every time. You can enter it in any of these formats: hotheadhacker/mercury-agent https://github.com/hotheadhacker/mercury-agent Mercury will parse the owner and repo name automatically from either format. Press Enter on any field to keep its current value. When the PAT is set, you'll see: ✓ GitHub tools registered (5)","s":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":71},{"i":86,"t":"Tool What it does create_pr Create a pull request with title, body, head branch, and base branch review_pr Fetch a PR diff, review the changes, and post review comments list_issues List and filter issues in a repository (open, closed, by label, by assignee) create_issue Create a new issue with title, body, labels, and assignees github_api Raw GitHub API access — an escape hatch for any endpoint not covered above","s":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":71},{"i":88,"t":"When Mercury commits code using git_commit, it automatically appends a Co-authored-by: Mercury <[email protected]> trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history — giving credit where it's due.","s":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":71},{"i":90,"t":":::warning PAT storage Your GitHub PAT is stored in ~/.mercury/mercury.yaml alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised. :::","s":"Security","u":"/docs/integrations/github-companion","h":"#security","p":71},{"i":92,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest. :::info Spotify Premium Read-only features (search, top tracks, playlists, now playing) work on free Spotify accounts. Playback control (play, pause, skip, volume, shuffle, repeat, queue) requires a Spotify Premium subscription — this is a Spotify API limitation, not a Mercury restriction. :::","s":"Spotify Integration","u":"/docs/integrations/spotify","h":"","p":91},{"i":95,"t":"Go to developer.spotify.com/dashboard Log in with your Spotify account Click \"Create app\" Fill in: App name: Mercury (or anything you like) App description: Mercury Agent Spotify Integration Redirect URI: http://127.0.0.1:8888/callback — this must match exactly Click Save On the app's settings page, copy the Client ID and Client Secret :::tip Development Mode When your Spotify Developer app is in development mode (the default), you can grant access to up to 25 users. Go to your app's settings → User Management → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request extended quota from Spotify. :::","s":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":91},{"i":97,"t":"Run mercury doctor (or mercury setup for first-time setup): mercury doctor When prompted for Spotify, choose Yes and enter: Spotify Client ID — paste the Client ID from Step 1 Spotify Client Secret — paste the Client Secret from Step 1 Press Enter on any other field to keep its current value. After setup, you'll see: Spotify: not connected — run /spotify auth to link your account","s":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":91},{"i":99,"t":"Start Mercury and run: /spotify auth Choose your authorization method: Method When to use Open browser (recommended) When Mercury is running locally on your machine Paste authorization code When browser auto-open fails, or via SSH For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the code parameter from the redirect URL: /spotify code <paste-your-code-here> After successful auth, Mercury shows: Spotify: connected as YourName","s":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":91},{"i":101,"t":"Command Description /spotify Show connection status, account name, plan, and active device /spotify auth Start OAuth flow (browser or manual code) /spotify code <code> Complete auth with a pasted authorization code /spotify logout Disconnect Spotify and clear saved tokens /spotify player Interactive player with arrow-key controls (CLI only) /spotify devices List available Spotify devices /spotify device <id> Set active device /spotify now Show what is currently playing","s":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":91},{"i":103,"t":"These are the tools Mercury uses when you talk about music:","s":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":91},{"i":105,"t":"Tool What it does spotify_search Search tracks, artists, albums, playlists spotify_now_playing Show what's currently playing spotify_devices List available Spotify devices spotify_top_tracks Get your top tracks (time_range: short/medium/long term) spotify_playlists Get your playlists spotify_like Save a track to your library","s":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":91},{"i":107,"t":"Tool What it does spotify_play Play a track, album, or playlist on a device spotify_pause Pause playback spotify_next Skip to next track spotify_previous Skip to previous track spotify_volume Set volume (0-100) spotify_shuffle Toggle shuffle on/off spotify_repeat Set repeat mode (off, track, context) spotify_queue Add a track to the playback queue","s":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":91},{"i":109,"t":"Just talk to Mercury naturally about music: You say Mercury does \"play some chill music\" Searches \"lo-fi chill\", picks tracks, plays on your device \"what are my top tracks?\" Calls spotify_top_tracks, shows results \"skip this song\" Calls spotify_next \"pause\" Calls spotify_pause \"play my playlist Road Trip\" Searches your playlists, plays the match \"set volume to 50\" Calls spotify_volume(50) \"what's playing?\" Calls spotify_now_playing, shows artist — track + progress bar \"add this to my queue\" Calls spotify_queue with current track \"shuffle on\" Calls spotify_shuffle(true)","s":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":91},{"i":111,"t":"The /spotify player command launches an interactive arrow-key player in your terminal: ▶ Play/Pause ◀ Previous ▶▶ Next 🔊 Volume 🔀 Shuffle 🔁 Repeat 🔍 Search 📋 Queue ✕ Exit Every action shows real-time feedback with track info and a progress bar.","s":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":91},{"i":113,"t":"Mercury's Spotify flow supports a practical DJ mode pattern in conversation and in the CLI player: Queue songs while current playback continues Skip/recover quickly with next/previous controls Adjust energy with volume/shuffle/repeat in-session Keep steering by prompts like: \"Queue 3 upbeat tracks\" \"Skip this and play something calmer\" \"Keep this vibe for the next 20 minutes\" Use /spotify player for hands-on control, or use natural-language prompts to keep the set moving.","s":"DJ Mode","u":"/docs/integrations/spotify","h":"#dj-mode","p":91},{"i":115,"t":"Inside the Spotify player (CLI): N → next track P → previous track + / - → volume up/down by 10% Z → refresh now playing Esc → exit player","s":"Player shortcuts","u":"/docs/integrations/spotify","h":"#player-shortcuts","p":91},{"i":117,"t":"Mercury supports inline album art as a progressive enhancement (text UI remains the default). Enable with: MERCURY_SPOTIFY_ART=1 Currently rendered only in local iTerm sessions Automatically falls back to text-only view in SSH/mobile/light terminals","s":"Optional inline album art","u":"/docs/integrations/spotify","h":"#optional-inline-album-art","p":91},{"i":119,"t":"Spotify plays on your devices — phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available: /spotify devices If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device: /spotify device <device-id> The device ID persists across sessions — Mercury remembers your preferred device.","s":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":91},{"i":121,"t":"Mercury stores your Spotify tokens in ~/.mercury/mercury.yaml: Access token — short-lived, auto-refreshed Refresh token — long-lived, used to get new access tokens Account info — display name, user ID, plan (Premium/Free) Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run /spotify auth again.","s":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":91},{"i":123,"t":"/spotify logout This clears all tokens and account info. Run /spotify auth to reconnect later.","s":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":91},{"i":125,"t":":::warning Client credentials Your Spotify Client ID and Client Secret are stored in ~/.mercury/mercury.yaml. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential. ::: Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.","s":"Security","u":"/docs/integrations/spotify","h":"#security","p":91},{"i":127,"t":"Issue Solution \"Spotify Premium is required\" error You need Premium for playback control. Read-only features still work on free accounts. 403 errors on play/pause/skip Your account is on Spotify's free tier. Playback APIs are Premium-only. \"No active device\" Open Spotify on your phone/computer, play any song, then try again. Browser doesn't open for auth Use the manual code flow: /spotify auth → choose \"Paste code\" Token expired after long idle Run /spotify auth to get fresh tokens Account name not showing Run /spotify and Mercury will fetch it live from Spotify's API","s":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":91},{"i":129,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","h":"","p":128},{"i":131,"t":"Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to \"research this topic, write the code, and review the result,\" it does them sequentially — each step blocks the next. Sub-agents break this bottleneck: Parallel execution — Multiple tasks run simultaneously across isolated context windows LLM-driven delegation — Mercury itself decides when to delegate based on task complexity Non-blocking — You can keep chatting with Mercury while sub-agents work in the background File locks — Reader-writer locks prevent concurrent write conflicts between agents Resource-aware — Max concurrent agents is auto-detected from your system's CPU and RAM","s":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":128},{"i":133,"t":"You: \"Build a REST API for users and write integration tests\" Mercury decides to delegate: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Build REST API endpoints for users\" **Agent a2** is now working on: \"Write integration tests for user endpoints\" Active agents: 2/4 You can continue chatting while the agents work. Use /agents to check status. Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the API and agent a2 is writing tests. They'll work independently. (you continue chatting normally) 🔄 Agent a1: Using: read_file, create_file 🔄 Agent a2: Using: list_dir, read_file ✅ **Agent a1** completed (12.3s): \"REST API built with 5 endpoints\" ✅ **Agent a2** completed (18.7s): \"12 integration tests passing\" Both agents are done. Want me to review the results together?","s":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":128},{"i":135,"t":"Command Description /agents List all sub-agents (running and completed) /code agent <task> Delegate a coding task to a sub-agent immediately /bg: <task> Run a natural-language sub-agent task in background /bg current Move current in-flight task to a background sub-agent /bg list List shell + sub-agent background tasks /halt Emergency: halt all sub-agents and clear the task queue /stop Full reset: halt agents, clear queue, release locks, clear task board Slash commands like /agents, /halt, /stop, /spotify, and /code status work even while the main agent is busy — they're processed immediately on a fast path.","s":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":128},{"i":137,"t":"Mercury uses these tools to manage sub-agents: Tool Description delegate_task Spawn a sub-agent with a task description and optional context list_agents Show all running and completed sub-agents stop_agent Halt a specific running sub-agent by ID When Mercury decides a task is complex enough to benefit from parallel execution, it calls delegate_task. You'll see a response like: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Analyze the codebase structure for...\" Active agents: 1/4 You can continue chatting while the agent works. I'll notify you when it's done. Use /agents to check status.","s":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":128},{"i":139,"t":"User message → Main Agent (orchestrator) ├─ delegate_task(\"research X\") → Sub-Agent a1 (isolated context) ├─ delegate_task(\"implement Y\") → Sub-Agent a2 (isolated context) └─ continues conversation → responds to user │ a1: \"🔄 Using: read_file\" a1: \"🔄 Using: edit_file\" a2: \"🔄 Using: list_dir\" a1: \"✅ completed (8.2s)\" a2: \"🔄 Using: create_file\" a2: \"✅ completed (15.1s)\" Each sub-agent: Has its own context window — the main agent's conversation doesn't pollute it Runs an independent 10-step agentic loop with the same tool access Uses the same permission system — but with auto-approve for the task's scope Reports progress via the notification channel (CLI or Telegram) Respects file locks — if a1 is writing a file, a2 waits for the lock","s":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":128},{"i":141,"t":"Mercury decides to delegate when: A task is naturally parallelizable (e.g., \"research X while I code Y\") The task benefits from an isolated context window (no pollution from the main conversation) A task is complex enough to warrant dedicated focus Multiple independent investigations would save time You can also ask Mercury explicitly: \"Use two agents for this\" or \"Delegate this task.\"","s":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":128},{"i":143,"t":"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel: 🔄 Agent a1: Starting task... 🔄 Agent a1: Using: read_file, edit_file 🔄 Agent a2: Using: fetch_url, create_file ✅ Agent a1 completed (8.2s): \"Analyzed the codebase...\" 🔄 Agent a2: Using: run_command ✅ Agent a2 completed (14.5s): \"Tests passing...\" If you send /agents, you'll see the full status: **Sub-Agents:** 🔄 a1: Build REST API endpoints — running (Using: read_file) ⏳ a2: Write integration tests — pending Background-tracked agent tasks also appear in /bg list so shell jobs and delegated coding work share one progress surface.","s":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":128},{"i":145,"t":"Sub-agents are configured in ~/.mercury/mercury.yaml: subagents: enabled: true maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4) mode: auto # \"auto\" (LLM decides) or \"manual\" (user controls) Environment variable overrides: Variable Description SUBAGENTS_ENABLED Enable/disable sub-agents SUBAGENTS_MAX_CONCURRENT Max number of concurrent agents SUBAGENTS_MODE auto or manual","s":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":128},{"i":147,"t":"Sub-agents pair well with Mercury's programming mode for code tasks: Command Mode Behavior /code plan Plan Analyze without writing code /code execute Execute Implement step by step /code off Off Normal conversation /code toggle — Cycle through modes /code status — Show current mode","s":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":128},{"i":149,"t":"When /code plan is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during /code execute. The ask_user tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.","s":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":128},{"i":151,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","s":"Telegram","u":"/docs/integrations/telegram","h":"","p":150},{"i":153,"t":"Mercury uses an organization access model with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending /start, which admins can approve or reject. :::info First-time pairing When no admins exist yet, sending /start creates a pairing code that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send /start to create a pending request that admins can approve or reject. ::: :::warning Private chats only Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored. :::","s":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":150},{"i":155,"t":"Role Description Can approve requests? Admin First user to pair. Can approve/reject access requests, promote/demote users, and reset all access. Yes Member Approved by an admin. Can send messages and receive responses. No Pending Sent /start but not yet approved. Can only see their pending status. No","s":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":150},{"i":157,"t":"Command Description mercury telegram list Show approved admins, members, and pending requests mercury telegram approve <code|userId> Approve the first pairing code or a pending request by user ID mercury telegram reject <userId> Reject a pending access request mercury telegram remove <userId> Remove an approved admin or member mercury telegram promote <userId> Promote a member to admin mercury telegram demote <userId> Demote an admin to member (at least one admin must remain) mercury telegram reset Clear all Telegram access (admins, members, pending). Start fresh.","s":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":150},{"i":159,"t":"Command Description /start or /pair Request access (new users) or check status (approved users) /unpair Admin only: Reset all Telegram access for this Mercury instance","s":"In-Chat Commands","u":"/docs/integrations/telegram","h":"#in-chat-commands","p":150},{"i":161,"t":"Feature Description Text streaming Real-time response editing with typing indicators (toggle with /stream) File uploads Photos, audio, video, and documents auto-detected and sent with the right API HTML formatting Markdown automatically converted to Telegram-compatible HTML Inline keyboards Shell command and scope approvals shown as Allow / Always / Deny buttons Multi-user access Organization model with admins and members. send_message broadcasts to all approved users. Bot commands menu 12 commands registered in Telegram's bot menu for quick access","s":"Features","u":"/docs/integrations/telegram","h":"#features","p":150},{"i":163,"t":"Telegram is set up during mercury doctor or initial onboarding. You need a bot token from @BotFather. Variable Description Default TELEGRAM_BOT_TOKEN Bot token from @BotFather — TELEGRAM_ENABLED Enable/disable Telegram channel false TELEGRAM_STREAMING Enable real-time text streaming true Type none as the bot token during mercury doctor to disable Telegram.","s":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":150},{"i":165,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","h":"","p":164},{"i":167,"t":"Tool What it does Parameters read_file Read file contents path write_file Write to an existing file path, content create_file Create a new file (creates parent dirs) path, content edit_file Search and replace text in a file path, old_string, new_string list_dir List directory contents path delete_file Delete a file path send_file Send file to user (Telegram upload) path approve_scope Request read/write access to a directory path, mode","s":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":164},{"i":169,"t":"Tool What it does Parameters send_message Send a message to approved Telegram recipients content","s":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":164},{"i":171,"t":"Tool What it does Parameters run_command Execute a shell command command cd Change working directory (persists across calls) path approve_command Permanently approve a command type command (e.g. \"curl\")","s":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":164},{"i":173,"t":"Tool What it does git_status Working tree status git_diff Show file changes git_log Commit history git_add Stage files git_commit Create a commit git_push Push to remote (needs approval)","s":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":164},{"i":175,"t":"Tool What it does Category fetch_url Fetch a URL and return content (HTML stripped) Web install_skill Install a skill from URL or content Skills list_skills List installed skills Skills use_skill Invoke a skill by name Skills schedule_task Schedule recurring (cron) or one-shot (delay) task Scheduler list_scheduled_tasks View all scheduled tasks Scheduler cancel_scheduled_task Cancel a scheduled task Scheduler budget_status Check token budget usage System","s":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":164},{"i":177,"t":"All runtime data lives in ~/.mercury/ — not in your project directory. Path Purpose ~/.mercury/mercury.yaml Main config (providers, channels, budget) ~/.mercury/soul/*.md Agent personality (soul, persona, taste, heartbeat) ~/.mercury/permissions.yaml Capabilities and approval rules ~/.mercury/skills/ Installed skills ~/.mercury/schedules.yaml Scheduled tasks ~/.mercury/token-usage.json Daily token usage tracking ~/.mercury/memory/ Short-term, long-term, episodic memory ~/.mercury/daemon.pid Background process PID ~/.mercury/daemon.log Daemon mode logs","s":"Configuration","u":"/docs/reference/configuration","h":"","p":176},{"i":179,"t":"Mercury has a three-tier permission system for shell commands: Blocked — Commands like sudo, rm -rf /, mkfs are never executed Auto-approved — Safe commands like ls, cat, git status run without asking Pending approval — Unknown commands pause and ask you. Say \"always\" to permanently approve a command type Edit ~/.mercury/permissions.yaml to customize. Skill elevation: skills with allowed-tools in their SKILL.md get automatic approval for those tools during execution.","s":"Permissions","u":"/docs/reference/permissions","h":"","p":178},{"i":181,"t":"At session start, Mercury asks you to choose a permission mode: 🔒 Ask Me — Mercury asks for confirmation before file writes, shell commands that need approval, and scope changes. Default on both CLI and Telegram. ✅ Allow All — Mercury auto-approves all directory scopes, all shell commands (except blocked), and loop-continuation prompts. No interruptions during the session. Resets on restart. On CLI: an arrow-key menu appears at startup before the first prompt. On Telegram: inline keyboard buttons appear with the first message. Use /permissions to change mode at any time. Scheduled tasks always run in Allow All mode — filesystem access and shell commands are auto-approved. You receive a notification before each task executes.","s":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":178},{"i":183,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","h":"","p":182},{"i":185,"t":"You can switch the active provider/model at runtime without restarting Mercury: /models — shows configured providers and current active model /models use <provider> — switches the active session model /models doctor — points to setup flow for adding/configuring providers This is a session-level switch for the running process. Use mercury doctor to change persisted defaults.","s":"Session Model Switching","u":"/docs/reference/provider-fallback","h":"#session-model-switching","p":182},{"i":187,"t":"Provider Default Model API Key Configuration DeepSeek deepseek-chat DEEPSEEK_API_KEY Default provider, cost-effective OpenAI gpt-4o-mini OPENAI_API_KEY GPT-4o-mini, GPT-4o, o3, etc. Anthropic claude-sonnet-4-20250514 ANTHROPIC_API_KEY Claude Sonnet, Haiku, Opus Grok (xAI) grok-4 GROK_API_KEY OpenAI-compatible endpoint Ollama Cloud gpt-oss:120b OLLAMA_CLOUD_API_KEY Remote Ollama models via API Ollama Local gpt-oss:20b No key needed Local Ollama instance (127.0.0.1:11434) OpenAI Compatible Configurable OPENAI_COMPAT_API_KEY Any OpenAI-compatible server","s":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":182},{"i":189,"t":"Run mercury doctor and enter API keys for the providers you want to use. You can also set environment variables directly or edit ~/.mercury/mercury.yaml. :::tip Environment variables Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses DEEPSEEK_API_KEY, DEEPSEEK_BASE_URL, and DEEPSEEK_MODEL. Ollama Local requires no API key — just set OLLAMA_LOCAL_ENABLED=true and OLLAMA_LOCAL_MODEL to your preferred local model. ::: :::warning More providers coming Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key. :::","s":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":182},{"i":191,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","h":"","p":190},{"i":193,"t":"Tell Mercury in conversation: \"Remind me every day at 9am to check the server\" \"Schedule a weekly summary every Monday at 10am\"","s":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":190},{"i":195,"t":"\"Remind me in 15 minutes to take a break\" \"Ping me in 2 hours about the deployment\" Tasks persist to ~/.mercury/schedules.yaml and restore on restart. Responses route back to the channel (CLI or Telegram) where the task was created.","s":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":190},{"i":197,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","h":"","p":196},{"i":199,"t":"Extraction — After each conversation, Mercury pulls 0–3 facts and stores them with type, confidence, importance, and durability scores. Retrieval — Before each message, the top 5 relevant memories (within a 900-char budget) are injected into context. Mercury references them naturally. Consolidation — Every 60 minutes, Mercury builds a profile summary, an active-state summary, and generates reflection memories from detected patterns. Pruning — Active-scope memories stale after 21 days. Inferred memories decay. Low-confidence durable memories are dismissed after 120 days. Memories reinforced 3+ times are promoted to durable.","s":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":196},{"i":201,"t":"Type Scope What it stores identity durable Who you are — name, role, background preference durable What you like and dislike goal active What you're working toward project active What you're building habit durable Behavioral patterns and routines decision active Decisions and choices you've made constraint durable Rules and constraints you follow relationship durable People and connections episode active Specific events and experiences reflection durable System-generated insights from patterns","s":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":196},{"i":203,"t":"When Mercury detects opposing memories (e.g. \"prefers TypeScript\" vs \"prefers Python\"), the higher-confidence one wins. If equal, the newer one wins. Negation mismatches (\"likes X\" vs \"does not like X\") are detected and resolved automatically.","s":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":196},{"i":205,"t":"direct — Explicitly stated by you (highest confidence) inferred — Pattern Mercury detected (decays over time) manual — Added via /memory command system — Auto-generated reflections from consolidation","s":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":196},{"i":207,"t":"Use /memory in any channel: Action CLI Telegram Overview Arrow-key menu → Overview Inline button: 📋 Overview Recent memories Arrow-key menu → Recent Inline button: 🔍 Recent Search Arrow-key menu → Search Not available (ask Mercury to search) Pause learning Arrow-key menu → Pause Inline button: ⏸ Pause Resume learning Arrow-key menu → Resume Inline button: ▶ Resume Clear all Arrow-key menu → Clear (with confirmation) Inline button: 🗑 Clear → Yes","s":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":196},{"i":209,"t":"Second Brain is enabled by default. To disable it: Environment variable: SECOND_BRAIN_ENABLED=false Config file: set memory.secondBrain.enabled: false in ~/.mercury/mercury.yaml When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite. All data is stored locally in ~/.mercury/memory/second-brain/second-brain.db (SQLite). Nothing leaves your machine.","s":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":196},{"i":211,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills/<name>/SKILL.md.","s":"Skills","u":"/docs/reference/skills","h":"","p":210},{"i":213,"t":"On first run, Mercury seeds a built-in web-search skill at: ~/.mercury/skills/web-search/SKILL.md If you already have your own web-search skill, Mercury does not overwrite it.","s":"Default skills","u":"/docs/reference/skills","h":"#default-skills","p":210},{"i":215,"t":"Tell Mercury in conversation: \"Install skill from https://example.com/my-skill.md\" Or paste the SKILL.md content directly","s":"Installing","u":"/docs/reference/skills","h":"#installing","p":210},{"i":217,"t":"\"Use the daily-digest skill\"","s":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":210},{"i":219,"t":"\"Remind me daily at 9am to run the daily-digest skill\" Skills follow the Agent Skills specification. They get elevated permissions via allowed-tools and are loaded with progressive disclosure to save tokens.","s":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":210},{"i":221,"t":"This section tracks Mercury release notes by version.","s":"Releases","u":"/docs/releases","h":"","p":220},{"i":223,"t":"v1.1.6","s":"Available release notes","u":"/docs/releases","h":"#available-release-notes","p":220},{"i":225,"t":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","s":"v1.1.6","u":"/docs/releases/1.1.6","h":"","p":224},{"i":227,"t":"New Ink-based interactive TUI with improved startup, status, and activity views. Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation. Background task system for long-running shell and agent work (/bg ...) with live status. Sub-agent lifecycle integration with background tracking and coding delegation (/code agent <task>). Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art. New runtime model switching commands (/models, /models use <provider>). New platform diagnostics command (mercury doctor --platform). Default seeded web-search skill for fresh installs.","s":"Highlights","u":"/docs/releases/1.1.6","h":"#highlights","p":224},{"i":229,"t":"Added minimal/detailed activity views and updated controls. Improved streaming responsiveness and markdown rendering stability. Added coding shortcuts: Ctrl+P plan Ctrl+X execute Esc / Ctrl+Q exit workspace Improved startup permission picker behavior and one-step confirm flow. Added raw-mode watchdog to improve terminal input reliability across environments.","s":"CLI/TUI Improvements","u":"/docs/releases/1.1.6","h":"#clitui-improvements","p":224},{"i":231,"t":"Introduced /ws command family with open/refresh/stage/commit/undo/exit. Added dedicated coding workspace docs page and updated command references. Added automatic handoff of interrupted long tasks to background workers.","s":"Workspace + Coding","u":"/docs/releases/1.1.6","h":"#workspace--coding","p":224},{"i":233,"t":"Added BackgroundTaskManager integration into agent lifecycle. Added /bg current to move active work to background. Added /bg list, /bg <id>, /bg cancel <id>, /bg clear for operational control. Added supervisor lifecycle hooks so agent progress/completion is reflected in background board.","s":"Background Tasks + Sub-Agents","u":"/docs/releases/1.1.6","h":"#background-tasks--sub-agents","p":224},{"i":235,"t":"Added Spotify Deck-style panel and clearer action feedback. Added keyboard shortcuts in player mode (N, P, +, -, Z, Esc). Added separate volume up/down controls. Added safe-gated inline album art support (MERCURY_SPOTIFY_ART=1, iTerm local sessions).","s":"Spotify","u":"/docs/releases/1.1.6","h":"#spotify","p":224},{"i":237,"t":"Expanded Docusaurus docs for: coding workspace mode sub-agents + background tasks platform diagnostics Spotify player shortcuts and album art gating default web-search skill Docker status guidance (no first-party Docker assets shipped in repo)","s":"Docs","u":"/docs/releases/1.1.6","h":"#docs","p":224},{"i":239,"t":"This release includes broad UX/system changes across TUI, background execution, and docs. For provider/model management, use mercury doctor to configure and /models to switch session model.","s":"Notes","u":"/docs/releases/1.1.6","h":"#notes","p":224}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/2",[0,0.586,1,4.129,2,5.185,3,5.185,4,3.766,5,6.446,6,5.185,7,7.296,8,2.453,9,1.558,10,3.546,11,5.869]],["t/4",[0,0.621,4,2.728,5,4.668,6,3.215,9,1.403,12,2.422,13,2.303,14,5.496,15,2.019,16,2.727,17,2.303,18,2.936,19,3.215,20,2.107,21,5.284,22,3.64,23,5.018,24,2.199,25,1.815,26,3.64,27,3.215,28,3.96,29,5.284,30,5.284,31,1.7,32,2.936,33,6.221,34,3.215,35,3.64,36,1.553,37,3.64,38,3.64,39,2.727,40,3.64,41,2.199,42,3.344,43,3.64,44,3.64,45,2.199,46,1.111,47,3.215,48,0.846,49,2.561,50,2.023,51,1.648]],["t/6",[0,0.831,4,2.489,8,0.811,9,1.024,15,1.474,17,1.526,24,2.331,25,2.748,36,2.572,45,1.457,48,0.772,52,1.202,53,1.605,54,1.697,55,4.271,56,2.556,57,1.945,58,3.408,59,1.794,60,1.06,61,2.891,62,1.605,63,0.791,64,1.945,65,1.697,66,2.145,67,2.441,68,2.913,69,1.945,70,1.945,71,2.131,72,1.945,73,2.714,74,1.291,75,1.457,76,1.605,77,2.404,78,2.131,79,1.126,80,1.605,81,1.457,82,1.341,83,1,84,1.697,85,2.714,86,2.412,87,2.412,88,1.605,89,1.945,90,2.441,91,1.945,92,1.945,93,1.945,94,1,95,1.457,96,2.581,97,1.163,98,1.945,99,3.408,100,2.131,101,1.945,102,2.131]],["t/8",[0,0.641,9,1.024,48,0.882,50,2.145,56,1.364,74,2.065,76,3.667,77,2.748,80,2.567,81,2.331,82,2.145,83,1.6,84,3.877,90,2.441,91,3.112,92,3.112,103,3.858,104,3.112,105,2.891,106,3.858,107,3.329,108,3.112,109,1.747,110,2.145,111,3.112,112,3.408,113,3.408,114,3.408,115,3.064,116,3.858,117,2.714,118,2.891,119,2.844,120,3.112,121,2.285,122,2.911,123,3.408,124,2.891,125,2.441,126,2.331,127,1.33,128,2.233,129,2.714,130,3.112]],["t/10",[0,0.455,2,4.03,9,1.211,20,2.64,23,3.679,25,2.274,46,1.392,48,0.991,63,1.496,72,2.497,77,2.274,83,1.891,85,4.357,88,3.035,131,4.03,132,4.561,133,3.209,134,4.561,135,4.561,136,4.03,137,2.756,138,4.561,139,4.03,140,4.561,141,2.756,142,1.891,143,2.64,144,3.209,145,2.886,146,4.561,147,4.561,148,2.756,149,3.209,150,2.64,151,4.03]],["t/12",[0,0.204,4,0.592,8,1.137,9,0.738,15,1.291,17,1.297,28,0.859,31,0.957,36,1.841,45,0.693,46,0.35,48,0.622,50,0.637,51,0.928,52,0.572,56,0.982,59,1.863,63,0.672,66,0.637,72,0.827,74,1.097,76,3.331,77,1.022,79,1.298,83,1.402,90,0.726,93,0.925,94,0.85,107,0.693,109,0.519,110,0.637,115,2.16,118,0.859,119,1.058,121,3.137,122,1.258,124,0.859,126,2.042,127,1.339,129,0.807,148,2.83,149,0.807,150,1.608,152,1.238,153,0.553,154,0.45,155,0.859,156,2.868,157,1.147,158,1.147,159,1.147,160,1.147,161,0.614,162,0.693,163,1.442,164,1.238,165,0.763,166,1.013,167,1.297,168,0.859,169,1.238,170,2.585,171,2.309,172,2.259,173,0.925,174,2.585,175,0.859,176,2.188,177,1.953,178,1.815,179,1.679,180,1.955,181,1.147,182,1.811,183,2.242,184,2.188,185,1.147,186,1.653,187,1.811,188,1.297,189,1.147,190,0.859,191,1.097,192,2.378,193,1.536,194,0.726,195,1.013,196,0.726,197,1.147,198,1.013,199,0.664,200,1.811,201,0.859,202,1.147,203,0.925,204,1.238,205,0.726,206,0.807,207,0.637,208,1.147,209,1.364,210,0.519,211,1.238,212,1.147,213,1.147,214,0.664,215,1.679,216,1.147,217,1.147,218,1.147,219,1.147,220,2.144,221,0.614,222,0.988,223,0.592,224,0.726,225,0.592,226,2.83,227,0.637,228,0.693,229,0.925,230,0.763,231,0.925,232,1.013,233,1.442,234,1.013,235,0.693,236,0.664,237,1.297,238,0.925,239,1.013,240,1.013,241,0.664,242,1.147,243,0.859,244,1.013,245,1.186,246,0.859,247,0.726]],["t/14",[0,0.618,9,1.644,25,3.087,59,2.304,60,2.721,82,3.442,121,2.568,137,3.741,154,2.43,220,2.304,236,3.584,248,5.47]],["t/16",[0,0.689,25,2.682,53,3.579,56,2.441,59,2.001,67,3.403,75,4.172,249,4.339,250,5.379,251,5.379,252,3.113,253,3.126,254,4.752,255,4.339,256,4.752,257,3.784,258,4.03,259,2.594,260,4.03]],["t/18",[0,0.788,9,1.538,41,3.5,46,1.768,56,2.558,61,4.341,64,4.674,65,4.076,101,4.674,137,3.5,256,5.118,261,5.118,262,4.674,263,4.341]],["t/20",[0,0.705,4,2.879,9,1.876,15,2.131,25,2.781,36,2.38,51,2.526,53,3.712,55,3.53,56,1.972,59,2.076,75,3.37,96,2.985,264,5.579,265,2.781,266,3.924,267,3.37,268,4.18]],["t/22",[0,0.626,24,3.793,28,4.704,59,2.336,67,3.973,75,3.793,245,3.634,253,2.843,269,6.278,270,6.278,271,4.178]],["t/24",[0,0.586,9,1.558,24,3.546,25,2.926,46,1.791,51,2.658,56,2.074,66,4.056,154,2.303,260,4.398,265,2.926,272,4.398,273,5.185,274,4.734,275,5.185]],["t/26",[0,0.663,36,2.837,68,4.017,69,5.364,70,5.364,71,5.874,257,4.678]],["t/28",[0,0.582,9,1.548,12,2.781,25,2.084,32,4.704,36,1.784,48,0.669,59,1.555,63,1.371,66,2.324,68,2.526,72,1.686,75,3.523,95,2.526,97,2.016,150,2.419,238,3.372,241,2.419,253,2.641,258,3.132,259,2.016,260,3.132,268,3.132,276,4.18,277,5.113,278,3.132,279,3.132,280,3.372,281,3.372,282,4.18,283,4.18,284,4.18,285,3.372,286,3.693,287,3.693,288,3.372,289,3.132,290,3.132,291,4.18]],["t/30",[8,2.054,15,2.333,25,3.045,59,2.273,63,2.004,145,3.865,154,2.397,155,4.577,221,3.269,222,2.946,227,3.396,292,6.108,293,3.045]],["t/32",[15,2.365,56,2.189,176,2.892,184,3.522,226,5.113,233,5.305,294,5.47]],["t/34",[0,0.49,8,1.651,9,1.303,59,1.827,82,2.729,83,2.036,127,2.242,154,1.926,176,2.293,196,3.106,210,2.223,220,2.891,221,2.627,226,4.408,230,3.267,295,6.446,296,4.337,297,4.337,298,3.454,299,3.96,300,4.91,301,2.966,302,2.966]],["t/36",[0,0.642,4,2.3,9,1.183,10,1.297,13,1.359,24,1.297,25,1.071,45,2.692,48,0.344,55,3.258,56,1.82,65,1.511,66,1.194,68,2.692,72,0.866,96,1.149,97,2.149,98,1.732,130,2.833,161,1.149,169,2.692,176,1.003,178,3.338,179,1.297,190,3.339,214,2.579,220,1.307,236,1.243,257,2.471,265,2.222,271,2.337,277,3.622,278,3.339,279,1.609,280,1.732,281,1.732,290,1.609,303,1.897,304,1.897,305,2.385,306,3.103,307,3.937,308,2.833,309,3.937,310,1.897,311,2.147,312,3.595,313,3.103,314,2.147,315,2.147,316,1.897,317,1.897,318,1.897,319,2.147,320,2.692,321,4.548,322,2.147,323,1.897,324,1.897,325,1.897,326,1.609,327,1.897,328,1.897,329,1.732,330,2.147,331,2.147,332,4.548,333,2.147,334,1.897,335,4.153,336,2.147,337,2.147,338,2.147,339,1.897,340,3.937,341,1.897,342,1.732]],["t/38",[190,5.057,307,7.014,309,7.014,316,5.962]],["t/40",[0,0.811,24,3.741,56,2.189,72,2.497,178,3.798,321,7.183]],["t/42",[9,1.579,65,4.184,176,2.778,332,7.056,335,6.443,339,5.254,340,7.056,341,5.254,342,4.797]],["t/44",[0,0.74,9,1.164,16,3.285,31,2.047,56,1.549,60,1.926,61,4.516,62,2.917,63,1.438,66,2.437,83,1.818,156,2.047,201,3.285,343,3.873,344,3.873,345,5.324,346,3.873,347,2.774,348,4.384,349,4.384,350,6.888,351,3.536,352,4.384,353,3.873,354,2.774,355,3.873,356,3.285,357,4.384,358,4.384,359,2.774,360,3.873,361,3.873,362,4.384,363,3.084,364,3.873]],["t/46",[0,0.53,1,3.739,4,2.744,10,2.217,13,2.322,51,1.661,55,3.955,56,1.879,66,2.955,73,2.581,85,3.739,96,1.964,97,1.77,98,4.288,141,2.217,178,2.483,179,2.217,220,1.365,224,2.322,236,2.124,259,1.77,265,1.83,271,2.442,277,4.397,278,2.749,279,2.749,303,3.242,304,4.696,306,3.242,308,5.042,310,3.242,312,2.96,317,3.242,318,3.242,320,2.217,323,3.242,324,3.242,325,3.242,326,2.749,327,3.242,328,3.242,334,3.242,335,2.96,365,3.669,366,3.242,367,3.669,368,1.83]],["t/48",[0,0.792,55,5.024,72,2.722,99,5.962]],["t/50",[0,0.666,8,1.27,9,0.623,31,1.764,42,1.486,46,0.717,47,2.075,48,1.069,50,1.306,51,1.064,54,1.652,56,1.335,60,1.66,73,1.652,74,2.022,77,1.171,78,2.075,80,1.563,81,2.282,82,1.306,83,0.974,84,1.652,88,1.563,90,2.39,91,1.895,92,1.895,108,1.895,109,1.064,110,3.532,111,1.895,112,3.337,113,2.075,114,2.075,115,3.018,117,2.657,121,1.965,122,1.064,125,2.39,126,2.282,127,1.302,128,1.359,152,1.419,156,1.097,161,2.022,168,1.76,177,1.064,194,1.486,205,2.39,225,1.95,241,1.359,243,1.76,244,2.075,245,1.359,246,1.76,320,1.419,361,3.337,368,1.883,369,2.075,370,1.895,371,1.76,372,1.76,373,2.39,374,1.76,375,1.895,376,3.047,377,2.075,378,2.075,379,3.047,380,2.075,381,1.306,382,2.075,383,1.563,384,1.652,385,2.83,386,1.895,387,1.895,388,1.563,389,2.349,390,1.895,391,2.349,392,2.349,393,2.349,394,1.895,395,2.349,396,1.359,397,2.075,398,1.76,399,1.895]],["t/52",[0,0.792,4,3.667,9,1.886,25,3.131,31,2.174,36,1.987,39,3.489,48,0.745,53,4.727,54,3.275,55,3.973,56,2.219,57,3.756,75,2.813,96,2.492,265,2.321,266,3.275,267,2.813,268,3.489,274,3.756,359,2.946,400,4.656,401,4.113]],["t/54",[0,0.684,12,3.537,25,2.65,56,2.422,59,1.978,60,2.335,68,3.211,75,3.211,97,2.563,121,2.204,253,2.407,257,3.739,258,3.983,260,3.983,277,3.739,278,3.983,280,4.287,281,4.287,402,4.696,403,5.315,404,4.287,405,4.287]],["t/56",[0,0.765,9,1.69,24,3.847,56,2.251,59,1.769,61,3.562,62,3.163,63,2.089,64,3.835,65,3.344,80,3.163,127,1.639,137,2.872,145,3.008,148,2.872,150,2.752,156,2.22,204,2.872,215,2.872,223,2.454,225,2.454,261,4.2,404,3.835,406,4.2,407,3.835,408,4.754,409,3.562]],["t/58",[0,0.626,15,2.398,41,3.793,56,2.688,68,3.793,100,6.718,101,5.064,102,5.547,410,4.704]],["t/60",[0,0.635,12,4.237,63,2.089,127,2.195,156,2.974,184,2.974,223,3.286,347,4.029,411,5.625,412,5.625]],["t/62",[0,0.557,63,1.83,81,3.37,95,3.37,127,2.674,149,3.924,164,3.37,209,3.712,210,2.526,223,4.004,329,4.5,347,3.53,373,3.53,401,4.928,413,4.18,414,3.53]],["t/64",[31,2.482,46,1.622,48,1.214,63,2.248,119,2.743,127,2.761,153,2.563,293,2.65,363,4.821,415,4.696,416,2.955,417,3.363,418,5.315,419,5.315,420,4.696,421,4.696,422,3.983]],["t/66",[48,1.332,63,2.265,150,3.113,167,3.403,223,2.776,225,2.776,293,2.682,417,3.403,423,4.752,424,4.752,425,4.03,426,4.752,427,5.379,428,4.752,429,6.905,430,5.379,431,4.03]],["t/68",[15,1.643,42,2.721,48,0.688,51,1.947,52,2.144,63,1.951,72,1.734,95,2.598,119,3.519,149,5.619,150,3.442,164,3.593,167,2.721,199,2.489,223,3.07,224,2.721,225,2.219,253,3.331,431,3.222,432,4.456,433,3.799,434,5.5,435,4.3,436,3.593,437,4.3,438,4.3]],["t/70",[8,2.182,9,1.481,48,1.242,59,2.63,63,1.288,83,1.628,127,1.923,145,2.484,148,2.371,154,2.547,176,1.833,184,2.606,210,1.777,220,2.415,221,2.986,222,2.691,223,2.026,226,4.27,227,2.182,230,2.612,231,3.166,232,3.468,233,3.925,294,3.468,301,2.371,302,2.371,384,2.761,439,3.925,440,3.925,441,3.468,442,3.925]],["t/72",[0,0.553,10,3.35,13,2.462,48,1.034,77,1.94,94,2.679,121,1.614,122,1.762,137,2.351,153,2.674,169,3.35,171,2.083,207,3.082,214,2.252,228,2.351,241,2.252,247,2.462,305,2.083,347,2.462,384,2.738,388,3.689,436,2.351,443,3.891,444,3.739,445,3.891,446,2.738,447,2.738,448,3.139,449,2.589,450,3.891,451,2.916,452,2.589,453,3.139,454,3.891,455,4.473,456,2.738,457,2.462,458,3.438,459,3.438,460,3.891,461,3.891,462,3.891]],["t/74",[0,0.644,17,2.462,20,2.252,48,1.191,93,3.139,94,1.614,109,1.762,119,2.009,127,1.341,164,3.35,169,2.351,171,2.083,177,1.762,247,2.462,253,1.762,277,2.738,305,2.083,308,3.139,384,2.738,434,3.139,436,3.902,444,2.252,446,2.738,447,3.901,448,5.21,449,3.689,451,2.916,452,2.589,456,2.738,457,2.462,463,3.139,464,3.139,465,3.438,466,3.891,467,2.916,468,2.738,469,3.438,470,3.438,471,3.139,472,3.438,473,3.891,474,2.589]],["t/76",[0,0.772,9,1.714,77,3.857,104,5.21,105,4.839,444,3.738,475,6.459]],["t/78",[46,1.943,109,2.883,436,3.847,444,3.685,476,6.367,477,6.367,478,6.367,479,4.479,480,5.625,481,6.367]],["t/80",[0,0.654,12,3.303,48,0.795,60,2.181,79,2.318,207,2.759,247,3.141,259,2.394,265,2.475,354,3.141,370,4.004,371,3.719,436,2.999,444,2.873,451,4.91,452,4.36,456,3.492,457,3.141,463,4.004,464,4.004,482,4.964,483,4.385,484,4.385,485,4.385,486,4.385,487,4.964,488,4.964]],["t/82",[0,0.545,8,1.511,17,1.854,48,1.058,54,2.061,79,2.099,109,2.035,122,2.994,161,2.405,171,1.568,177,2.035,204,2.715,224,2.843,243,2.195,252,3.164,265,1.461,267,1.77,298,2.061,305,1.568,347,3.878,373,1.854,381,1.629,382,3.97,394,3.625,396,1.695,405,3.625,416,1.629,444,1.695,446,2.061,449,1.949,468,3.846,486,2.588,489,2.588,490,3.161,491,2.195,492,2.588,493,2.363,494,2.588,495,2.061,496,2.929,497,2.929,498,3.625,499,2.929,500,2.929,501,3.625,502,3.161,503,3.625,504,4.493,505,2.195,506,3.625,507,2.588,508,2.061,509,3.97,510,3.97,511,2.929,512,2.929,513,1.949]],["t/84",[0,0.46,8,2.097,10,2.784,41,2.784,48,0.738,60,2.025,79,2.912,80,3.066,81,3.767,82,2.562,83,1.911,84,3.242,94,1.911,105,3.453,161,2.466,259,2.222,305,2.466,347,2.916,368,2.298,387,5.03,444,2.667,449,3.066,455,3.717,467,3.453,498,3.717,506,5.03,514,4.608,515,4.608,516,4.608,517,4.608,518,4.071,519,3.242]],["t/86",[48,0.663,50,2.303,94,1.718,109,1.875,117,2.914,119,2.138,164,2.502,171,2.217,176,1.935,177,1.875,248,3.659,305,3.101,347,2.621,444,2.397,446,2.914,447,4.076,448,3.341,449,3.855,469,3.659,470,3.659,472,3.659,474,2.756,520,4.142,521,5.794,522,5.794,523,4.142,524,5.794,525,2.914,526,4.142,527,4.142,528,4.142,529,4.142,530,5.794,531,5.794,532,4.142,533,3.659,534,4.142,535,4.142,536,4.142,537,4.142]],["t/88",[0,0.673,46,1.585,48,0.831,127,1.79,247,3.285,259,2.504,267,3.137,436,4.078,451,3.891,452,3.455,456,3.653,457,3.285,463,4.189,464,4.189,483,4.587,484,4.587,494,4.587,501,4.189,538,4.587,539,5.193,540,4.587,541,4.587,542,5.193,543,5.193]],["t/90",[48,1.042,55,3.106,109,2.223,120,3.96,122,2.223,207,2.729,253,2.223,263,3.679,267,2.966,298,3.454,351,3.96,360,4.337,396,2.842,436,2.966,444,3.765,456,3.454,490,3.454,491,3.679,495,3.454,498,5.248,544,3.106,545,4.337,546,3.679,547,6.506,548,4.91,549,4.91,550,4.91]],["t/92",[0,0.624,1,2.581,16,2.749,48,1.001,109,1.661,130,2.96,142,3.016,153,1.77,154,1.44,169,2.217,209,2.442,228,2.217,241,2.124,416,2.955,453,2.96,468,2.581,551,2.322,552,3.363,553,3.669,554,3.983,555,2.955,556,4.288,557,3.983,558,3.242,559,2.217,560,2.749,561,3.669,562,3.242,563,3.617,564,3.242,565,2.96,566,4.696,567,2.96,568,2.749,569,1.964,570,2.581,571,3.242,572,2.581,573,2.749,574,2.322,575,2.749,576,2.96,577,2.442,578,3.669,579,3.669]],["t/95",[0,0.485,8,1.091,39,2.432,46,0.991,48,1.034,52,1.619,53,2.16,60,1.426,63,1.593,68,1.961,79,2.268,104,2.619,142,2.868,161,1.737,169,1.961,171,1.737,177,1.47,178,2.718,184,1.516,255,2.619,265,2.422,305,1.737,370,2.619,374,2.432,394,2.619,405,3.918,410,2.432,485,2.868,507,2.868,509,4.291,519,2.284,551,2.054,552,2.054,562,5.707,580,3.246,581,3.246,582,2.284,583,3.246,584,3.246,585,2.619,586,3.246,587,2.284,588,4.857,589,2.868,590,3.918,591,2.619,592,5.819,593,4.857,594,3.246,595,3.246,596,2.868,597,3.246,598,3.246,599,3.246,600,3.246]],["t/97",[0,0.66,9,1.518,31,1.9,41,2.457,48,1.059,77,2.852,80,2.706,81,3.456,82,2.261,83,1.686,84,2.861,90,4.187,105,3.047,125,3.62,142,3.138,184,2.672,368,2.028,373,2.573,409,3.047,519,2.861,551,2.573,552,2.573,590,5.792,591,4.615,601,3.281,602,4.025,603,5.721,604,2.706,605,4.067]],["t/99",[0,0.711,9,1.499,36,1.705,46,1.219,54,2.81,56,1.412,97,1.927,121,1.657,125,4.146,127,2.455,142,2.717,164,3.959,214,2.312,255,3.222,366,4.99,373,2.528,381,2.221,390,3.222,452,3.759,501,3.222,546,2.993,551,2.528,559,2.414,560,4.91,604,4.36,606,5.649,607,4.557,608,2.993,609,3.995,610,3.529,611,3.995]],["t/101",[15,1.437,36,2.309,45,2.272,52,1.875,56,1.329,62,2.503,72,1.517,79,1.757,83,1.56,110,2.091,122,1.703,125,2.38,127,2.389,128,2.177,142,3.457,156,1.757,161,2.013,165,2.503,176,1.757,184,1.757,188,2.38,210,2.45,235,2.272,388,2.503,416,2.091,417,2.38,452,2.503,551,2.38,552,2.38,559,4.437,560,2.818,563,2.177,570,2.646,587,2.646,604,3.601,612,3.761,613,3.323,614,3.761,615,3.601]],["t/103",[0,0.684,46,2.091,94,2.841,556,5.527,616,6.053]],["t/105",[36,2.141,83,2.081,94,2.081,142,2.081,176,2.344,388,3.339,555,2.79,557,4.946,559,3.032,563,2.905,568,3.761,569,3.948,587,3.531,617,5.019,618,4.434,619,3.339,620,4.434,621,4.434,622,5.019,623,4.434,624,5.019,625,5.019,626,4.049,627,5.019,628,5.019,629,5.019]],["t/107",[63,1.496,70,3.679,79,2.892,94,1.891,193,3.418,195,4.03,410,3.418,414,2.886,554,4.64,557,3.418,559,2.756,563,2.64,569,4.22,572,3.209,573,4.64,574,2.886,575,3.418,576,3.679,577,3.035,619,3.035,630,4.561,631,4.03,632,4.03,633,3.035,634,4.561,635,3.679,636,4.561,637,4.561,638,4.561,639,4.561,640,4.03]],["t/109",[0,0.53,36,2.268,48,0.851,79,1.714,83,1.522,215,2.217,228,2.217,410,2.749,479,5.503,555,2.955,556,4.288,557,3.983,559,2.217,563,4.21,564,4.696,568,2.749,569,3.667,572,2.581,573,2.749,574,2.322,575,2.749,577,2.442,585,2.96,616,3.242,618,3.242,620,3.242,621,3.242,623,3.242,631,3.242,632,3.242,640,3.242,641,3.669,642,3.669,643,3.669,644,2.96,645,2.96,646,3.669,647,3.669,648,3.669,649,3.669,650,3.242,651,3.669]],["t/111",[15,1.779,36,1.987,48,1.379,62,3.098,110,2.588,137,2.813,142,1.931,150,2.695,165,3.098,175,3.489,215,2.813,241,2.695,368,2.321,555,2.588,569,2.492,574,2.946,575,3.489,576,3.756,577,3.098,615,4.178,633,3.098,635,3.756,650,4.113,652,4.656,653,4.656,654,3.756,655,4.113]],["t/113",[3,3.529,46,1.724,63,1.311,79,1.866,82,3.643,83,1.657,128,2.312,142,2.342,145,2.528,153,1.927,156,1.866,211,2.414,228,2.414,229,3.222,230,2.658,273,3.529,302,2.414,409,4.233,416,3.14,457,2.528,554,2.993,558,3.529,563,2.312,569,2.138,573,2.993,577,3.759,615,3.759,633,2.658,645,3.222,656,3.995,657,2.993,658,3.995,659,3.995,660,3.995,661,3.995,662,3.995,663,3.995,664,3.995,665,3.529,666,3.995,667,3.995,668,3.995,669,3.222,670,3.995]],["t/115",[48,1.371,142,2.129,150,2.971,156,2.398,203,4.141,285,4.141,355,4.535,425,3.846,432,3.846,563,2.971,569,3.585,570,3.611,574,3.248,615,4.458,633,3.416,635,4.141,671,4.535,672,4.141,673,4.535]],["t/117",[0,0.524,60,2.308,83,2.178,137,3.174,143,3.04,144,3.696,145,3.324,148,3.174,167,3.324,194,4.303,211,3.174,215,3.174,259,2.533,320,3.174,381,2.92,619,3.495,674,5.253,675,5.253,676,4.641,677,4.641,678,4.641,679,4.641,680,4.237,681,5.253]],["t/119",[0,0.731,20,2.465,31,1.989,48,0.946,49,2.996,60,1.871,79,1.989,142,3.038,164,2.573,184,2.76,210,1.929,211,2.573,354,2.695,359,2.695,381,2.368,388,2.834,490,2.996,559,5.171,563,3.926,682,4.259,683,4.259,684,4.259,685,4.259,686,3.763,687,3.436,688,3.763]],["t/121",[0,0.429,9,1.141,46,1.312,48,1.091,49,3.025,50,2.391,97,2.074,118,3.222,122,3.617,142,2.466,161,2.301,177,2.693,178,2.008,184,2.008,241,2.489,259,2.074,301,2.598,396,2.489,417,2.721,432,5.512,503,4.797,544,2.721,552,2.721,604,2.861,689,3.799,690,4.184,691,4.3,692,4.3,693,3.799,694,4.3]],["t/123",[9,1.667,122,2.843,142,3.153,182,5.547,188,3.973,241,3.634,552,3.973,604,4.178,613,5.547,695,6.278]],["t/125",[0,0.465,46,1.421,48,1.005,109,2.843,120,5.065,122,2.108,142,1.931,177,2.108,184,2.174,245,2.695,253,2.108,298,3.275,351,3.756,381,2.588,396,3.634,432,3.489,474,3.098,489,4.113,490,4.417,492,4.113,493,3.756,495,3.275,544,2.946,545,4.113,546,3.489,590,5.731,591,3.756,696,5.547]],["t/127",[0,0.349,1,2.461,9,1.363,34,4.535,36,1.493,45,2.114,46,1.068,48,0.56,109,2.325,117,2.461,118,2.621,122,2.325,125,2.213,127,1.769,128,2.025,142,2.959,154,1.373,161,1.872,164,3.102,210,1.584,265,1.744,272,2.621,301,2.114,373,2.213,416,1.945,449,2.328,468,2.461,503,2.822,552,3.848,554,3.847,559,2.114,560,2.621,563,2.025,566,5.373,567,2.822,571,4.535,604,4.046,645,2.822,690,2.461,696,4.535,697,3.498,698,3.498,699,3.498,700,3.498,701,3.091,702,3.498,703,3.091,704,3.091,705,3.498]],["t/129",[0,0.694,8,2.339,16,4.079,48,0.871,63,1.786,119,2.81,153,2.625,154,2.136,220,2.026,222,2.625,249,4.391,267,3.289,274,4.391,302,3.289,706,5.444,707,4.809,708,3.83,709,4.809,710,4.391,711,5.444]],["t/131",[0,0.568,8,2.29,9,0.832,27,2.768,32,2.527,48,1.146,51,2.141,59,1.166,82,1.742,97,1.511,127,1.08,131,2.768,141,1.893,154,1.229,198,2.768,205,1.982,220,2.12,221,2.531,222,2.281,225,1.617,252,2.737,253,1.419,271,3.147,293,1.562,368,1.562,372,2.348,383,2.085,413,2.348,414,2.992,447,2.204,525,2.204,602,2.204,633,2.085,644,2.527,693,2.768,708,2.204,709,2.768,710,3.815,712,3.133,713,3.133,714,2.768,715,3.133,716,3.133,717,3.815,718,2.768,719,3.133,720,3.133,721,2.527,722,3.133,723,2.085,724,2.527,725,3.815,726,3.133,727,3.133,728,3.133,729,3.133,730,3.133,731,2.768,732,3.133,733,3.133,734,3.133]],["t/133",[0,0.427,8,2.749,13,1.74,20,1.592,46,1.604,48,1.028,63,0.902,72,1.109,109,2.684,154,2.326,155,3.207,178,2.454,210,1.938,220,1.023,221,2.291,225,2.209,235,2.586,252,3.041,262,2.219,302,2.586,422,2.061,447,1.935,467,2.061,474,3.496,565,4.238,570,3.011,582,3.696,644,2.219,708,1.935,723,1.83,735,3.937,736,5.237,737,2.219,738,4.442,739,4.782,740,2.751,741,2.751,742,2.751,743,2.219,744,3.207,745,2.061,746,2.219,747,2.751,748,2.751,749,2.43,750,2.43,751,2.43,752,2.751]],["t/135",[8,2.727,9,1.255,15,1.807,17,1.982,24,2.857,48,0.757,52,1.562,59,2.12,67,1.982,72,1.264,83,1.961,95,1.893,127,1.964,142,1.299,154,1.229,174,2.085,176,2.661,188,3.604,220,2.848,221,1.677,222,3.454,226,3.442,227,1.742,228,1.893,229,2.527,230,2.085,231,2.527,235,1.893,299,2.527,510,4.178,577,3.147,725,2.527,753,5.606,754,3.133,755,2.348,756,3.133,757,3.133,758,2.348,759,3.133,760,3.133,761,3.133]],["t/137",[0,0.509,8,2.707,9,1.355,20,2.009,36,1.481,41,2.097,46,1.558,48,0.556,52,2.545,63,1.139,72,1.4,94,2.117,154,2.003,168,2.601,169,2.097,184,1.621,196,2.196,210,2.311,220,1.899,222,3.219,225,1.792,235,2.097,249,2.8,267,2.097,293,1.731,302,2.097,414,2.196,479,2.442,505,2.601,519,2.442,570,2.442,708,2.442,723,2.31,724,2.8,737,2.8,738,2.601,751,3.067,753,3.067,762,5.105,763,3.471,764,3.471,765,3.067,766,3.067,767,2.601,768,3.067,769,3.067,770,3.471,771,3.471,772,3.471]],["t/139",[8,2.172,9,0.739,46,1.972,48,1.348,58,3.817,94,1.155,96,1.49,97,1.343,121,1.155,153,2.084,156,1.301,162,1.682,172,1.343,177,1.261,178,2.018,199,1.612,204,1.682,214,1.612,215,1.682,222,2.554,235,2.611,252,1.612,253,1.957,271,1.853,285,2.246,288,2.246,302,1.682,383,1.853,414,3.35,513,1.853,602,1.959,704,2.46,707,2.46,721,3.486,725,3.486,738,4.84,739,5.211,743,2.246,744,2.086,745,2.086,746,2.246,758,3.238,773,2.785,774,2.246,775,2.785,776,2.46,777,2.785,778,2.246,779,2.46,780,2.785,781,2.785,782,2.46,783,2.785,784,2.785,785,2.246,786,2.785,787,2.785]],["t/141",[0,0.618,8,1.534,46,1.392,127,1.572,153,2.2,205,2.886,220,2.806,221,3.314,228,2.756,271,3.035,368,2.274,413,3.418,414,2.886,502,3.209,587,3.209,714,4.03,721,3.679,723,3.035,724,3.679,743,3.679,758,3.418,765,4.03,766,4.03,774,3.679,776,4.03,782,4.03,788,4.561,789,4.561,790,4.03,791,4.561,792,4.561,793,4.03,794,4.561]],["t/143",[0,0.294,8,2.642,9,0.783,17,1.866,41,1.781,46,1.877,48,1.258,51,1.335,56,1.042,59,1.097,67,1.866,72,1.189,82,1.639,109,1.335,127,1.016,154,1.157,162,1.781,170,1.962,176,1.377,199,2.614,215,2.728,220,1.68,221,1.578,222,2.178,225,1.522,226,1.781,227,1.639,235,3.316,245,1.707,247,2.857,252,1.707,297,2.605,298,2.074,422,2.209,474,1.962,519,2.074,565,2.378,569,1.578,582,2.074,735,2.209,736,3.99,738,4.609,739,4.961,744,3.384,745,2.209,750,2.605,767,2.209,768,2.605,778,2.378,779,2.605,785,2.378,795,2.605,796,2.605,797,2.605,798,2.949,799,2.949]],["t/145",[8,2.304,45,4.14,48,0.958,52,2.165,63,1.424,79,2.028,97,3.737,133,3.054,141,2.623,178,2.028,200,3.835,207,2.414,222,2.887,320,2.623,372,3.253,416,2.414,502,3.054,544,2.747,710,3.502,723,2.889,731,3.835,800,4.342,801,3.835,802,4.342,803,4.342,804,3.835,805,4.486,806,4.342,807,3.835,808,4.342,809,4.342,810,4.342]],["t/147",[8,1.503,10,2.701,15,1.708,19,3.95,36,1.908,48,0.978,63,2.453,72,1.803,83,1.854,126,2.701,127,2.852,153,2.156,193,3.35,220,1.664,222,2.156,252,2.588,293,3.046,363,3.145,415,3.95,417,3.865,420,3.95,422,3.35,453,3.606,457,2.829,602,4.297,767,3.35,811,4.471]],["t/149",[0,0.705,8,1.549,48,0.738,94,1.911,110,2.562,121,1.911,127,2.149,143,2.667,152,2.784,154,1.808,156,2.152,163,3.242,165,3.066,210,2.086,220,1.715,221,2.466,222,2.222,267,2.784,293,2.298,384,3.242,417,4.472,708,3.242,767,3.453,812,6.236,813,4.608,814,4.608,815,4.608,816,4.071,817,4.071,818,4.071,819,3.453]],["t/151",[0,0.586,31,2.741,74,3.141,121,2.434,122,2.658,143,3.397,172,2.831,192,4.129,214,3.397,253,2.658,385,4.398,404,4.734,551,3.714,820,5.869,821,4.734,822,4.129]],["t/153",[0,0.49,31,2.293,46,1.005,48,0.786,50,1.831,51,2.223,56,2.075,57,2.657,81,1.99,90,3.107,115,1.831,126,3.546,127,1.692,128,1.906,152,1.99,154,1.292,156,1.538,162,1.99,170,2.192,171,2.628,172,2.368,177,2.658,178,2.742,179,4.409,180,2.317,183,3.961,199,1.906,225,2.534,235,2.966,241,1.906,243,3.679,245,3.397,305,2.628,329,2.657,368,1.642,399,3.961,402,2.91,495,2.317,518,2.91,823,2.91,824,2.91,825,3.294,826,3.294,827,2.91,828,3.294,829,2.468,830,3.294]],["t/155",[31,2.318,41,2.999,52,2.475,56,1.754,72,2.002,126,2.999,170,4.36,171,3.507,172,3.538,173,4.004,174,3.303,177,2.967,178,3.061,179,3.959,180,3.492,196,3.141,199,2.873,245,2.873,246,3.719,491,3.719,601,4.004,831,4.964,832,4.964]],["t/157",[0,0.771,15,1.347,28,3.869,31,1.647,36,1.504,51,1.596,52,1.758,56,1.246,121,3.285,126,2.13,127,1.215,170,4.475,171,3.269,172,3.243,174,2.346,176,1.647,177,2.338,178,1.647,179,4.518,180,5.035,183,4.165,184,1.647,186,4.165,187,4.561,188,2.231,272,2.642,676,3.115,833,3.526,834,6.725]],["t/159",[0,0.564,15,2.158,20,3.269,50,3.14,52,2.816,56,1.996,72,2.278,121,2.342,126,3.413,171,3.023,172,2.724,174,3.758,177,3.225,178,3.327,179,3.413,240,4.99,835,4.99]],["t/161",[15,2.344,48,0.831,52,1.772,88,2.364,97,1.714,107,2.147,109,1.609,111,2.866,115,1.976,121,1.474,141,2.147,143,2.057,163,3.653,172,2.504,177,2.351,178,2.425,179,2.147,180,2.5,192,3.653,193,2.663,194,2.248,196,2.248,206,2.5,227,1.976,253,1.609,259,1.714,275,3.139,368,1.772,385,3.891,387,2.866,455,2.866,491,2.663,513,2.364,567,2.866,654,2.866,686,3.139,737,2.866,749,3.139,819,2.663,821,2.866,822,2.5,823,3.139,829,2.663,836,2.866,837,3.554,838,3.554,839,3.554,840,3.554,841,4.588,842,2.866,843,3.554,844,3.554,845,3.139,846,3.554,847,3.554,848,3.554]],["t/163",[0,0.605,48,0.709,52,2.207,53,2.946,60,1.945,77,3.025,79,2.068,107,2.675,121,2.871,122,3.135,123,3.911,124,3.317,152,3.666,162,2.675,192,3.114,194,2.801,265,2.207,290,3.317,320,2.675,368,2.207,369,3.911,385,5.187,654,3.571,801,3.911,805,3.317,807,3.911,827,3.911,849,6.068,850,4.427,851,4.427,852,4.427]],["t/165",[0,0.618,8,2.082,13,3.918,15,2.365,46,1.89,48,0.991,152,3.741,153,2.986,156,2.892,458,5.47,479,4.356,723,4.12]],["t/167",[42,3.552,50,2.201,63,1.299,94,1.642,95,4.939,108,3.194,121,1.642,171,2.119,176,1.849,177,1.793,178,1.849,194,2.505,245,2.292,252,2.292,253,3.523,305,3.004,342,3.194,399,3.194,468,2.786,508,4.992,555,2.201,608,2.967,744,2.967,745,2.967,746,3.194,778,3.194,821,3.194,853,3.96,854,3.96,855,3.96,856,3.96,857,3.96,858,3.96,859,3.96,860,3.96,861,3.96]],["t/169",[94,2.678,121,2.678,172,3.115,199,3.738,245,3.738,508,4.544,608,4.839,845,5.706,862,6.459]],["t/171",[15,3.088,42,3.444,94,2.257,95,3.289,107,3.289,119,2.81,154,2.136,172,2.625,227,3.026,293,2.714,359,3.444,479,3.83,502,3.83,608,4.079,797,4.809,863,5.444,864,5.444,865,4.809,866,5.444]],["t/173",[36,2.295,72,2.169,94,2.23,119,2.776,154,2.11,172,2.594,253,3.126,265,2.682,305,2.878,386,4.339,433,4.752,434,4.339,436,4.172,465,4.752,538,4.752,541,4.752,867,5.379,868,5.379,869,5.379,870,5.379,871,5.379]],["t/175",[4,2.934,20,2.333,51,1.825,76,2.682,94,1.671,96,2.157,117,2.836,122,1.825,148,2.435,161,2.157,176,1.883,191,4.188,201,3.02,220,2.45,233,2.836,236,4.529,326,3.02,421,3.561,508,3.999,607,4.585,796,3.561,841,3.561,872,4.031,873,4.031,874,3.02,875,4.031,876,4.031,877,4.031,878,4.031,879,4.031,880,4.031,881,3.561,882,3.561,883,4.031,884,4.031,885,4.031]],["t/177",[0,0.395,4,2.044,8,1.331,25,1.974,42,2.505,48,0.634,59,1.473,63,1.299,67,2.505,68,2.392,73,2.786,74,2.119,75,2.392,76,2.635,95,2.392,122,1.793,129,2.786,139,3.498,162,2.392,172,1.91,191,2.119,201,2.967,220,1.473,236,2.292,237,2.505,254,3.498,257,2.786,301,2.392,356,2.967,398,2.967,544,2.505,569,2.119,596,3.498,626,4.528,689,3.498,690,2.786,758,2.967,886,3.498,887,3.96,888,3.96,889,3.96,890,3.96,891,3.96,892,3.96,893,3.498,894,3.498,895,3.96,896,3.498,897,3.96,898,3.96,899,3.96,900,3.498]],["t/179",[0,0.385,9,1.024,10,2.331,15,2.833,48,1.123,72,1.556,94,2.285,96,2.065,97,1.861,107,2.331,152,2.331,170,2.567,172,3.382,191,2.949,204,2.331,205,3.487,206,2.714,227,2.145,259,1.861,293,2.748,312,3.112,371,2.891,431,2.891,490,2.714,572,2.714,701,3.408,717,3.112,829,2.891,836,3.112,865,3.408,893,3.408,901,3.858,902,3.858,903,3.858,904,3.858,905,3.408,906,3.858,907,3.858,908,3.858,909,3.408,910,3.408,911,3.858]],["t/181",[0,0.561,9,0.815,15,2.149,31,2.175,42,1.942,46,0.937,48,1.081,49,3.958,56,1.085,60,1.348,63,1.846,66,1.706,97,2.246,110,1.706,119,2.403,121,1.931,143,1.776,152,1.854,155,2.3,156,2.175,163,2.159,165,2.042,172,2.713,174,2.042,177,1.39,199,1.776,204,2.813,205,3.559,206,3.276,211,2.813,220,1.732,227,3.127,236,1.776,246,2.3,247,2.946,252,1.776,253,1.39,265,1.53,266,2.159,288,2.476,289,2.3,293,1.53,302,1.854,368,1.53,373,1.942,383,2.042,409,3.489,493,2.476,513,3.098,717,2.476,785,2.476,819,2.3,822,2.159,829,2.3,912,2.711,913,3.069]],["t/183",[0,0.705,51,2.526,69,4.5,74,4.152,167,3.53,207,3.101,259,2.69,372,4.18,390,4.5,413,4.18,610,4.928,633,3.712,680,4.5,688,4.928,703,6.244,914,5.579]],["t/185",[0,0.601,9,1.164,10,2.649,36,1.87,46,1.84,48,1.103,60,1.926,66,2.437,67,2.774,74,3.686,77,3.005,83,1.818,90,2.774,115,4.323,119,2.263,128,2.537,207,2.437,209,4.583,210,3.119,211,3.641,313,3.873,356,3.285,359,2.774,818,3.873,915,3.873,916,4.384]],["t/187",[60,2.218,74,2.701,88,3.993,109,2.285,110,2.806,115,2.806,151,3.02,207,2.806,214,1.979,225,1.765,265,1.705,375,4.072,376,5.345,377,3.02,378,4.459,379,5.345,380,3.02,381,2.806,386,2.758,474,2.275,804,4.459,835,3.02,917,3.02,918,3.419,919,3.419,920,7.068,921,6,922,5.047,923,3.419,924,3.419,925,5.047,926,5.047,927,3.419,928,3.419,929,3.419,930,3.419,931,3.419,932,3.419,933,3.419,934,3.419,935,3.419,936,3.419,937,3.419,938,3.02]],["t/189",[0,0.341,1,2.405,9,0.907,39,2.562,46,1.541,48,0.961,74,3.959,77,1.705,79,2.803,81,2.065,88,2.275,109,3,110,3.684,115,2.806,133,3.551,136,3.02,207,1.901,262,2.758,263,2.562,354,2.163,371,2.562,374,2.562,375,2.758,376,2.758,379,2.758,381,2.806,383,2.275,457,2.163,480,3.02,495,2.405,525,3.551,540,3.02,544,2.163,607,4.072,795,3.02,805,3.782,824,3.02,836,2.758,917,3.02,939,3.419,940,3.419,941,3.419,942,3.419,943,3.419,944,3.419,945,3.419,946,3.419,947,3.419,948,3.419]],["t/191",[0,0.644,46,1.971,51,2.924,220,2.403,236,3.738,326,4.839,881,5.706,882,5.706,949,6.459]],["t/193",[0,0.609,20,3.535,153,2.946,236,3.535,471,4.927,687,4.927,938,5.396,950,4.927,951,5.396,952,5.396,953,6.108,954,6.108,955,6.108]],["t/195",[66,3.026,121,2.257,156,2.542,162,3.289,167,3.444,196,3.444,220,2.589,305,2.913,353,4.809,359,3.444,669,4.391,718,4.809,896,4.809,950,4.391,956,5.444,957,5.444,958,5.444,959,5.444,960,5.444,961,5.444,962,5.444]],["t/197",[0,0.571,48,0.916,153,2.759,237,3.619,259,2.759,320,3.456,354,3.619,359,3.619,374,4.286,396,3.311,398,4.286,769,5.053,963,5.72,964,4.614,965,5.053,966,4.614,967,5.053,968,5.053]],["t/199",[0,0.596,48,1.057,49,2.387,76,2.258,107,2.05,141,2.05,153,1.636,186,2.737,199,1.964,210,2.273,224,2.147,228,2.05,234,2.997,237,4.667,258,2.542,286,2.997,287,2.997,368,1.692,383,3.34,396,1.964,414,2.147,446,2.387,467,2.542,471,4.049,513,2.258,568,2.542,657,2.542,665,2.997,669,2.737,735,2.542,951,4.434,964,2.737,965,2.997,966,2.737,969,3.393,970,4.049,971,3.393,972,5.277,973,3.393,974,3.393,975,3.393,976,3.393,977,3.393,978,2.997,979,2.737,980,3.393,981,2.997,982,2.542,983,3.393,984,2.997,985,2.997,986,3.393,987,3.393,988,3.393,989,3.393]],["t/201",[48,0.64,59,1.486,96,2.138,107,2.414,154,1.568,161,2.138,173,3.222,210,3.226,224,2.528,354,2.528,363,2.81,396,2.312,398,2.993,505,2.993,513,2.658,551,2.528,657,4.233,735,2.993,816,3.529,817,4.99,894,3.529,900,3.529,967,3.529,968,3.529,972,6.893,982,2.993,990,3.995,991,3.995,992,5.649,993,3.995,994,3.995,995,3.995,996,3.995,997,5.649,998,3.529,999,3.995,1000,3.995,1001,3.995,1002,3.995,1003,3.995]],["t/203",[0,0.512,51,3.033,141,4.047,237,3.248,259,2.476,354,4.239,502,3.611,774,5.404,970,4.141,1004,5.133,1005,5.133,1006,6.699,1007,5.133,1008,5.133,1009,6.699,1010,5.133,1011,5.133,1012,5.133,1013,5.133,1014,5.133,1015,5.133]],["t/205",[0,0.518,15,1.984,45,3.137,48,1.271,96,2.779,97,2.504,141,3.137,214,3.005,224,3.285,237,3.285,368,2.589,657,3.891,793,4.587,970,4.189,979,4.189,981,4.587,982,3.891,984,4.587,985,4.587,1016,5.193,1017,5.193,1018,5.193,1019,3.653]],["t/207",[0,0.339,46,1.036,48,1.338,110,4.101,121,1.407,143,4.078,156,1.585,162,2.05,163,5.189,165,4.908,175,2.542,188,3.78,205,2.147,237,3.176,266,2.387,388,2.258,555,3.321,572,4.203,601,2.737,819,5.279,1020,5.974,1021,5.974,1022,5.019,1023,5.974]],["t/209",[0,0.451,60,1.984,73,3.177,79,2.109,124,4.608,133,3.177,167,2.857,194,2.857,238,3.643,239,3.989,253,2.045,290,3.384,301,2.728,320,2.728,381,2.51,396,2.614,397,3.989,459,3.989,544,2.857,546,3.384,555,2.51,585,3.643,626,3.643,680,3.643,805,3.384,886,3.989,964,3.643,966,3.643,979,3.643,1024,4.516,1025,4.516,1026,4.516,1027,4.516,1028,6.15,1029,4.516,1030,4.516,1031,4.516]],["t/211",[191,3.612,525,4.748,690,4.748,842,5.444,1032,6.749,1033,6.749]],["t/213",[0,0.728,9,1.558,13,3.714,31,2.741,191,3.905,268,4.398,555,4.056,874,5.467,1034,5.185,1035,5.869,1036,5.869,1037,5.869]],["t/215",[0,0.626,4,3.241,125,3.973,153,3.028,191,3.36,263,4.704,508,4.417,687,5.064,910,6.718,1038,6.278]],["t/217",[46,2.124,129,4.895,191,3.723,1039,6.146]],["t/219",[8,1.83,9,1.445,94,2.257,122,2.465,129,4.895,190,4.079,191,4.105,204,3.289,206,3.83,214,3.151,215,3.289,505,4.079,587,3.83,909,4.809,950,4.391,952,4.809,998,4.809,1039,4.809,1040,5.444]],["t/221",[0,0.673,23,5.444,569,3.612,755,5.057,1041,6.749,1042,6.749]],["t/223",[1043,7.296]],["t/225",[14,5.324,59,2.242,128,3.488,184,2.815,223,3.111,293,3.005,412,5.324,755,4.516,1044,6.026,1045,6.026,1046,6.026,1047,5.324,1048,4.516,1049,6.026]],["t/227",[0,0.322,4,1.664,8,1.948,9,0.855,15,1.845,46,0.984,48,0.516,50,3.221,59,1.798,60,1.416,62,2.144,63,1.057,72,1.948,74,1.725,77,1.607,85,3.399,89,2.6,96,1.725,115,3.221,127,1.997,142,2.003,143,1.865,144,2.267,148,1.947,154,1.265,168,2.415,184,1.505,191,1.725,209,2.144,210,1.459,220,1.798,221,1.725,222,1.554,223,1.664,225,1.664,226,1.947,227,1.792,272,2.415,289,2.415,301,1.947,356,2.415,406,2.847,407,2.6,428,2.847,431,2.415,525,2.267,555,1.792,569,1.725,574,2.039,582,2.267,619,2.144,672,2.6,690,2.267,822,2.267,874,2.415,1034,2.847,1050,2.847,1051,3.223,1052,2.847,1053,3.223,1054,2.847,1055,3.223,1056,3.223,1057,2.847,1058,2.415]],["t/229",[18,3.536,48,0.702,51,1.985,63,1.438,127,1.511,128,2.537,133,3.084,137,2.649,148,2.649,150,2.537,166,3.873,192,3.084,196,2.774,204,2.649,210,1.985,223,2.263,266,3.084,279,3.285,289,3.285,293,2.186,363,3.084,416,2.437,417,2.774,423,3.873,424,3.873,425,3.285,426,3.873,533,3.873,602,3.084,678,3.873,842,3.536,1019,4.845,1047,3.873,1050,6.085,1058,3.285,1059,4.384,1060,4.384,1061,4.384]],["t/231",[15,2.658,18,4.391,59,2.026,127,1.876,149,3.83,220,2.026,223,2.81,259,2.625,295,4.809,301,3.289,589,4.809,790,4.809,912,4.809,978,4.809,1019,4.895,1048,4.079,1062,5.444,1063,5.444,1064,5.444,1065,5.444]],["t/233",[8,2.156,59,2.386,83,1.992,154,1.885,176,2.244,184,2.995,188,3.04,210,2.176,226,4.848,230,3.197,233,3.38,296,4.245,299,3.876,416,2.671,441,4.245,582,3.38,982,3.6,1019,5.419,1054,5.666,1066,4.805,1067,4.805,1068,4.805]],["t/235",[48,1.012,63,1.543,142,1.951,143,2.723,144,3.31,145,2.977,175,3.525,203,3.795,211,2.842,364,4.156,381,2.615,411,4.156,416,2.615,425,3.525,574,2.977,615,3.13,619,3.13,655,4.156,671,4.156,672,3.795,673,4.156,677,4.156,679,4.156,822,3.31,905,4.156,1019,5.373,1052,4.156,1057,4.156,1058,3.525,1069,4.704,1070,4.156]],["t/237",[8,1.633,31,2.268,48,0.777,59,1.807,60,2.134,63,1.593,72,1.958,85,3.417,89,3.918,127,1.674,142,2.014,144,3.417,191,2.599,220,1.807,222,2.342,223,2.507,343,4.29,344,4.29,345,5.706,346,4.29,506,3.918,555,2.7,615,3.231,619,3.231,874,3.639,1048,3.639,1058,3.639,1070,4.29,1071,4.857,1072,4.857,1073,4.857]],["t/239",[0,0.564,12,3.758,46,1.724,59,2.102,77,2.816,115,3.96,119,2.915,169,3.413,207,3.14,209,3.758,211,3.413,293,2.816,407,4.556,755,4.232,915,4.99,1048,4.232,1074,5.648,1075,5.648]]],"invertedIndex":[["",{"_index":48,"t":{"4":{"position":[[470,1],[540,3]]},"6":{"position":[[60,1],[75,1],[518,1]]},"8":{"position":[[307,1],[401,1]]},"10":{"position":[[132,1],[172,1]]},"12":{"position":[[242,1],[1170,1],[1409,1],[1422,1],[2718,3]]},"28":{"position":[[397,3]]},"36":{"position":[[210,1]]},"50":{"position":[[74,1],[120,1],[172,1],[294,1],[407,1],[886,1],[1110,3]]},"52":{"position":[[160,3]]},"64":{"position":[[54,1],[116,1],[148,1]]},"66":{"position":[[7,1],[26,1],[55,1],[92,1],[115,1]]},"68":{"position":[[101,1]]},"70":{"position":[[82,1],[132,1],[184,1],[222,1],[244,1],[287,1]]},"72":{"position":[[41,1],[130,1],[526,3]]},"74":{"position":[[20,1],[107,1],[210,1],[280,1],[360,1]]},"80":{"position":[[138,1]]},"82":{"position":[[447,1],[489,1],[520,1],[544,1],[820,3]]},"84":{"position":[[377,1]]},"86":{"position":[[363,1]]},"88":{"position":[[209,1]]},"90":{"position":[[153,1],[336,3]]},"92":{"position":[[50,1],[481,1],[544,3]]},"95":{"position":[[236,1],[498,1],[516,1],[724,3]]},"97":{"position":[[142,1],[198,1],[342,1]]},"109":{"position":[[450,1],[458,1]]},"111":{"position":[[87,1],[100,1],[111,2],[119,2],[129,2],[140,2],[150,2],[160,2],[169,1]]},"115":{"position":[[35,1],[50,1],[67,1],[69,1],[73,1],[99,1],[125,1]]},"119":{"position":[[30,1],[350,1]]},"121":{"position":[[76,1],[120,1],[177,1]]},"125":{"position":[[182,1],[252,3]]},"127":{"position":[[397,1]]},"129":{"position":[[29,1]]},"131":{"position":[[193,1],[275,1],[365,1],[445,1],[533,1],[620,1]]},"133":{"position":[[91,2],[541,2],[584,2],[624,1],[692,1]]},"135":{"position":[[291,1],[567,1]]},"137":{"position":[[380,2]]},"139":{"position":[[13,1],[41,2],[72,1],[106,2],[138,1],[172,2],[198,1],[217,1],[223,3],[249,3],[275,3],[300,2],[325,3],[353,2],[418,1],[568,1],[697,1]]},"143":{"position":[[164,2],[194,2],[235,2],[278,1],[334,2],[366,1],[480,2],[512,1],[541,1],[571,1]]},"145":{"position":[[99,1],[166,1]]},"147":{"position":[[228,1],[263,1]]},"149":{"position":[[240,1]]},"153":{"position":[[548,3],[683,3]]},"161":{"position":[[341,1],[350,1]]},"163":{"position":[[176,1]]},"165":{"position":[[91,1]]},"177":{"position":[[38,1]]},"179":{"position":[[71,1],[100,2],[141,1],[218,1]]},"181":{"position":[[64,2],[74,1],[214,1],[226,1],[624,1]]},"185":{"position":[[88,1],[165,1],[216,1]]},"189":{"position":[[365,1],[456,3],[700,3]]},"197":{"position":[[159,1]]},"199":{"position":[[11,1],[146,1],[300,1],[445,1]]},"201":{"position":[[55,1]]},"205":{"position":[[7,1],[64,1],[117,1],[152,1]]},"207":{"position":[[72,1],[98,2],[141,1],[165,2],[197,1],[274,1],[297,1],[336,1],[360,1],[394,1],[437,2],[446,1]]},"227":{"position":[[239,4]]},"229":{"position":[[183,1]]},"235":{"position":[[107,2],[111,1]]},"237":{"position":[[63,1]]}}}],["0",{"_index":637,"t":{"107":{"position":[[203,2]]}}}],["0–3",{"_index":969,"t":{"199":{"position":[[52,3]]}}}],["1",{"_index":603,"t":{"97":{"position":[[174,1],[234,1]]}}}],["1.1.6",{"_index":1044,"t":{"225":{"position":[[8,5]]}}}],["1.25",{"_index":283,"t":{"28":{"position":[[220,6]]}}}],["1.56",{"_index":284,"t":{"28":{"position":[[227,10]]}}}],["1/4",{"_index":770,"t":{"137":{"position":[[498,3]]}}}],["10",{"_index":285,"t":{"28":{"position":[[244,2]]},"115":{"position":[[93,3]]},"139":{"position":[[489,2]]}}}],["100",{"_index":70,"t":{"6":{"position":[[395,3]]},"26":{"position":[[28,3]]},"107":{"position":[[206,4]]}}}],["10am",{"_index":955,"t":{"193":{"position":[[122,5]]}}}],["12",{"_index":749,"t":{"133":{"position":[[726,3]]},"161":{"position":[[492,2]]}}}],["12.3",{"_index":747,"t":{"133":{"position":[[649,8]]}}}],["120",{"_index":988,"t":{"199":{"position":[[567,3]]}}}],["127.0.0.1:11434",{"_index":936,"t":{"187":{"position":[[457,17]]}}}],["14.5",{"_index":798,"t":{"143":{"position":[[387,8]]}}}],["15",{"_index":956,"t":{"195":{"position":[[14,2]]}}}],["15.1",{"_index":780,"t":{"139":{"position":[[366,8]]}}}],["18.7",{"_index":748,"t":{"133":{"position":[[717,8]]}}}],["1:1",{"_index":244,"t":{"12":{"position":[[2456,3]]},"50":{"position":[[448,3]]}}}],["1s",{"_index":282,"t":{"28":{"position":[[215,4]]}}}],["2",{"_index":959,"t":{"195":{"position":[[54,1]]}}}],["2/4",{"_index":740,"t":{"133":{"position":[[283,3]]}}}],["20",{"_index":3,"t":{"2":{"position":[[25,4]]},"113":{"position":[[367,2]]}}}],["20250514",{"_index":927,"t":{"187":{"position":[[208,8]]}}}],["21",{"_index":983,"t":{"199":{"position":[[481,2]]}}}],["25",{"_index":593,"t":{"95":{"position":[[462,2],[662,2]]}}}],["3",{"_index":665,"t":{"113":{"position":[[283,1]]},"199":{"position":[[597,2]]}}}],["4",{"_index":804,"t":{"145":{"position":[[152,2]]},"187":{"position":[[206,1],[278,1]]}}}],["403",{"_index":699,"t":{"127":{"position":[[138,3]]}}}],["4o",{"_index":921,"t":{"187":{"position":[[129,2],[156,2],[169,3]]}}}],["5",{"_index":467,"t":{"74":{"position":[[293,3]]},"84":{"position":[[403,3]]},"133":{"position":[[679,1]]},"199":{"position":[[177,1]]}}}],["50",{"_index":648,"t":{"109":{"position":[[363,3]]}}}],["5s",{"_index":325,"t":{"36":{"position":[[710,2]]},"46":{"position":[[370,2]]}}}],["60",{"_index":287,"t":{"28":{"position":[[262,2]]},"199":{"position":[[308,2]]}}}],["8.2",{"_index":779,"t":{"139":{"position":[[313,7]]},"143":{"position":[[299,7]]}}}],["900",{"_index":975,"t":{"199":{"position":[[207,3]]}}}],["9am",{"_index":952,"t":{"193":{"position":[[54,3]]},"219":{"position":[[20,3]]}}}],["a1",{"_index":738,"t":{"133":{"position":[[130,4],[426,2],[550,3],[634,4]]},"137":{"position":[[419,4]]},"139":{"position":[[84,2],[219,3],[245,3],[296,3],[702,2]]},"143":{"position":[[173,3],[203,3],[286,2],[483,3]]}}}],["a2",{"_index":739,"t":{"133":{"position":[[199,4],[459,2],[593,3],[702,4]]},"139":{"position":[[150,2],[271,3],[321,3],[349,3],[724,2]]},"143":{"position":[[244,3],[343,3],[374,2],[543,3]]}}}],["abov",{"_index":537,"t":{"86":{"position":[[410,5]]}}}],["accept",{"_index":391,"t":{"50":{"position":[[609,9]]}}}],["access",{"_index":177,"t":{"12":{"position":[[478,6],[651,6],[724,6],[983,6],[2362,7],[2426,6]]},"50":{"position":[[430,6]]},"74":{"position":[[353,6]]},"82":{"position":[[279,6],[372,7]]},"86":{"position":[[356,6]]},"95":{"position":[[446,6]]},"121":{"position":[[63,6],[150,6]]},"125":{"position":[[261,6]]},"139":{"position":[[529,6]]},"153":{"position":[[29,6],[173,6],[433,7]]},"155":{"position":[[84,6],[137,7]]},"157":{"position":[[246,6],[523,6]]},"159":{"position":[[44,6],[135,6]]},"161":{"position":[[376,6],[548,6]]},"167":{"position":[[406,6]]},"181":{"position":[[637,6]]}}}],["account",{"_index":552,"t":{"92":{"position":[[33,7],[362,9]]},"95":{"position":[[63,7]]},"97":{"position":[[375,7]]},"101":{"position":[[53,7]]},"121":{"position":[[164,7]]},"123":{"position":[[43,7]]},"127":{"position":[[128,9],[173,7],[487,7]]}}}],["act",{"_index":443,"t":{"72":{"position":[[12,3]]}}}],["action",{"_index":175,"t":{"12":{"position":[[420,7]]},"111":{"position":[[182,6]]},"207":{"position":[[28,6]]},"235":{"position":[[43,6]]}}}],["activ",{"_index":210,"t":{"12":{"position":[[1490,6]]},"34":{"position":[[60,6]]},"62":{"position":[[111,7]]},"70":{"position":[[139,6]]},"101":{"position":[[77,6],[416,6]]},"119":{"position":[[188,7]]},"127":{"position":[[244,6]]},"133":{"position":[[111,10],[268,6]]},"137":{"position":[[400,10],[483,6]]},"149":{"position":[[19,7]]},"185":{"position":[[19,6],[129,6],[180,6]]},"199":{"position":[[357,6],[447,6]]},"201":{"position":[[130,6],[172,6],[256,6],[401,6]]},"227":{"position":[[65,8]]},"229":{"position":[[23,8]]},"233":{"position":[[88,6]]}}}],["ad",{"_index":1019,"t":{"205":{"position":[[119,5]]},"229":{"position":[[0,5],[128,5],[278,5]]},"231":{"position":[[72,5],[147,5]]},"233":{"position":[[0,5],[62,5],[115,5],[193,5]]},"235":{"position":[[0,5],[60,5],[122,5],[162,5]]}}}],["add",{"_index":410,"t":{"58":{"position":[[0,3]]},"95":{"position":[[518,3]]},"107":{"position":[[316,3]]},"109":{"position":[[473,4]]}}}],["add/configur",{"_index":213,"t":{"12":{"position":[[1612,13]]}}}],["adding/configur",{"_index":916,"t":{"185":{"position":[[243,18]]}}}],["addit",{"_index":824,"t":{"153":{"position":[[148,10]]},"189":{"position":[[637,10]]}}}],["address",{"_index":370,"t":{"50":{"position":[[97,7]]},"80":{"position":[[324,8]]},"95":{"position":[[540,9]]}}}],["adjust",{"_index":661,"t":{"113":{"position":[[193,6]]}}}],["admin",{"_index":179,"t":{"12":{"position":[[543,6],[866,5],[922,5]]},"36":{"position":[[1181,5]]},"46":{"position":[[216,5]]},"153":{"position":[[47,6],[94,5],[205,6],[270,6],[449,5],[518,6]]},"155":{"position":[[39,5],[171,6]]},"157":{"position":[[56,7],[313,5],[383,5],[432,5],[462,5],[530,8]]},"159":{"position":[[104,5]]},"161":{"position":[[407,6]]}}}],["advanced/custom",{"_index":352,"t":{"44":{"position":[[177,15]]}}}],["again",{"_index":118,"t":{"8":{"position":[[262,5]]},"12":{"position":[[2391,5]]},"121":{"position":[[333,6]]},"127":{"position":[[320,6]]}}}],["agent",{"_index":8,"t":{"2":{"position":[[78,5],[136,5]]},"6":{"position":[[110,5]]},"12":{"position":[[199,5],[1784,5],[1829,5],[1998,5]]},"30":{"position":[[90,5]]},"34":{"position":[[27,5]]},"50":{"position":[[88,5],[109,5]]},"70":{"position":[[69,5],[114,5],[228,6]]},"82":{"position":[[326,6],[685,6]]},"84":{"position":[[162,5],[209,5]]},"95":{"position":[[165,5]]},"129":{"position":[[78,6],[161,5]]},"131":{"position":[[15,6],[226,6],[492,6],[598,6],[637,6]]},"133":{"position":[[100,5],[122,7],[191,7],[275,7],[323,6],[340,7],[412,7],[420,5],[453,5],[544,5],[587,5],[626,7],[694,7],[762,6]]},"135":{"position":[[20,7],[41,6],[78,5],[123,5],[180,5],[265,5],[297,5],[350,6],[405,7],[478,8],[553,5]]},"137":{"position":[[39,7],[90,5],[188,6],[234,5],[389,5],[411,7],[490,7],[538,5],[587,7]]},"139":{"position":[[20,5],[78,5],[144,5],[384,6],[497,7]]},"141":{"position":[[347,6]]},"143":{"position":[[85,5],[167,5],[197,5],[238,5],[280,5],[337,5],[368,5],[427,8],[470,9],[600,5]]},"145":{"position":[[4,6],[307,6],[364,6]]},"147":{"position":[[4,6]]},"149":{"position":[[145,6]]},"165":{"position":[[97,5]]},"177":{"position":[[171,5]]},"219":{"position":[[73,5]]},"227":{"position":[[223,5],[266,5],[348,5]]},"233":{"position":[[45,5],[229,5]]},"237":{"position":[[56,6]]}}}],["agent'",{"_index":781,"t":{"139":{"position":[[429,7]]}}}],["ai",{"_index":709,"t":{"129":{"position":[[75,2]]},"131":{"position":[[12,2]]}}}],["album",{"_index":619,"t":{"105":{"position":[[57,7]]},"107":{"position":[[45,6]]},"117":{"position":[[24,5]]},"227":{"position":[[444,5]]},"235":{"position":[[186,5]]},"237":{"position":[[132,5]]}}}],["allow",{"_index":206,"t":{"12":{"position":[[1411,5]]},"161":{"position":[[335,5]]},"179":{"position":[[383,7]]},"181":{"position":[[216,5],[609,5]]},"219":{"position":[[135,7]]}}}],["alongsid",{"_index":456,"t":{"72":{"position":[[216,9]]},"74":{"position":[[47,9]]},"80":{"position":[[190,9]]},"88":{"position":[[166,9]]},"90":{"position":[[76,9]]}}}],["alreadi",{"_index":268,"t":{"20":{"position":[[155,7]]},"28":{"position":[[362,8]]},"52":{"position":[[189,7]]},"213":{"position":[[105,7]]}}}],["alway",{"_index":829,"t":{"153":{"position":[[667,6]]},"161":{"position":[[343,6]]},"179":{"position":[[260,8]]},"181":{"position":[[595,6]]}}}],["analysis/plan",{"_index":418,"t":{"64":{"position":[[56,17]]}}}],["analyz",{"_index":767,"t":{"137":{"position":[[443,8]]},"143":{"position":[[307,9]]},"147":{"position":[[107,7]]},"149":{"position":[[40,7]]}}}],["anthrop",{"_index":377,"t":{"50":{"position":[[212,10]]},"187":{"position":[[182,9]]}}}],["anthropic_api_key",{"_index":928,"t":{"187":{"position":[[217,17]]}}}],["anyon",{"_index":594,"t":{"95":{"position":[[553,6]]}}}],["anyth",{"_index":581,"t":{"95":{"position":[[121,8]]}}}],["anywher",{"_index":492,"t":{"82":{"position":[[144,8]]},"125":{"position":[[337,8]]}}}],["api",{"_index":109,"t":{"8":{"position":[[159,3]]},"12":{"position":[[127,3]]},"50":{"position":[[992,3]]},"74":{"position":[[349,3]]},"78":{"position":[[81,3]]},"82":{"position":[[61,4],[169,4]]},"86":{"position":[[352,3]]},"90":{"position":[[174,3]]},"92":{"position":[[501,3]]},"125":{"position":[[160,3],[363,3]]},"127":{"position":[[217,4],[571,3]]},"133":{"position":[[19,3],[166,3],[445,3],[664,3]]},"143":{"position":[[498,3]]},"161":{"position":[[194,3]]},"187":{"position":[[23,3],[392,3]]},"189":{"position":[[29,3],[218,3],[357,3],[691,3]]}}}],["app",{"_index":562,"t":{"92":{"position":[[175,3]]},"95":{"position":[[85,4],[99,3],[140,3],[390,3]]}}}],["app'",{"_index":588,"t":{"95":{"position":[[280,5],[483,5]]}}}],["appear",{"_index":247,"t":{"12":{"position":[[2624,6]]},"72":{"position":[[379,6]]},"74":{"position":[[39,7]]},"80":{"position":[[183,6]]},"88":{"position":[[158,7]]},"143":{"position":[[115,6],[617,6]]},"181":{"position":[[422,7],[503,6]]}}}],["append",{"_index":539,"t":{"88":{"position":[[61,7]]}}}],["appropri",{"_index":365,"t":{"46":{"position":[[163,11]]}}}],["approv",{"_index":172,"t":{"12":{"position":[[392,10],[525,8],[572,7],[600,7],[781,8],[2540,7],[2668,8]]},"139":{"position":[[584,7]]},"151":{"position":[[122,8]]},"153":{"position":[[216,7],[529,7]]},"155":{"position":[[21,7],[156,8],[254,9]]},"157":{"position":[[47,8],[111,7],[133,7],[304,8]]},"159":{"position":[[79,9]]},"161":{"position":[[316,9],[458,8]]},"169":{"position":[[60,8]]},"171":{"position":[[158,7]]},"173":{"position":[[177,9]]},"177":{"position":[[268,8]]},"179":{"position":[[132,8],[209,8],[284,7],[429,8]]},"181":{"position":[[151,9],[241,8],[672,9]]}}}],["approve/reject",{"_index":831,"t":{"155":{"position":[[69,14]]}}}],["approve_command",{"_index":864,"t":{"171":{"position":[[130,15]]}}}],["approve_scop",{"_index":860,"t":{"167":{"position":[[373,13]]}}}],["architectur",{"_index":136,"t":{"10":{"position":[[134,12]]},"189":{"position":[[594,12]]}}}],["arriv",{"_index":197,"t":{"12":{"position":[[1182,6]]}}}],["arrow",{"_index":165,"t":{"12":{"position":[[272,5]]},"101":{"position":[[313,5]]},"111":{"position":[[52,5]]},"149":{"position":[[260,5]]},"181":{"position":[[407,5]]},"207":{"position":[[57,5],[126,5],[182,5],[259,5],[321,5],[379,5]]}}}],["art",{"_index":144,"t":{"10":{"position":[[244,3]]},"117":{"position":[[30,3]]},"227":{"position":[[450,4]]},"235":{"position":[[192,3]]},"237":{"position":[[138,3]]}}}],["artist",{"_index":618,"t":{"105":{"position":[[48,8]]},"109":{"position":[[443,6]]}}}],["ask",{"_index":205,"t":{"12":{"position":[[1401,4]]},"50":{"position":[[54,4],[569,4]]},"131":{"position":[[90,3]]},"141":{"position":[[314,3]]},"179":{"position":[[194,6],[247,3]]},"181":{"position":[[26,4],[67,3],[84,4]]},"207":{"position":[[220,4]]}}}],["ask_us",{"_index":815,"t":{"149":{"position":[[178,8]]}}}],["asset",{"_index":346,"t":{"44":{"position":[[51,6]]},"237":{"position":[[220,6]]}}}],["assigne",{"_index":531,"t":{"86":{"position":[[248,9],[320,9]]}}}],["assist",{"_index":482,"t":{"80":{"position":[[14,8]]}}}],["async",{"_index":292,"t":{"30":{"position":[[21,5]]}}}],["asynchron",{"_index":442,"t":{"70":{"position":[[385,15]]}}}],["attach",{"_index":261,"t":{"18":{"position":[[40,8]]},"56":{"position":[[40,8]]}}}],["attribut",{"_index":477,"t":{"78":{"position":[[46,11]]}}}],["audio",{"_index":686,"t":{"119":{"position":[[81,5]]},"161":{"position":[[128,6]]}}}],["auth",{"_index":604,"t":{"97":{"position":[[357,4]]},"99":{"position":[[32,4],[278,4],[433,5]]},"101":{"position":[[100,4],[177,4]]},"121":{"position":[[328,4]]},"123":{"position":[[70,4]]},"127":{"position":[[352,4],[392,4],[462,4]]}}}],["authent",{"_index":489,"t":{"82":{"position":[[32,12]]},"125":{"position":[[132,12]]}}}],["author",{"_index":452,"t":{"72":{"position":[[113,8]]},"74":{"position":[[3,8]]},"80":{"position":[[58,8],[317,6]]},"88":{"position":[[74,8]]},"99":{"position":[[49,13],[171,13]]},"101":{"position":[[196,13]]}}}],["auto",{"_index":97,"t":{"6":{"position":[[814,5]]},"28":{"position":[[327,4]]},"36":{"position":[[123,4],[606,4],[1071,4]]},"46":{"position":[[222,4]]},"54":{"position":[[159,4]]},"99":{"position":[[203,4]]},"121":{"position":[[91,4]]},"131":{"position":[[647,4]]},"139":{"position":[[579,4]]},"145":{"position":[[94,4],[101,4],[161,4],[168,6],[386,4]]},"161":{"position":[[156,4]]},"179":{"position":[[127,4]]},"181":{"position":[[236,4],[667,4]]},"205":{"position":[[154,4]]}}}],["automat",{"_index":259,"t":{"16":{"position":[[197,13]]},"28":{"position":[[176,13]]},"46":{"position":[[49,13]]},"80":{"position":[[30,13]]},"84":{"position":[[258,13]]},"88":{"position":[[47,13]]},"117":{"position":[[177,13]]},"121":{"position":[[237,13]]},"161":{"position":[[223,13]]},"179":{"position":[[419,9]]},"183":{"position":[[77,14]]},"197":{"position":[[97,13]]},"203":{"position":[[229,14]]},"231":{"position":[[153,9]]}}}],["avail",{"_index":388,"t":{"50":{"position":[[517,9]]},"72":{"position":[[348,12],[499,9]]},"101":{"position":[[365,9]]},"105":{"position":[[146,9]]},"119":{"position":[[144,10]]},"207":{"position":[[210,9]]}}}],["avatar",{"_index":463,"t":{"74":{"position":[[32,6]]},"80":{"position":[[171,6]]},"88":{"position":[[151,6]]}}}],["avoid",{"_index":26,"t":{"4":{"position":[[186,5]]}}}],["awar",{"_index":730,"t":{"131":{"position":[[614,5]]}}}],["back",{"_index":167,"t":{"12":{"position":[[302,4],[1886,4]]},"66":{"position":[[72,4]]},"68":{"position":[[273,4]]},"117":{"position":[[197,4]]},"183":{"position":[[72,4]]},"195":{"position":[[167,4]]},"209":{"position":[[207,4]]}}}],["background",{"_index":59,"t":{"6":{"position":[[163,10],[298,10],[345,10]]},"12":{"position":[[1842,10],[1948,10],[2012,10],[2070,10],[2095,10],[2149,10],[2198,10],[2240,10]]},"14":{"position":[[18,10]]},"16":{"position":[[34,10]]},"20":{"position":[[95,10]]},"22":{"position":[[60,10]]},"28":{"position":[[107,10]]},"30":{"position":[[27,10]]},"34":{"position":[[152,10]]},"54":{"position":[[34,10]]},"56":{"position":[[259,10]]},"70":{"position":[[48,14],[164,10],[198,10],[304,10]]},"131":{"position":[[511,10]]},"135":{"position":[[194,10],[250,10],[303,10]]},"143":{"position":[[581,10]]},"177":{"position":[[496,10]]},"201":{"position":[[69,10]]},"225":{"position":[[70,10]]},"227":{"position":[[173,10],[299,10]]},"231":{"position":[[200,10]]},"233":{"position":[[103,11],[271,10]]},"237":{"position":[[65,10]]},"239":{"position":[[58,10]]}}}],["backgroundtaskmanag",{"_index":1066,"t":{"233":{"position":[[6,21]]}}}],["backoff",{"_index":281,"t":{"28":{"position":[[207,7]]},"36":{"position":[[1170,7]]},"54":{"position":[[214,8]]}}}],["balanc",{"_index":217,"t":{"12":{"position":[[1705,8]]}}}],["balanced/detail",{"_index":216,"t":{"12":{"position":[[1679,19]]}}}],["bar",{"_index":650,"t":{"109":{"position":[[469,3]]},"111":{"position":[[245,4]]}}}],["base",{"_index":525,"t":{"86":{"position":[[85,4]]},"131":{"position":[[407,5]]},"189":{"position":[[227,4],[678,4]]},"211":{"position":[[20,5]]},"227":{"position":[[8,5]]}}}],["basic",{"_index":1026,"t":{"209":{"position":[[215,5]]}}}],["becom",{"_index":402,"t":{"54":{"position":[[73,7]]},"153":{"position":[[82,7]]}}}],["befor",{"_index":49,"t":{"4":{"position":[[509,6]]},"119":{"position":[[96,6]]},"121":{"position":[[251,6]]},"181":{"position":[[106,6],[441,6],[709,6]]},"199":{"position":[[148,6]]}}}],["before/aft",{"_index":37,"t":{"4":{"position":[[307,12]]}}}],["behavior",{"_index":363,"t":{"44":{"position":[[387,8]]},"64":{"position":[[33,9],[180,8]]},"147":{"position":[[82,8]]},"201":{"position":[[214,10]]},"229":{"position":[[242,8]]}}}],["benefit",{"_index":766,"t":{"137":{"position":[[295,7]]},"141":{"position":[[114,8]]}}}],["between",{"_index":728,"t":{"131":{"position":[[590,7]]}}}],["bg",{"_index":226,"t":{"12":{"position":[[1907,3],[1959,4],[2023,3],[2081,3],[2112,3],[2165,3],[2214,3]]},"32":{"position":[[11,3],[38,3],[51,3],[72,3]]},"34":{"position":[[43,4],[87,3],[174,4]]},"70":{"position":[[120,3],[175,3],[235,3],[271,3]]},"135":{"position":[[141,4],[205,3],[271,3]]},"143":{"position":[[627,3]]},"227":{"position":[[234,4]]},"233":{"position":[[68,3],[121,3],[131,3],[141,3],[158,3]]}}}],["block",{"_index":717,"t":{"131":{"position":[[205,6],[436,8]]},"179":{"position":[[63,7]]},"181":{"position":[[299,9]]}}}],["board",{"_index":299,"t":{"34":{"position":[[168,5]]},"135":{"position":[[452,5]]},"233":{"position":[[282,6]]}}}],["bodi",{"_index":522,"t":{"86":{"position":[[62,5],[302,5]]}}}],["boot",{"_index":98,"t":{"6":{"position":[[829,5]]},"36":{"position":[[754,4]]},"46":{"position":[[66,4],[450,4]]}}}],["bot",{"_index":385,"t":{"50":{"position":[[397,3],[741,3]]},"151":{"position":[[35,3]]},"161":{"position":[[474,3],[529,3]]},"163":{"position":[[75,3],[150,3],[306,3]]}}}],["botfath",{"_index":849,"t":{"163":{"position":[[90,11],[165,10]]}}}],["both",{"_index":155,"t":{"12":{"position":[[60,4]]},"30":{"position":[[52,4]]},"133":{"position":[[389,4],[757,4]]},"181":{"position":[[191,4]]}}}],["bottleneck",{"_index":719,"t":{"131":{"position":[[244,11]]}}}],["brain",{"_index":239,"t":{"12":{"position":[[2316,5]]},"209":{"position":[[7,5]]}}}],["brain.db",{"_index":1031,"t":{"209":{"position":[[381,8]]}}}],["brain/second",{"_index":1030,"t":{"209":{"position":[[368,12]]}}}],["branch",{"_index":524,"t":{"86":{"position":[[73,7],[90,6]]}}}],["break",{"_index":718,"t":{"131":{"position":[[233,5]]},"195":{"position":[[35,6]]}}}],["broad",{"_index":1074,"t":{"239":{"position":[[22,5]]}}}],["broadcast",{"_index":846,"t":{"161":{"position":[[440,10]]}}}],["browser",{"_index":560,"t":{"92":{"position":[[158,7]]},"99":{"position":[[95,7],[195,7],[317,8]]},"101":{"position":[[122,8]]},"127":{"position":[[327,7]]}}}],["budget",{"_index":76,"t":{"6":{"position":[[475,6]]},"8":{"position":[[394,6],[420,6]]},"12":{"position":[[221,7],[1207,7],[1226,6],[1240,7],[1266,6],[1289,7],[1323,7],[1358,6]]},"175":{"position":[[439,6]]},"177":{"position":[[142,7]]},"199":{"position":[[216,7]]}}}],["budget_statu",{"_index":885,"t":{"175":{"position":[[413,13]]}}}],["bug",{"_index":466,"t":{"74":{"position":[[243,3]]}}}],["build",{"_index":735,"t":{"133":{"position":[[5,6],[154,6],[432,8]]},"143":{"position":[[487,5]]},"199":{"position":[[328,6]]},"201":{"position":[[191,8]]}}}],["built",{"_index":13,"t":{"4":{"position":[[19,5]]},"36":{"position":[[1135,5]]},"46":{"position":[[425,5]]},"72":{"position":[[236,5]]},"133":{"position":[[668,5]]},"165":{"position":[[14,5]]},"213":{"position":[[30,5]]}}}],["busi",{"_index":759,"t":{"135":{"position":[[562,4]]}}}],["button",{"_index":819,"t":{"149":{"position":[[300,8]]},"161":{"position":[[357,7]]},"181":{"position":[[495,7]]},"207":{"position":[[90,7],[157,7],[289,7],[352,7],[429,7]]}}}],["call",{"_index":479,"t":{"78":{"position":[[85,6]]},"109":{"position":[[174,5],[231,5],[258,5],[367,5],[410,5],[496,5],[548,5]]},"137":{"position":[[331,5]]},"165":{"position":[[119,4]]},"171":{"position":[[118,6]]}}}],["calmer",{"_index":667,"t":{"113":{"position":[[330,7]]}}}],["cancel",{"_index":233,"t":{"12":{"position":[[2169,6],[2181,6]]},"32":{"position":[[60,6],[76,6]]},"70":{"position":[[275,6],[289,6]]},"175":{"position":[[379,6]]},"233":{"position":[[145,6]]}}}],["cancel_scheduled_task",{"_index":884,"t":{"175":{"position":[[357,21]]}}}],["capabl",{"_index":139,"t":{"10":{"position":[[187,10]]},"177":{"position":[[251,12]]}}}],["cat",{"_index":907,"t":{"179":{"position":[[166,4]]}}}],["categori",{"_index":872,"t":{"175":{"position":[[18,8]]}}}],["cd",{"_index":863,"t":{"171":{"position":[[73,2]]}}}],["chang",{"_index":119,"t":{"8":{"position":[[272,7],[403,6]]},"12":{"position":[[1339,6],[1378,6]]},"64":{"position":[[94,7]]},"68":{"position":[[157,7],[200,7],[236,7]]},"74":{"position":[[131,7]]},"86":{"position":[[135,8]]},"129":{"position":[[180,7]]},"171":{"position":[[76,6]]},"173":{"position":[[68,7]]},"181":{"position":[[171,8],[554,6]]},"185":{"position":[[350,6]]},"239":{"position":[[38,7]]}}}],["channel",{"_index":162,"t":{"12":{"position":[[233,8]]},"139":{"position":[[651,7]]},"143":{"position":[[155,8]]},"153":{"position":[[654,8]]},"163":{"position":[[219,7]]},"177":{"position":[[132,9]]},"195":{"position":[[179,7]]},"207":{"position":[[19,8]]}}}],["char",{"_index":976,"t":{"199":{"position":[[211,4]]}}}],["chat",{"_index":225,"t":{"12":{"position":[[1902,4]]},"50":{"position":[[346,4],[452,5]]},"56":{"position":[[133,5]]},"66":{"position":[[80,4]]},"68":{"position":[[289,4]]},"131":{"position":[[460,8]]},"133":{"position":[[304,8],[522,8]]},"137":{"position":[[519,8]]},"143":{"position":[[13,8]]},"153":{"position":[[571,5],[625,6]]},"187":{"position":[[63,4]]},"227":{"position":[[142,5]]}}}],["chatbot",{"_index":706,"t":{"129":{"position":[[21,7]]}}}],["check",{"_index":20,"t":{"4":{"position":[[110,6]]},"10":{"position":[[54,5]]},"74":{"position":[[212,6]]},"119":{"position":[[120,6]]},"133":{"position":[[351,5]]},"137":{"position":[[598,5]]},"159":{"position":[[66,5]]},"175":{"position":[[427,5]]},"193":{"position":[[61,5]]}}}],["child",{"_index":251,"t":{"16":{"position":[[71,5]]}}}],["chill",{"_index":564,"t":{"92":{"position":[[210,5]]},"109":{"position":[[76,5],[105,7]]}}}],["choic",{"_index":816,"t":{"149":{"position":[[213,7]]},"201":{"position":[[277,7]]}}}],["choos",{"_index":373,"t":{"50":{"position":[[174,6],[371,6]]},"62":{"position":[[57,6]]},"82":{"position":[[407,6]]},"97":{"position":[[102,6]]},"99":{"position":[[37,6]]},"127":{"position":[[399,6]]},"181":{"position":[[38,6]]}}}],["classic",{"_index":511,"t":{"82":{"position":[[606,7]]}}}],["claud",{"_index":925,"t":{"187":{"position":[[192,6],[235,6]]}}}],["clean",{"_index":260,"t":{"16":{"position":[[211,7]]},"24":{"position":[[131,5]]},"28":{"position":[[332,7]]},"54":{"position":[[164,8]]}}}],["clear",{"_index":188,"t":{"12":{"position":[[964,5],[2218,5]]},"101":{"position":[[254,5]]},"123":{"position":[[21,6]]},"135":{"position":[[361,5],[413,5],[441,5]]},"157":{"position":[[504,5]]},"207":{"position":[[369,5],[396,5],[440,5]]},"233":{"position":[[162,5]]}}}],["clearer",{"_index":1069,"t":{"235":{"position":[[35,7]]}}}],["cli",{"_index":156,"t":{"12":{"position":[[65,3],[253,3],[334,3],[446,3],[510,3],[590,3],[688,3],[761,3],[827,3],[894,3],[954,3],[2567,3],[2698,3]]},"44":{"position":[[423,3]]},"50":{"position":[[829,3]]},"56":{"position":[[120,3]]},"60":{"position":[[19,3]]},"101":{"position":[[332,4]]},"113":{"position":[[87,3]]},"115":{"position":[[26,6]]},"139":{"position":[[659,4]]},"149":{"position":[[245,3]]},"153":{"position":[[354,3]]},"165":{"position":[[78,3]]},"181":{"position":[[196,3],[399,4]]},"195":{"position":[[187,4]]},"207":{"position":[[35,3]]}}}],["cli/tui",{"_index":1046,"t":{"225":{"position":[[33,7]]}}}],["click",{"_index":509,"t":{"82":{"position":[[561,5],[775,5]]},"95":{"position":[[71,5],[262,5]]}}}],["client",{"_index":590,"t":{"95":{"position":[[310,6],[324,6]]},"97":{"position":[[132,6],[154,6],[184,6],[210,6]]},"125":{"position":[[11,6],[43,6],[57,6]]}}}],["close",{"_index":248,"t":{"14":{"position":[[100,5]]},"86":{"position":[[227,7]]}}}],["cloud",{"_index":380,"t":{"50":{"position":[[236,6]]},"187":{"position":[[327,5]]}}}],["co",{"_index":451,"t":{"72":{"position":[[110,2]]},"74":{"position":[[0,2]]},"80":{"position":[[55,2],[314,2]]},"88":{"position":[[71,2]]}}}],["code",{"_index":127,"t":{"8":{"position":[[378,4]]},"12":{"position":[[626,4],[1778,5],[1808,6],[2514,4],[2553,4]]},"34":{"position":[[9,6],[21,5]]},"50":{"position":[[775,4],[815,4]]},"56":{"position":[[139,6]]},"60":{"position":[[71,7]]},"62":{"position":[[47,5],[74,5],[139,6]]},"64":{"position":[[43,5],[89,4],[102,5],[138,5]]},"70":{"position":[[63,5],[93,6]]},"74":{"position":[[268,4]]},"88":{"position":[[21,4]]},"99":{"position":[[185,4],[341,4],[388,4],[405,4]]},"101":{"position":[[141,5],[156,4],[161,6],[210,4]]},"127":{"position":[[372,4],[413,5]]},"131":{"position":[[137,5]]},"135":{"position":[[72,5],[102,6],[515,5]]},"141":{"position":[[96,4]]},"143":{"position":[[664,6]]},"147":{"position":[[57,4],[91,5],[131,4],[136,5],[181,5],[215,5],[250,5]]},"149":{"position":[[5,5],[159,5]]},"153":{"position":[[124,4],[321,4]]},"157":{"position":[[159,4]]},"227":{"position":[[135,6],[323,6],[341,6]]},"229":{"position":[[134,6]]},"231":{"position":[[88,6]]},"237":{"position":[[30,6]]}}}],["codebas",{"_index":768,"t":{"137":{"position":[[456,8]]},"143":{"position":[[321,12]]}}}],["code|id",{"_index":181,"t":{"12":{"position":[[580,9]]}}}],["code|userid",{"_index":833,"t":{"157":{"position":[[119,13]]}}}],["coding/chat",{"_index":440,"t":{"70":{"position":[[343,15]]}}}],["come",{"_index":795,"t":{"143":{"position":[[72,4]]},"189":{"position":[[486,6]]}}}],["command",{"_index":15,"t":{"4":{"position":[[36,7],[101,8]]},"6":{"position":[[0,7],[740,9]]},"12":{"position":[[139,7],[282,7],[1911,9],[1933,7]]},"20":{"position":[[20,7]]},"30":{"position":[[63,8]]},"32":{"position":[[15,9]]},"58":{"position":[[27,7]]},"68":{"position":[[0,7]]},"101":{"position":[[0,7]]},"111":{"position":[[20,7]]},"135":{"position":[[0,7],[464,8]]},"147":{"position":[[69,7]]},"157":{"position":[[0,7]]},"159":{"position":[[0,7]]},"161":{"position":[[298,7],[478,8],[495,8]]},"165":{"position":[[82,8]]},"171":{"position":[[57,7],[65,7],[168,7],[181,7]]},"179":{"position":[[53,9],[73,8],[148,8],[228,8],[294,7]]},"181":{"position":[[132,8],[282,8],[654,8]]},"205":{"position":[[137,7]]},"227":{"position":[[483,8],[552,7]]},"231":{"position":[[15,7],[127,7]]}}}],["comment",{"_index":527,"t":{"86":{"position":[[160,8]]}}}],["commit",{"_index":436,"t":{"68":{"position":[[169,6],[186,6]]},"72":{"position":[[122,7]]},"74":{"position":[[12,7],[72,6],[159,8]]},"78":{"position":[[39,6]]},"80":{"position":[[23,6]]},"88":{"position":[[13,7],[194,6]]},"90":{"position":[[255,6]]},"173":{"position":[[84,6],[139,6]]}}}],["compact",{"_index":218,"t":{"12":{"position":[[1718,7]]}}}],["companion",{"_index":445,"t":{"72":{"position":[[31,9]]}}}],["comparison",{"_index":38,"t":{"4":{"position":[[328,10]]}}}],["compat",{"_index":88,"t":{"6":{"position":[[617,13]]},"10":{"position":[[40,13]]},"50":{"position":[[267,10]]},"161":{"position":[[259,10]]},"187":{"position":[[300,10],[482,10],[539,10]]},"189":{"position":[[574,10]]}}}],["complet",{"_index":235,"t":{"12":{"position":[[2230,9]]},"101":{"position":[[168,8]]},"133":{"position":[[639,9],[707,9]]},"135":{"position":[[61,10]]},"137":{"position":[[174,9]]},"139":{"position":[[303,9],[356,9]]},"143":{"position":[[104,10],[289,9],[377,9]]},"153":{"position":[[103,10],[361,8]]}}}],["complex",{"_index":724,"t":{"131":{"position":[[421,10]]},"137":{"position":[[277,7]]},"141":{"position":[[207,7]]}}}],["compose.yml",{"_index":349,"t":{"44":{"position":[[102,11]]}}}],["compromis",{"_index":550,"t":{"90":{"position":[[323,12]]}}}],["concurr",{"_index":710,"t":{"129":{"position":[[101,12]]},"131":{"position":[[563,10],[626,10]]},"145":{"position":[[353,10]]}}}],["condit",{"_index":460,"t":{"72":{"position":[[336,11]]}}}],["confid",{"_index":970,"t":{"199":{"position":[[89,11],[519,10]]},"203":{"position":[[99,10]]},"205":{"position":[[43,11]]}}}],["config",{"_index":73,"t":{"6":{"position":[[440,7],[750,6]]},"46":{"position":[[183,7]]},"50":{"position":[[854,6]]},"177":{"position":[[113,6]]},"209":{"position":[[100,6]]}}}],["config/systemd/user/mercury.servic",{"_index":319,"t":{"36":{"position":[[566,39]]}}}],["configur",{"_index":207,"t":{"12":{"position":[[1451,10]]},"72":{"position":[[171,11],[407,10]]},"80":{"position":[[117,13]]},"90":{"position":[[97,14]]},"145":{"position":[[15,10]]},"183":{"position":[[0,9]]},"185":{"position":[[96,10]]},"187":{"position":[[31,13],[493,12]]},"189":{"position":[[627,9]]},"239":{"position":[[143,9]]}}}],["confirm",{"_index":266,"t":{"20":{"position":[[118,8]]},"52":{"position":[[222,8]]},"181":{"position":[[93,12]]},"207":{"position":[[408,13]]},"229":{"position":[[264,7]]}}}],["conflict",{"_index":27,"t":{"4":{"position":[[192,9]]},"131":{"position":[[580,9]]}}}],["connect",{"_index":551,"t":{"92":{"position":[[8,8]]},"95":{"position":[[582,8]]},"97":{"position":[[332,9]]},"99":{"position":[[463,9]]},"101":{"position":[[34,10]]},"151":{"position":[[8,8]]},"201":{"position":[[381,11]]}}}],["consolid",{"_index":979,"t":{"199":{"position":[[286,13]]},"205":{"position":[[186,13]]},"209":{"position":[[287,14]]}}}],["constraint",{"_index":997,"t":{"201":{"position":[[297,10],[326,11]]}}}],["consum",{"_index":160,"t":{"12":{"position":[[119,7]]}}}],["contain",{"_index":350,"t":{"44":{"position":[[151,10],[268,9],[286,9]]}}}],["content",{"_index":508,"t":{"82":{"position":[[480,8]]},"167":{"position":[[49,8],[106,7],[172,7],[277,8]]},"169":{"position":[[89,7]]},"175":{"position":[[60,7],[130,7]]},"215":{"position":[[105,7]]}}}],["context",{"_index":414,"t":{"62":{"position":[[146,7]]},"107":{"position":[[293,8]]},"131":{"position":[[47,7],[327,7]]},"137":{"position":[[133,7]]},"139":{"position":[[97,8],[163,8],[403,7]]},"141":{"position":[[140,7]]},"199":{"position":[[242,8]]}}}],["continu",{"_index":302,"t":{"34":{"position":[[263,10]]},"70":{"position":[[334,8]]},"113":{"position":[[134,9]]},"129":{"position":[[120,10]]},"133":{"position":[[295,8],[513,8]]},"137":{"position":[[510,8]]},"139":{"position":[[175,9]]},"181":{"position":[[318,12]]}}}],["control",{"_index":416,"t":{"64":{"position":[[25,7]]},"82":{"position":[[742,7]]},"92":{"position":[[52,7],[381,7]]},"101":{"position":[[323,8]]},"113":{"position":[[184,8],[412,8]]},"127":{"position":[[81,8]]},"145":{"position":[[207,9]]},"229":{"position":[[50,9]]},"233":{"position":[[184,8]]},"235":{"position":[[152,9]]}}}],["convers",{"_index":153,"t":{"12":{"position":[[20,12]]},"64":{"position":[[167,12]]},"72":{"position":[[152,13],[512,13]]},"92":{"position":[[141,13]]},"113":{"position":[[63,12]]},"129":{"position":[[135,13]]},"139":{"position":[[185,12],[437,12]]},"141":{"position":[[183,13]]},"147":{"position":[[202,12]]},"165":{"position":[[49,14]]},"193":{"position":[[16,13]]},"197":{"position":[[66,13]]},"199":{"position":[[24,13]]},"215":{"position":[[16,13]]}}}],["convert",{"_index":843,"t":{"161":{"position":[[237,9]]}}}],["copi",{"_index":394,"t":{"50":{"position":[[758,4]]},"82":{"position":[[586,4],[800,4]]},"95":{"position":[[301,4]]}}}],["cosmicstack/mercuri",{"_index":7,"t":{"2":{"position":[[57,20],[115,20]]}}}],["cost",{"_index":918,"t":{"187":{"position":[[103,4]]}}}],["cover",{"_index":536,"t":{"86":{"position":[[402,7]]}}}],["coverag",{"_index":1049,"t":{"225":{"position":[[113,9]]}}}],["cpu",{"_index":733,"t":{"131":{"position":[[680,3]]}}}],["cpu/ram",{"_index":803,"t":{"145":{"position":[[120,8]]}}}],["crash",{"_index":277,"t":{"28":{"position":[[92,5],[155,8],[247,7],[294,5]]},"36":{"position":[[169,5],[230,5],[670,5],[1119,5]]},"46":{"position":[[87,6],[233,5],[306,6]]},"54":{"position":[[182,5]]},"74":{"position":[[261,6]]}}}],["creat",{"_index":305,"t":{"36":{"position":[[44,7],[535,7],[1013,7]]},"72":{"position":[[43,8]]},"74":{"position":[[109,7]]},"82":{"position":[[194,6]]},"84":{"position":[[40,7]]},"86":{"position":[[28,6],[271,6]]},"95":{"position":[[77,7]]},"153":{"position":[[303,7],[488,6]]},"167":{"position":[[126,6],[144,8]]},"173":{"position":[[130,6]]},"195":{"position":[[224,8]]}}}],["create_fil",{"_index":745,"t":{"133":{"position":[[572,11]]},"139":{"position":[[336,12]]},"143":{"position":[[266,11]]},"167":{"position":[[114,11]]}}}],["create_issu",{"_index":532,"t":{"86":{"position":[[258,12]]}}}],["create_pr",{"_index":520,"t":{"86":{"position":[[18,9]]}}}],["credenti",{"_index":120,"t":{"8":{"position":[[280,11]]},"90":{"position":[[237,11]]},"125":{"position":[[18,11],[240,11]]}}}],["credit",{"_index":542,"t":{"88":{"position":[[218,6]]}}}],["cron",{"_index":881,"t":{"175":{"position":[[259,6]]},"191":{"position":[[33,4]]}}}],["cross",{"_index":86,"t":{"6":{"position":[[586,5]]}}}],["ctrl+c",{"_index":408,"t":{"56":{"position":[[100,6]]}}}],["ctrl+e",{"_index":427,"t":{"66":{"position":[[85,6]]}}}],["ctrl+g",{"_index":430,"t":{"66":{"position":[[108,6]]}}}],["ctrl+p",{"_index":423,"t":{"66":{"position":[[0,6]]},"229":{"position":[[152,6]]}}}],["ctrl+q",{"_index":426,"t":{"66":{"position":[[48,6]]},"229":{"position":[[185,6]]}}}],["ctrl+x",{"_index":424,"t":{"66":{"position":[[19,6]]},"229":{"position":[[164,6]]}}}],["curl",{"_index":866,"t":{"171":{"position":[[195,7]]}}}],["current",{"_index":83,"t":{"6":{"position":[[540,7]]},"8":{"position":[[50,7]]},"10":{"position":[[69,7]]},"12":{"position":[[1039,9],[1554,7],[2027,7],[2044,7]]},"34":{"position":[[91,7]]},"44":{"position":[[17,9]]},"50":{"position":[[1061,7]]},"70":{"position":[[124,7]]},"84":{"position":[[329,7]]},"97":{"position":[[279,7]]},"101":{"position":[[456,9]]},"105":{"position":[[107,9]]},"109":{"position":[[521,7]]},"113":{"position":[[117,7]]},"117":{"position":[[129,9]]},"135":{"position":[[209,7],[222,7]]},"147":{"position":[[270,7]]},"185":{"position":[[121,7]]},"233":{"position":[[72,7]]}}}],["custom",{"_index":371,"t":{"50":{"position":[[145,9]]},"80":{"position":[[225,9]]},"179":{"position":[[343,10]]},"189":{"position":[[671,6]]}}}],["cycl",{"_index":19,"t":{"4":{"position":[[73,6]]},"147":{"position":[[230,5]]}}}],["daemon",{"_index":25,"t":{"4":{"position":[[164,6]]},"6":{"position":[[68,6],[174,6],[408,6],[459,6]]},"10":{"position":[[215,6]]},"14":{"position":[[29,6]]},"16":{"position":[[45,7]]},"20":{"position":[[106,7]]},"24":{"position":[[34,6]]},"28":{"position":[[33,6]]},"30":{"position":[[0,6]]},"36":{"position":[[287,6]]},"52":{"position":[[126,7],[327,7]]},"54":{"position":[[45,6]]},"177":{"position":[[541,6]]}}}],["daili",{"_index":129,"t":{"8":{"position":[[388,5]]},"12":{"position":[[1346,5]]},"177":{"position":[[389,5]]},"217":{"position":[[9,5]]},"219":{"position":[[11,5],[35,5]]}}}],["data",{"_index":886,"t":{"177":{"position":[[12,4]]},"209":{"position":[[317,4]]}}}],["day",{"_index":951,"t":{"193":{"position":[[47,3]]},"199":{"position":[[484,5],[571,5]]}}}],["debug",{"_index":101,"t":{"6":{"position":[[969,5]]},"18":{"position":[[78,9]]},"58":{"position":[[42,5]]}}}],["decay",{"_index":985,"t":{"199":{"position":[[508,6]]},"205":{"position":[[91,7]]}}}],["decid",{"_index":723,"t":{"131":{"position":[[382,7]]},"133":{"position":[[70,7]]},"137":{"position":[[259,7]]},"141":{"position":[[8,7]]},"145":{"position":[[180,8]]},"165":{"position":[[103,7]]}}}],["decis",{"_index":817,"t":{"149":{"position":[[224,8]]},"201":{"position":[[247,8],[263,9]]}}}],["deck",{"_index":1057,"t":{"227":{"position":[[390,6]]},"235":{"position":[[14,4]]}}}],["dedic",{"_index":790,"t":{"141":{"position":[[233,9]]},"231":{"position":[[78,9]]}}}],["deepseek",{"_index":375,"t":{"50":{"position":[[194,9]]},"187":{"position":[[45,8],[54,8]]},"189":{"position":[[261,8]]}}}],["deepseek_api_key",{"_index":917,"t":{"187":{"position":[[68,16]]},"189":{"position":[[275,17]]}}}],["deepseek_base_url",{"_index":941,"t":{"189":{"position":[[293,18]]}}}],["deepseek_model",{"_index":942,"t":{"189":{"position":[[316,15]]}}}],["default",{"_index":60,"t":{"6":{"position":[[181,9]]},"14":{"position":[[39,8]]},"44":{"position":[[117,9]]},"50":{"position":[[122,8],[380,7]]},"54":{"position":[[55,8]]},"80":{"position":[[152,8]]},"84":{"position":[[6,7]]},"95":{"position":[[422,9]]},"117":{"position":[[84,9]]},"119":{"position":[[267,7]]},"163":{"position":[[123,7]]},"181":{"position":[[180,7]]},"185":{"position":[[367,9]]},"187":{"position":[[9,7],[85,7]]},"209":{"position":[[27,8]]},"227":{"position":[[589,7]]},"237":{"position":[[149,7]]}}}],["delay",{"_index":326,"t":{"36":{"position":[[713,5]]},"46":{"position":[[373,5]]},"175":{"position":[[278,7]]},"191":{"position":[[62,7]]}}}],["deleg",{"_index":221,"t":{"12":{"position":[[1797,8]]},"30":{"position":[[76,9]]},"34":{"position":[[0,8]]},"70":{"position":[[33,10],[84,8]]},"131":{"position":[[354,10],[398,8]]},"133":{"position":[[81,9],[379,9]]},"135":{"position":[[91,8]]},"141":{"position":[[19,8],[367,9]]},"143":{"position":[[654,9]]},"149":{"position":[[123,8]]},"227":{"position":[[330,10]]}}}],["delegate_task",{"_index":762,"t":{"137":{"position":[[64,13],[337,14]]}}}],["delegate_task(\"impl",{"_index":775,"t":{"139":{"position":[[109,24]]}}}],["delegate_task(\"research",{"_index":773,"t":{"139":{"position":[[44,23]]}}}],["delet",{"_index":342,"t":{"36":{"position":[[1383,7]]},"42":{"position":[[86,7]]},"167":{"position":[[303,6]]}}}],["delete_fil",{"_index":858,"t":{"167":{"position":[[291,11]]}}}],["demot",{"_index":187,"t":{"12":{"position":[[882,6],[904,6]]},"157":{"position":[[406,6],[422,6]]}}}],["deni",{"_index":844,"t":{"161":{"position":[[352,4]]}}}],["deploy",{"_index":353,"t":{"44":{"position":[[193,11]]},"195":{"position":[[72,11]]}}}],["descript",{"_index":52,"t":{"6":{"position":[[8,11]]},"12":{"position":[[147,11]]},"68":{"position":[[8,11]]},"95":{"position":[[144,12]]},"101":{"position":[[8,11]]},"135":{"position":[[8,11]]},"137":{"position":[[52,11],[108,11]]},"145":{"position":[[258,11]]},"155":{"position":[[5,11]]},"157":{"position":[[8,11]]},"159":{"position":[[8,11]]},"161":{"position":[[8,11]]},"163":{"position":[[111,11]]}}}],["design",{"_index":300,"t":{"34":{"position":[[203,8]]}}}],["desktop",{"_index":683,"t":{"119":{"position":[[39,8]]}}}],["destruct",{"_index":132,"t":{"10":{"position":[[28,11]]}}}],["detach",{"_index":250,"t":{"16":{"position":[[62,8]]}}}],["detail",{"_index":219,"t":{"12":{"position":[[1746,8]]}}}],["details/output",{"_index":232,"t":{"12":{"position":[[2126,14]]},"70":{"position":[[256,14]]}}}],["detect",{"_index":141,"t":{"10":{"position":[[205,9]]},"46":{"position":[[123,7]]},"131":{"position":[[652,8]]},"145":{"position":[[106,8]]},"161":{"position":[[161,8]]},"199":{"position":[[418,8]]},"203":{"position":[[13,7],[207,8]]},"205":{"position":[[82,8]]}}}],["develop",{"_index":592,"t":{"95":{"position":[[345,11],[380,9],[400,11]]}}}],["developer.spotify.com/dashboard",{"_index":580,"t":{"95":{"position":[[6,31]]}}}],["devic",{"_index":559,"t":{"92":{"position":[[117,7]]},"99":{"position":[[303,6]]},"101":{"position":[[84,6],[352,7],[383,7],[400,6],[423,6]]},"105":{"position":[[164,7]]},"107":{"position":[[69,6]]},"109":{"position":[[141,6]]},"119":{"position":[[22,7],[132,7],[164,7],[178,6],[239,6],[275,7],[292,6],[299,7],[315,6],[385,7]]},"127":{"position":[[251,7]]}}}],["diagnost",{"_index":89,"t":{"6":{"position":[[631,11]]},"227":{"position":[[540,11]]},"237":{"position":[[91,11]]}}}],["diff",{"_index":469,"t":{"74":{"position":[[319,4]]},"86":{"position":[[118,5]]}}}],["differ",{"_index":488,"t":{"80":{"position":[[304,9]]}}}],["digest",{"_index":1039,"t":{"217":{"position":[[15,6]]},"219":{"position":[[41,6]]}}}],["dir",{"_index":855,"t":{"167":{"position":[[160,5]]}}}],["direct",{"_index":1016,"t":{"205":{"position":[[0,6]]}}}],["directli",{"_index":263,"t":{"18":{"position":[[119,9]]},"90":{"position":[[178,8]]},"189":{"position":[[112,8]]},"215":{"position":[[113,8]]}}}],["directori",{"_index":42,"t":{"4":{"position":[[382,9],[499,9]]},"50":{"position":[[912,10]]},"68":{"position":[[43,9]]},"167":{"position":[[267,9],[418,9]]},"171":{"position":[[91,9]]},"177":{"position":[[60,10]]},"181":{"position":[[254,9]]}}}],["disabl",{"_index":124,"t":{"8":{"position":[[322,7]]},"12":{"position":[[1152,7]]},"163":{"position":[[341,7]]},"209":{"position":[[39,7],[183,9]]}}}],["disclosur",{"_index":1040,"t":{"219":{"position":[[181,10]]}}}],["disconnect",{"_index":614,"t":{"101":{"position":[[231,10]]}}}],["discoveri",{"_index":389,"t":{"50":{"position":[[544,9]]}}}],["dislik",{"_index":991,"t":{"201":{"position":[[117,7]]}}}],["dismiss",{"_index":987,"t":{"199":{"position":[[551,9]]}}}],["display",{"_index":691,"t":{"121":{"position":[[179,7]]}}}],["dj",{"_index":558,"t":{"92":{"position":[[106,2]]},"113":{"position":[[44,2]]}}}],["doc",{"_index":1048,"t":{"225":{"position":[[108,4]]},"231":{"position":[[105,4]]},"237":{"position":[[20,4]]},"239":{"position":[[84,5]]}}}],["docker",{"_index":345,"t":{"44":{"position":[[44,6],[95,6]]},"237":{"position":[[174,6],[213,6]]}}}],["dockerfil",{"_index":348,"t":{"44":{"position":[[81,10]]}}}],["doctor",{"_index":77,"t":{"6":{"position":[[490,6],[563,6],[690,7]]},"8":{"position":[[8,6],[441,6]]},"10":{"position":[[98,6]]},"12":{"position":[[1593,6],[1645,6]]},"50":{"position":[[975,7]]},"72":{"position":[[430,7]]},"76":{"position":[[12,6],[63,6]]},"97":{"position":[[12,6],[68,6]]},"163":{"position":[[34,6],[331,6]]},"185":{"position":[[209,6],[340,6]]},"189":{"position":[[12,6]]},"227":{"position":[[569,6]]},"239":{"position":[[133,6]]}}}],["document",{"_index":840,"t":{"161":{"position":[[146,9]]}}}],["docusauru",{"_index":1072,"t":{"237":{"position":[[9,10]]}}}],["doesn't",{"_index":704,"t":{"127":{"position":[[335,7]]},"139":{"position":[[450,7]]}}}],["don't",{"_index":547,"t":{"90":{"position":[[249,5],[266,5]]}}}],["done",{"_index":751,"t":{"133":{"position":[[773,5]]},"137":{"position":[[577,5]]}}}],["driven",{"_index":722,"t":{"131":{"position":[[347,6]]}}}],["due",{"_index":543,"t":{"88":{"position":[[236,4]]}}}],["durabl",{"_index":972,"t":{"199":{"position":[[117,10],[530,7],[622,8]]},"201":{"position":[[35,7],[91,7],[206,7],[308,7],[362,7],[451,7]]}}}],["dure",{"_index":152,"t":{"12":{"position":[[11,6],[2571,6]]},"50":{"position":[[655,6]]},"149":{"position":[[152,6]]},"153":{"position":[[134,6]]},"163":{"position":[[19,6],[316,6]]},"165":{"position":[[42,6]]},"179":{"position":[[454,6]]},"181":{"position":[[357,6]]}}}],["e.g",{"_index":502,"t":{"82":{"position":[[312,5],[671,5]]},"141":{"position":[[69,6]]},"145":{"position":[[145,6]]},"171":{"position":[[189,5]]},"203":{"position":[[39,5]]}}}],["each",{"_index":383,"t":{"50":{"position":[[302,4]]},"131":{"position":[[195,4]]},"139":{"position":[[375,4]]},"181":{"position":[[716,4]]},"189":{"position":[[183,4]]},"199":{"position":[[19,4],[155,4]]}}}],["easiest",{"_index":400,"t":{"52":{"position":[[35,7]]}}}],["edit",{"_index":836,"t":{"161":{"position":[[54,7]]},"179":{"position":[[307,4]]},"189":{"position":[[124,4]]}}}],["edit_fil",{"_index":778,"t":{"139":{"position":[[260,10]]},"143":{"position":[[225,9]]},"167":{"position":[[180,9]]}}}],["effect",{"_index":919,"t":{"187":{"position":[[108,9]]}}}],["elev",{"_index":909,"t":{"179":{"position":[[360,10]]},"219":{"position":[[110,8]]}}}],["email",{"_index":485,"t":{"80":{"position":[[239,5]]},"95":{"position":[[534,5]]}}}],["emerg",{"_index":754,"t":{"135":{"position":[[326,10]]}}}],["empti",{"_index":43,"t":{"4":{"position":[[396,6]]}}}],["enabl",{"_index":320,"t":{"36":{"position":[[618,7],[647,6],[792,6]]},"46":{"position":[[487,6]]},"50":{"position":[[639,6]]},"117":{"position":[[94,6]]},"145":{"position":[[65,8]]},"163":{"position":[[252,6]]},"197":{"position":[[85,8]]},"209":{"position":[[16,7]]}}}],["enable/dis",{"_index":807,"t":{"145":{"position":[[288,14]]},"163":{"position":[[195,14]]}}}],["endpoint",{"_index":474,"t":{"74":{"position":[[410,8]]},"86":{"position":[[389,8]]},"125":{"position":[[367,10]]},"133":{"position":[[170,9],[257,10],[681,10]]},"143":{"position":[[502,9]]},"187":{"position":[[311,8]]}}}],["energi",{"_index":662,"t":{"113":{"position":[[200,6]]}}}],["enhanc",{"_index":674,"t":{"117":{"position":[[51,11]]}}}],["enotempti",{"_index":33,"t":{"4":{"position":[[243,9],[346,9],[371,10]]}}}],["enough",{"_index":765,"t":{"137":{"position":[[285,6]]},"141":{"position":[[215,6]]}}}],["ensur",{"_index":57,"t":{"6":{"position":[[77,6]]},"52":{"position":[[138,7]]},"153":{"position":[[382,7]]}}}],["enter",{"_index":81,"t":{"6":{"position":[[526,5]]},"8":{"position":[[83,5]]},"50":{"position":[[584,5],[1043,5]]},"62":{"position":[[8,5]]},"84":{"position":[[106,5],[298,5]]},"97":{"position":[[117,6],[242,5]]},"153":{"position":[[339,7]]},"189":{"position":[[23,5]]}}}],["env",{"_index":939,"t":{"189":{"position":[[201,3]]}}}],["environ",{"_index":133,"t":{"10":{"position":[[77,12]]},"145":{"position":[[217,11]]},"189":{"position":[[90,11],[161,11]]},"209":{"position":[[51,11]]},"229":{"position":[[347,13]]}}}],["episod",{"_index":900,"t":{"177":{"position":[[458,8]]},"201":{"position":[[393,7]]}}}],["equal",{"_index":1010,"t":{"203":{"position":[[123,6]]}}}],["error",{"_index":34,"t":{"4":{"position":[[253,6]]},"127":{"position":[[45,5],[142,6]]}}}],["error.log",{"_index":315,"t":{"36":{"position":[[344,9]]}}}],["esc",{"_index":425,"t":{"66":{"position":[[41,3]]},"115":{"position":[[121,3]]},"229":{"position":[[179,3]]},"235":{"position":[[116,5]]}}}],["escap",{"_index":534,"t":{"86":{"position":[[368,6]]}}}],["etc",{"_index":151,"t":{"10":{"position":[[302,5]]},"187":{"position":[[177,4]]}}}],["even",{"_index":757,"t":{"135":{"position":[[533,4]]}}}],["event",{"_index":1001,"t":{"201":{"position":[[417,6]]}}}],["everyth",{"_index":264,"t":{"20":{"position":[[33,11]]}}}],["exactli",{"_index":586,"t":{"95":{"position":[[254,7]]}}}],["exampl",{"_index":480,"t":{"78":{"position":[[92,8]]},"189":{"position":[[252,8]]}}}],["except",{"_index":493,"t":{"82":{"position":[[153,6]]},"125":{"position":[[346,6]]},"181":{"position":[[291,7]]}}}],["execut",{"_index":293,"t":{"30":{"position":[[38,9]]},"64":{"position":[[108,7]]},"66":{"position":[[28,7]]},"131":{"position":[[265,9]]},"137":{"position":[[317,10]]},"147":{"position":[[142,7],[150,7]]},"149":{"position":[[165,8]]},"171":{"position":[[41,7]]},"179":{"position":[[118,8],[461,10]]},"181":{"position":[[726,9]]},"225":{"position":[[81,9]]},"229":{"position":[[171,7]]},"239":{"position":[[69,10]]}}}],["exist",{"_index":399,"t":{"50":{"position":[[983,8]]},"153":{"position":[[277,5],[455,7]]},"167":{"position":[[86,8]]}}}],["exit",{"_index":150,"t":{"10":{"position":[[296,5]]},"12":{"position":[[311,4],[1857,4],[1862,4]]},"28":{"position":[[277,5]]},"56":{"position":[[110,5]]},"66":{"position":[[57,4]]},"68":{"position":[[248,4],[253,4]]},"111":{"position":[[171,4]]},"115":{"position":[[127,4]]},"229":{"position":[[192,4]]}}}],["expand",{"_index":1071,"t":{"237":{"position":[[0,8]]}}}],["experi",{"_index":1002,"t":{"201":{"position":[[428,11]]}}}],["expir",{"_index":503,"t":{"82":{"position":[[344,10],[703,10]]},"121":{"position":[[263,7],[299,7]]},"127":{"position":[[425,7]]}}}],["explicit",{"_index":439,"t":{"70":{"position":[[24,8]]}}}],["explicitli",{"_index":793,"t":{"141":{"position":[[326,11]]},"205":{"position":[[9,10]]}}}],["explor",{"_index":428,"t":{"66":{"position":[[94,8]]},"227":{"position":[[105,9]]}}}],["exponenti",{"_index":280,"t":{"28":{"position":[[195,11]]},"36":{"position":[[1158,11]]},"54":{"position":[[202,11]]}}}],["express",{"_index":949,"t":{"191":{"position":[[38,11]]}}}],["extend",{"_index":599,"t":{"95":{"position":[[695,8]]}}}],["extens",{"_index":1032,"t":{"211":{"position":[[26,10]]}}}],["extern",{"_index":545,"t":{"90":{"position":[[136,8]]},"125":{"position":[[197,11]]}}}],["extract",{"_index":964,"t":{"197":{"position":[[111,9]]},"199":{"position":[[0,10]]},"209":{"position":[[272,11]]}}}],["f",{"_index":65,"t":{"6":{"position":[[270,1]]},"18":{"position":[[155,2]]},"36":{"position":[[1410,2]]},"42":{"position":[[113,2]]},"56":{"position":[[240,2]]}}}],["fact",{"_index":966,"t":{"197":{"position":[[143,5]]},"199":{"position":[[56,5]]},"209":{"position":[[231,4]]}}}],["fail",{"_index":390,"t":{"50":{"position":[[554,6]]},"99":{"position":[[213,6]]},"183":{"position":[[108,6]]}}}],["failur",{"_index":324,"t":{"36":{"position":[[697,7]]},"46":{"position":[[361,8]]}}}],["fall",{"_index":680,"t":{"117":{"position":[[191,5]]},"183":{"position":[[66,5]]},"209":{"position":[[201,5]]}}}],["fallback",{"_index":147,"t":{"10":{"position":[[274,9]]}}}],["fals",{"_index":290,"t":{"28":{"position":[[380,5]]},"36":{"position":[[212,5]]},"163":{"position":[[227,5]]},"209":{"position":[[145,5]]}}}],["famili",{"_index":1063,"t":{"231":{"position":[[23,6]]}}}],["fast",{"_index":761,"t":{"135":{"position":[[604,4]]}}}],["featur",{"_index":567,"t":{"92":{"position":[[287,8]]},"127":{"position":[[100,8]]},"161":{"position":[[0,7]]}}}],["feedback",{"_index":655,"t":{"111":{"position":[[205,8]]},"235":{"position":[[50,9]]}}}],["fetch",{"_index":117,"t":{"8":{"position":[[247,7]]},"50":{"position":[[326,7],[508,8]]},"86":{"position":[[107,5]]},"127":{"position":[[542,5]]},"175":{"position":[[37,5]]}}}],["fetch_url",{"_index":796,"t":{"143":{"position":[[255,10]]},"175":{"position":[[27,9]]}}}],["fi",{"_index":642,"t":{"109":{"position":[[102,2]]}}}],["field",{"_index":105,"t":{"8":{"position":[[96,5]]},"76":{"position":[[47,7]]},"84":{"position":[[311,5]]},"97":{"position":[[261,5]]}}}],["file",{"_index":253,"t":{"16":{"position":[[99,4],[187,5]]},"22":{"position":[[99,5]]},"28":{"position":[[73,4],[317,5]]},"54":{"position":[[149,5]]},"68":{"position":[[91,4],[145,4],[217,6],[231,4]]},"74":{"position":[[235,5]]},"90":{"position":[[217,4]]},"125":{"position":[[220,4]]},"131":{"position":[[522,4]]},"139":{"position":[[686,4],[718,5]]},"151":{"position":[[97,4]]},"161":{"position":[[107,4]]},"167":{"position":[[44,4],[95,4],[139,4],[219,4],[312,4],[337,4]]},"173":{"position":[[63,4],[113,5]]},"181":{"position":[[113,4]]},"209":{"position":[[107,5]]}}}],["filesystem",{"_index":913,"t":{"181":{"position":[[626,10]]}}}],["file|al",{"_index":435,"t":{"68":{"position":[[124,10]]}}}],["fill",{"_index":104,"t":{"8":{"position":[[69,7]]},"76":{"position":[[23,4]]},"95":{"position":[[90,4]]}}}],["filter",{"_index":529,"t":{"86":{"position":[[190,6]]}}}],["fine",{"_index":496,"t":{"82":{"position":[[212,4]]}}}],["finish",{"_index":395,"t":{"50":{"position":[[836,6]]}}}],["first",{"_index":31,"t":{"4":{"position":[[226,5]]},"12":{"position":[[612,5],[2470,5]]},"44":{"position":[[32,5]]},"50":{"position":[[20,5],[662,5]]},"52":{"position":[[304,6]]},"64":{"position":[[74,6]]},"97":{"position":[[41,5]]},"119":{"position":[[246,6]]},"151":{"position":[[65,5]]},"153":{"position":[[71,5],[243,5]]},"155":{"position":[[45,5]]},"157":{"position":[[145,5]]},"181":{"position":[[452,5],[519,5]]},"213":{"position":[[3,5]]},"237":{"position":[[201,5]]}}}],["five",{"_index":454,"t":{"72":{"position":[[183,4]]}}}],["fix",{"_index":40,"t":{"4":{"position":[[356,3]]}}}],["flight",{"_index":231,"t":{"12":{"position":[[2055,6]]},"70":{"position":[[149,6]]},"135":{"position":[[233,6]]}}}],["flow",{"_index":128,"t":{"8":{"position":[[383,4]]},"50":{"position":[[715,5]]},"101":{"position":[[117,4]]},"113":{"position":[[18,4]]},"127":{"position":[[377,5]]},"153":{"position":[[129,4]]},"185":{"position":[[234,4]]},"225":{"position":[[64,5]]},"229":{"position":[[272,5]]}}}],["fo",{"_index":341,"t":{"36":{"position":[[1332,3]]},"42":{"position":[[35,3]]}}}],["focu",{"_index":791,"t":{"141":{"position":[[243,5]]}}}],["focus",{"_index":412,"t":{"60":{"position":[[63,7]]},"225":{"position":[[14,7]]}}}],["follow",{"_index":998,"t":{"201":{"position":[[342,6]]},"219":{"position":[[62,6]]}}}],["foreground",{"_index":61,"t":{"6":{"position":[[207,10],[227,10]]},"18":{"position":[[16,10]]},"44":{"position":[[212,10],[245,11]]},"56":{"position":[[16,10]]}}}],["format",{"_index":387,"t":{"50":{"position":[[489,6]]},"84":{"position":[[131,8],[284,7]]},"161":{"position":[[203,10]]}}}],["four",{"_index":475,"t":{"76":{"position":[[35,4]]}}}],["free",{"_index":571,"t":{"92":{"position":[[349,4]]},"127":{"position":[[123,4],[197,4]]}}}],["fresh",{"_index":272,"t":{"24":{"position":[[63,5]]},"127":{"position":[[474,5]]},"157":{"position":[[564,6]]},"227":{"position":[[625,5]]}}}],["full",{"_index":17,"t":{"4":{"position":[[61,4]]},"6":{"position":[[720,4]]},"12":{"position":[[174,4],[1759,4]]},"74":{"position":[[344,4]]},"82":{"position":[[736,5]]},"135":{"position":[[388,4]]},"143":{"position":[[451,4]]}}}],["fundament",{"_index":711,"t":{"129":{"position":[[206,14]]}}}],["g",{"_index":6,"t":{"2":{"position":[[55,1]]},"4":{"position":[[430,1]]}}}],["gain",{"_index":826,"t":{"153":{"position":[[420,4]]}}}],["gate",{"_index":1070,"t":{"235":{"position":[[173,5]]},"237":{"position":[[142,6]]}}}],["gemini",{"_index":946,"t":{"189":{"position":[[500,7]]}}}],["gener",{"_index":224,"t":{"12":{"position":[[1894,7]]},"46":{"position":[[149,9]]},"68":{"position":[[281,7]]},"82":{"position":[[567,8],[781,8]]},"199":{"position":[[383,9]]},"201":{"position":[[466,9]]},"205":{"position":[[159,9]]}}}],["git",{"_index":431,"t":{"66":{"position":[[117,3]]},"68":{"position":[[103,3]]},"179":{"position":[[171,3]]},"227":{"position":[[124,3]]}}}],["git_add",{"_index":870,"t":{"173":{"position":[[99,7]]}}}],["git_commit",{"_index":538,"t":{"88":{"position":[[32,11]]},"173":{"position":[[119,10]]}}}],["git_diff",{"_index":868,"t":{"173":{"position":[[49,8]]}}}],["git_log",{"_index":869,"t":{"173":{"position":[[76,7]]}}}],["git_push",{"_index":871,"t":{"173":{"position":[[146,8]]}}}],["git_statu",{"_index":867,"t":{"173":{"position":[[18,10]]}}}],["github",{"_index":444,"t":{"72":{"position":[[24,6],[188,6],[361,6]]},"74":{"position":[[403,6]]},"76":{"position":[[40,6]]},"78":{"position":[[5,6]]},"80":{"position":[[209,7]]},"82":{"position":[[54,6]]},"84":{"position":[[379,6]]},"86":{"position":[[345,6]]},"90":{"position":[[28,6],[167,6]]}}}],["github'",{"_index":494,"t":{"82":{"position":[[160,8]]},"88":{"position":[[185,8]]}}}],["github.com/settings/person",{"_index":499,"t":{"82":{"position":[[250,28]]}}}],["github.com/settings/tokens/new",{"_index":512,"t":{"82":{"position":[[625,30]]}}}],["github_api",{"_index":472,"t":{"74":{"position":[[366,10]]},"86":{"position":[[330,10]]}}}],["github_email",{"_index":487,"t":{"80":{"position":[[275,12]]}}}],["github_token",{"_index":461,"t":{"72":{"position":[[391,12]]}}}],["give",{"_index":501,"t":{"82":{"position":[[297,4],[656,4]]},"88":{"position":[[211,6]]},"99":{"position":[[265,4]]}}}],["global",{"_index":35,"t":{"4":{"position":[[288,8]]}}}],["go",{"_index":405,"t":{"54":{"position":[[110,2]]},"82":{"position":[[244,2],[619,2]]},"95":{"position":[[0,2],[472,2]]}}}],["goal",{"_index":967,"t":{"197":{"position":[[179,6]]},"201":{"position":[[125,4]]}}}],["googl",{"_index":945,"t":{"189":{"position":[[493,6]]}}}],["gpt",{"_index":920,"t":{"187":{"position":[[125,3],[152,3],[165,3],[333,3],[409,3]]}}}],["grain",{"_index":497,"t":{"82":{"position":[[217,7]]}}}],["grant",{"_index":507,"t":{"82":{"position":[[473,6]]},"95":{"position":[[440,5]]}}}],["grok",{"_index":378,"t":{"50":{"position":[[223,5]]},"187":{"position":[[262,4],[273,4]]}}}],["grok_api_key",{"_index":932,"t":{"187":{"position":[[280,12]]}}}],["group",{"_index":828,"t":{"153":{"position":[[644,6]]}}}],["grow",{"_index":963,"t":{"197":{"position":[[49,5]]}}}],["guidanc",{"_index":1073,"t":{"237":{"position":[[188,8]]}}}],["habit",{"_index":968,"t":{"197":{"position":[[196,7]]},"201":{"position":[[200,5]]}}}],["haiku",{"_index":929,"t":{"187":{"position":[[250,6]]}}}],["halt",{"_index":753,"t":{"135":{"position":[[320,5],[337,4],[400,4],[487,6]]},"137":{"position":[[206,4]]}}}],["hand",{"_index":670,"t":{"113":{"position":[[403,5]]}}}],["handl",{"_index":16,"t":{"4":{"position":[[49,7]]},"44":{"position":[[304,6]]},"92":{"position":[[235,7]]},"129":{"position":[[88,6]]}}}],["handoff",{"_index":1065,"t":{"231":{"position":[[163,7]]}}}],["hatch",{"_index":535,"t":{"86":{"position":[[375,5]]}}}],["head",{"_index":523,"t":{"86":{"position":[[68,4]]}}}],["heartbeat",{"_index":892,"t":{"177":{"position":[[212,10]]}}}],["help",{"_index":93,"t":{"6":{"position":[[706,4]]},"12":{"position":[[159,5]]},"74":{"position":[[82,5]]}}}],["here",{"_index":609,"t":{"99":{"position":[[410,5]]}}}],["higher",{"_index":1008,"t":{"203":{"position":[[92,6]]}}}],["highest",{"_index":1017,"t":{"205":{"position":[[34,8]]}}}],["histori",{"_index":541,"t":{"88":{"position":[[201,7]]},"173":{"position":[[91,7]]}}}],["hit",{"_index":473,"t":{"74":{"position":[[395,3]]}}}],["hook",{"_index":1068,"t":{"233":{"position":[[220,5]]}}}],["hotheadhack",{"_index":481,"t":{"78":{"position":[[101,13]]}}}],["hotheadhacker/mercuri",{"_index":515,"t":{"84":{"position":[[140,21]]}}}],["hour",{"_index":960,"t":{"195":{"position":[[56,5]]}}}],["html",{"_index":841,"t":{"161":{"position":[[198,4],[270,4]]},"175":{"position":[[68,5]]}}}],["http://127.0.0.1:8888/callback",{"_index":584,"t":{"95":{"position":[[205,30]]}}}],["https://example.com/mi",{"_index":1038,"t":{"215":{"position":[[50,22]]}}}],["https://github.com/hotheadhacker/mercuri",{"_index":516,"t":{"84":{"position":[[168,40]]}}}],["i'll",{"_index":771,"t":{"137":{"position":[[551,4]]}}}],["i'v",{"_index":741,"t":{"133":{"position":[[374,4]]}}}],["id",{"_index":184,"t":{"12":{"position":[[683,4],[756,4],[822,4],[889,4],[1877,3],[2116,4],[2176,4]]},"32":{"position":[[55,4],[83,4]]},"60":{"position":[[23,3]]},"70":{"position":[[239,4],[282,4]]},"95":{"position":[[317,2]]},"97":{"position":[[139,2],[161,2]]},"101":{"position":[[407,4]]},"119":{"position":[[307,3],[322,2]]},"121":{"position":[[198,3]]},"125":{"position":[[50,2]]},"137":{"position":[[243,2]]},"157":{"position":[[193,2]]},"225":{"position":[[60,3]]},"227":{"position":[[91,3]]},"233":{"position":[[135,5],[152,5]]}}}],["ident",{"_index":990,"t":{"201":{"position":[[26,8]]}}}],["identifi",{"_index":478,"t":{"78":{"position":[[62,11]]}}}],["idl",{"_index":705,"t":{"127":{"position":[[444,4]]}}}],["ignor",{"_index":830,"t":{"153":{"position":[[674,8]]}}}],["immedi",{"_index":510,"t":{"82":{"position":[[594,11],[808,11]]},"135":{"position":[[129,11],[587,11]]}}}],["implement",{"_index":420,"t":{"64":{"position":[[118,14]]},"147":{"position":[[158,9]]}}}],["import",{"_index":971,"t":{"199":{"position":[[101,11]]}}}],["improv",{"_index":1050,"t":{"227":{"position":[[35,8]]},"229":{"position":[[60,8],[207,8],[305,7]]}}}],["includ",{"_index":12,"t":{"4":{"position":[[8,8]]},"28":{"position":[[123,8]]},"54":{"position":[[173,8]]},"60":{"position":[[8,8]]},"80":{"position":[[44,8]]},"239":{"position":[[13,8]]}}}],["independ",{"_index":743,"t":{"133":{"position":[[493,14]]},"139":{"position":[[477,11]]},"141":{"position":[[258,11]]}}}],["indic",{"_index":837,"t":{"161":{"position":[[74,10]]}}}],["infer",{"_index":984,"t":{"199":{"position":[[490,8]]},"205":{"position":[[55,8]]}}}],["info",{"_index":241,"t":{"12":{"position":[[2397,7]]},"28":{"position":[[84,7]]},"50":{"position":[[923,7]]},"72":{"position":[[328,7]]},"92":{"position":[[253,7]]},"111":{"position":[[225,4]]},"121":{"position":[[172,4]]},"123":{"position":[[51,5]]},"153":{"position":[[235,7]]}}}],["initi",{"_index":827,"t":{"153":{"position":[[425,7]]},"163":{"position":[[44,7]]}}}],["inject",{"_index":977,"t":{"199":{"position":[[228,8]]}}}],["ink",{"_index":406,"t":{"56":{"position":[[75,3]]},"227":{"position":[[4,3]]}}}],["inlin",{"_index":143,"t":{"10":{"position":[[237,6]]},"117":{"position":[[17,6]]},"149":{"position":[[293,6]]},"151":{"position":[[115,6]]},"161":{"position":[[275,6]]},"181":{"position":[[479,6]]},"207":{"position":[[83,6],[150,6],[282,6],[345,6],[422,6]]},"227":{"position":[[437,6]]},"235":{"position":[[179,6]]}}}],["input",{"_index":1061,"t":{"229":{"position":[[322,5]]}}}],["insid",{"_index":355,"t":{"44":{"position":[[257,6]]},"115":{"position":[[0,6]]}}}],["insight",{"_index":1003,"t":{"201":{"position":[[476,8]]}}}],["inspect",{"_index":294,"t":{"32":{"position":[[25,7]]},"70":{"position":[[186,7]]}}}],["instal",{"_index":4,"t":{"2":{"position":[[30,7],[99,11]]},"4":{"position":[[260,8],[516,10]]},"6":{"position":[[44,7],[780,7],[788,7]]},"12":{"position":[[1075,9]]},"20":{"position":[[45,8]]},"36":{"position":[[36,7],[527,7],[1005,7]]},"46":{"position":[[0,7],[110,7]]},"52":{"position":[[76,8],[274,9],[292,8]]},"175":{"position":[[102,7],[162,9]]},"177":{"position":[[302,9]]},"215":{"position":[[30,8]]},"227":{"position":[[631,9]]}}}],["install_skil",{"_index":875,"t":{"175":{"position":[[88,13]]}}}],["instanc",{"_index":835,"t":{"159":{"position":[[159,8]]},"187":{"position":[[448,8]]}}}],["instead",{"_index":47,"t":{"4":{"position":[[462,7]]},"50":{"position":[[598,7]]}}}],["integr",{"_index":582,"t":{"95":{"position":[[179,11]]},"133":{"position":[[43,11],[230,11],[730,11]]},"143":{"position":[[553,11]]},"227":{"position":[[282,11]]},"233":{"position":[[28,11]]}}}],["interact",{"_index":62,"t":{"6":{"position":[[238,13]]},"44":{"position":[[411,11]]},"56":{"position":[[182,11]]},"101":{"position":[[289,11]]},"111":{"position":[[40,11]]},"227":{"position":[[14,11]]}}}],["interfac",{"_index":404,"t":{"54":{"position":[[94,10]]},"56":{"position":[[83,10]]},"151":{"position":[[71,9]]}}}],["interrupt",{"_index":912,"t":{"181":{"position":[[343,13]]},"231":{"position":[[174,11]]}}}],["introduc",{"_index":1062,"t":{"231":{"position":[[0,10]]}}}],["investig",{"_index":792,"t":{"141":{"position":[[270,14]]}}}],["invok",{"_index":878,"t":{"175":{"position":[[196,6]]}}}],["involv",{"_index":813,"t":{"149":{"position":[[87,8]]}}}],["isn't",{"_index":274,"t":{"24":{"position":[[96,5]]},"52":{"position":[[268,5]]},"129":{"position":[[8,5]]}}}],["isol",{"_index":721,"t":{"131":{"position":[[318,8]]},"139":{"position":[[87,9],[153,9]]},"141":{"position":[[131,8]]}}}],["issu",{"_index":449,"t":{"72":{"position":[[91,7]]},"74":{"position":[[193,5],[224,7]]},"82":{"position":[[537,6]]},"84":{"position":[[51,6]]},"86":{"position":[[197,6],[284,5]]},"127":{"position":[[0,5]]}}}],["it'",{"_index":267,"t":{"20":{"position":[[150,4]]},"52":{"position":[[146,4]]},"82":{"position":[[90,4]]},"88":{"position":[[231,4]]},"90":{"position":[[318,4]]},"129":{"position":[[31,4]]},"137":{"position":[[572,4]]},"149":{"position":[[288,4]]}}}],["iterm",{"_index":679,"t":{"117":{"position":[[162,5]]},"235":{"position":[[228,5]]}}}],["itself",{"_index":693,"t":{"121":{"position":[[292,6]]},"131":{"position":[[375,6]]}}}],["job",{"_index":799,"t":{"143":{"position":[[645,4]]}}}],["journalctl",{"_index":330,"t":{"36":{"position":[[848,10]]}}}],["jsonl",{"_index":1027,"t":{"209":{"position":[[243,7]]}}}],["keep",{"_index":82,"t":{"6":{"position":[[535,4]]},"8":{"position":[[105,4]]},"14":{"position":[[77,4]]},"34":{"position":[[215,4]]},"50":{"position":[[1052,4]]},"84":{"position":[[320,4]]},"97":{"position":[[270,4]]},"113":{"position":[[245,4],[338,5],[456,4]]},"131":{"position":[[455,4]]},"143":{"position":[[8,4]]}}}],["keepal",{"_index":310,"t":{"36":{"position":[[185,9]]},"46":{"position":[[284,9]]}}}],["key",{"_index":110,"t":{"8":{"position":[[163,4]]},"12":{"position":[[278,3]]},"50":{"position":[[313,4],[467,4],[594,3],[938,4],[996,4],[1091,3]]},"101":{"position":[[319,3]]},"111":{"position":[[58,3]]},"149":{"position":[[266,3]]},"181":{"position":[[413,3]]},"187":{"position":[[27,3],[424,3]]},"189":{"position":[[33,4],[222,4],[361,3],[695,4]]},"207":{"position":[[63,3],[132,3],[188,3],[265,3],[327,3],[385,3]]}}}],["keybind",{"_index":146,"t":{"10":{"position":[[263,10]]}}}],["keyboard",{"_index":822,"t":{"151":{"position":[[131,10]]},"161":{"position":[[282,9]]},"181":{"position":[[486,8]]},"227":{"position":[[152,8]]},"235":{"position":[[66,8]]}}}],["label",{"_index":530,"t":{"86":{"position":[[238,6],[308,7]]}}}],["languag",{"_index":229,"t":{"12":{"position":[[1985,8]]},"113":{"position":[[436,8]]},"135":{"position":[[167,8]]}}}],["last",{"_index":69,"t":{"6":{"position":[[390,4]]},"26":{"position":[[23,4]]},"183":{"position":[[160,4]]}}}],["later",{"_index":182,"t":{"12":{"position":[[636,5],[2585,5]]},"123":{"position":[[88,6]]}}}],["latest",{"_index":21,"t":{"4":{"position":[[129,6],[273,6]]}}}],["launch",{"_index":652,"t":{"111":{"position":[[28,8]]}}}],["launchag",{"_index":306,"t":{"36":{"position":[[54,11],[263,12]]},"46":{"position":[[254,11]]}}}],["launchctl",{"_index":309,"t":{"36":{"position":[[154,9],[373,9],[441,9]]},"38":{"position":[[0,9],[68,9]]}}}],["learn",{"_index":1022,"t":{"207":{"position":[[250,8],[312,8]]}}}],["leav",{"_index":459,"t":{"72":{"position":[[294,7]]},"209":{"position":[[408,6]]}}}],["legitim",{"_index":825,"t":{"153":{"position":[[399,10]]}}}],["let",{"_index":384,"t":{"50":{"position":[[362,4]]},"70":{"position":[[325,4]]},"72":{"position":[[254,7]]},"74":{"position":[[382,4]]},"149":{"position":[[192,4]]}}}],["level",{"_index":313,"t":{"36":{"position":[[257,5],[740,5]]},"185":{"position":[[290,5]]}}}],["librari",{"_index":629,"t":{"105":{"position":[[319,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":307,"t":{"36":{"position":[[69,53],[388,52],[458,52]]},"38":{"position":[[15,52],[85,52]]}}}],["lifecycl",{"_index":1054,"t":{"227":{"position":[[272,9]]},"233":{"position":[[51,10],[210,9]]}}}],["like",{"_index":1014,"t":{"203":{"position":[[170,7]]}}}],["limit",{"_index":130,"t":{"8":{"position":[[427,5]]},"36":{"position":[[1205,7],[1229,8]]},"92":{"position":[[505,11]]}}}],["line",{"_index":71,"t":{"6":{"position":[[399,5]]},"26":{"position":[[32,5]]}}}],["linger",{"_index":328,"t":{"36":{"position":[[799,6]]},"46":{"position":[[494,6]]}}}],["link",{"_index":605,"t":{"97":{"position":[[365,4]]}}}],["linux",{"_index":304,"t":{"36":{"position":[[6,5]]},"46":{"position":[[313,5],[443,6]]}}}],["list",{"_index":176,"t":{"12":{"position":[[456,4],[520,4],[1030,4],[1070,4],[1446,4],[2085,4],[2264,4]]},"32":{"position":[[42,4]]},"34":{"position":[[179,5]]},"36":{"position":[[1336,4]]},"42":{"position":[[39,4]]},"70":{"position":[[179,4]]},"86":{"position":[[181,4]]},"101":{"position":[[360,4]]},"105":{"position":[[141,4]]},"135":{"position":[[28,4],[275,4],[280,4]]},"143":{"position":[[631,4]]},"157":{"position":[[37,4]]},"167":{"position":[[262,4]]},"175":{"position":[[157,4]]},"233":{"position":[[125,5]]}}}],["list_ag",{"_index":763,"t":{"137":{"position":[[141,11]]}}}],["list_dir",{"_index":746,"t":{"133":{"position":[[604,9]]},"139":{"position":[[286,9]]},"167":{"position":[[253,8]]}}}],["list_issu",{"_index":528,"t":{"86":{"position":[[169,11]]}}}],["list_scheduled_task",{"_index":883,"t":{"175":{"position":[[301,20]]}}}],["list_skil",{"_index":876,"t":{"175":{"position":[[145,11]]}}}],["live",{"_index":690,"t":{"121":{"position":[[84,6],[127,6]]},"127":{"position":[[551,4]]},"177":{"position":[[17,5]]},"211":{"position":[[42,4]]},"227":{"position":[[249,4]]}}}],["llm",{"_index":372,"t":{"50":{"position":[[158,3]]},"131":{"position":[[343,3]]},"145":{"position":[[175,4]]},"183":{"position":[[19,3]]}}}],["lo",{"_index":641,"t":{"109":{"position":[[98,3]]}}}],["load",{"_index":190,"t":{"12":{"position":[[1049,6]]},"36":{"position":[[135,5],[164,4],[383,4]]},"38":{"position":[[10,4]]},"219":{"position":[[157,6]]}}}],["local",{"_index":381,"t":{"50":{"position":[[250,6]]},"82":{"position":[[102,7]]},"99":{"position":[[141,7]]},"117":{"position":[[156,5]]},"119":{"position":[[87,8]]},"125":{"position":[[303,8]]},"187":{"position":[[403,5],[435,5]]},"189":{"position":[[339,5],[443,5]]},"209":{"position":[[332,7]]},"235":{"position":[[234,5]]}}}],["lock",{"_index":725,"t":{"131":{"position":[[527,5],[549,5]]},"135":{"position":[[434,6]]},"139":{"position":[[691,5],[741,4]]}}}],["log",{"_index":68,"t":{"6":{"position":[[380,4],[415,4],[975,7]]},"26":{"position":[[8,4]]},"28":{"position":[[69,3]]},"36":{"position":[[294,5],[817,5],[1238,5]]},"54":{"position":[[105,4]]},"58":{"position":[[48,4]]},"95":{"position":[[38,3]]},"177":{"position":[[553,4]]}}}],["login",{"_index":308,"t":{"36":{"position":[[144,5],[767,6]]},"46":{"position":[[278,5],[344,5],[463,5]]},"74":{"position":[[255,5]]}}}],["loginctl",{"_index":327,"t":{"36":{"position":[[783,8]]},"46":{"position":[[478,8]]}}}],["logon",{"_index":334,"t":{"36":{"position":[[1100,5]]},"46":{"position":[[419,5]]}}}],["logout",{"_index":613,"t":{"101":{"position":[[224,6]]},"123":{"position":[[9,6]]}}}],["long",{"_index":301,"t":{"34":{"position":[[245,4]]},"70":{"position":[[365,4]]},"121":{"position":[[122,4]]},"127":{"position":[[439,4]]},"177":{"position":[[447,4]]},"209":{"position":[[221,4]]},"227":{"position":[[200,4]]},"231":{"position":[[186,4]]}}}],["loop",{"_index":288,"t":{"28":{"position":[[300,6]]},"139":{"position":[[505,4]]},"181":{"position":[[313,4]]}}}],["low",{"_index":986,"t":{"199":{"position":[[515,3]]}}}],["ls",{"_index":906,"t":{"179":{"position":[[162,3]]}}}],["machin",{"_index":546,"t":{"90":{"position":[[197,8]]},"99":{"position":[[157,7]]},"125":{"position":[[174,7]]},"209":{"position":[[420,8]]}}}],["maco",{"_index":303,"t":{"36":{"position":[[0,5]]},"46":{"position":[[248,5]]}}}],["made",{"_index":996,"t":{"201":{"position":[[292,4]]}}}],["main",{"_index":758,"t":{"135":{"position":[[548,4]]},"139":{"position":[[15,4],[424,4]]},"141":{"position":[[178,4]]},"177":{"position":[[108,4]]}}}],["major",{"_index":1045,"t":{"225":{"position":[[27,5]]}}}],["make",{"_index":450,"t":{"72":{"position":[[103,6]]}}}],["manag",{"_index":169,"t":{"12":{"position":[[358,10],[2302,6]]},"36":{"position":[[361,11],[884,11],[1285,11]]},"72":{"position":[[82,8],[266,6]]},"74":{"position":[[199,10]]},"92":{"position":[[84,6]]},"95":{"position":[[505,10]]},"137":{"position":[[28,6]]},"239":{"position":[[109,11]]}}}],["manual",{"_index":45,"t":{"4":{"position":[[432,9]]},"6":{"position":[[725,6]]},"12":{"position":[[179,6]]},"36":{"position":[[354,6],[877,6],[1278,6]]},"101":{"position":[[134,6]]},"127":{"position":[[365,6]]},"145":{"position":[[136,8],[192,8],[394,6]]},"205":{"position":[[110,6]]}}}],["mark",{"_index":158,"t":{"12":{"position":[[89,6]]}}}],["markdown",{"_index":842,"t":{"161":{"position":[[214,8]]},"211":{"position":[[11,8]]},"229":{"position":[[98,8]]}}}],["mask",{"_index":112,"t":{"8":{"position":[[178,7]]},"50":{"position":[[931,6],[1011,6]]}}}],["match",{"_index":585,"t":{"95":{"position":[[248,5]]},"109":{"position":[[342,5]]},"209":{"position":[[256,5]]}}}],["max",{"_index":731,"t":{"131":{"position":[[622,3]]},"145":{"position":[[339,3]]}}}],["maxconcurr",{"_index":802,"t":{"145":{"position":[[79,14]]}}}],["mean",{"_index":540,"t":{"88":{"position":[[135,5]]},"189":{"position":[[607,5]]}}}],["member",{"_index":180,"t":{"12":{"position":[[554,7],[856,6],[931,6]]},"153":{"position":[[58,8]]},"155":{"position":[[149,6]]},"157":{"position":[[64,8],[322,6],[373,6],[441,6],[539,8]]},"161":{"position":[[418,8]]}}}],["memori",{"_index":237,"t":{"12":{"position":[[2285,7],[2322,6]]},"177":{"position":[[467,6]]},"197":{"position":[[37,6]]},"199":{"position":[[188,8],[404,8],[460,8],[499,8],[538,8],[577,8]]},"203":{"position":[[30,8]]},"205":{"position":[[129,7]]},"207":{"position":[[4,7],[117,8]]}}}],["memory.secondbrain.en",{"_index":1025,"t":{"209":{"position":[[117,27]]}}}],["menu",{"_index":163,"t":{"12":{"position":[[247,5],[2712,5]]},"149":{"position":[[270,5]]},"161":{"position":[[487,4],[533,4]]},"181":{"position":[[417,4]]},"207":{"position":[[67,4],[136,4],[192,4],[269,4],[331,4],[389,4]]}}}],["mercuri",{"_index":0,"t":{"2":{"position":[[0,7]]},"4":{"position":[[0,7],[80,7],[446,7]]},"6":{"position":[[20,7],[92,7],[125,7],[140,7],[191,7],[272,7],[309,7],[325,7],[356,7],[372,7],[420,7],[482,7],[555,7],[643,7],[698,7],[764,7],[835,7],[890,7],[940,7]]},"8":{"position":[[0,7],[239,7],[433,7]]},"10":{"position":[[90,7]]},"12":{"position":[[38,8],[1637,7]]},"14":{"position":[[0,7]]},"16":{"position":[[0,7],[21,7]]},"18":{"position":[[0,7],[32,7],[140,7]]},"20":{"position":[[0,7],[127,7]]},"22":{"position":[[0,7]]},"24":{"position":[[0,7]]},"26":{"position":[[0,7]]},"28":{"position":[[0,7],[147,7]]},"34":{"position":[[220,7]]},"36":{"position":[[20,7],[511,7],[869,7],[919,7],[951,7],[981,7],[989,7]]},"40":{"position":[[23,7],[55,7],[85,7]]},"44":{"position":[[0,7],[138,7],[228,8],[332,10]]},"46":{"position":[[8,7],[94,7]]},"48":{"position":[[0,7],[23,7]]},"50":{"position":[[4,7],[134,10],[318,7],[561,7],[680,7],[874,11],[967,7]]},"52":{"position":[[20,7],[54,7],[164,7],[178,7],[206,7]]},"54":{"position":[[0,7],[21,7]]},"56":{"position":[[0,7],[32,7],[225,7],[298,7]]},"58":{"position":[[64,7]]},"60":{"position":[[0,7]]},"62":{"position":[[119,7]]},"72":{"position":[[0,7],[422,7]]},"74":{"position":[[143,7],[301,7],[387,7]]},"76":{"position":[[4,7],[55,7]]},"80":{"position":[[6,7],[71,7]]},"82":{"position":[[20,7],[318,7],[677,7]]},"84":{"position":[[215,7]]},"88":{"position":[[5,7],[87,7]]},"92":{"position":[[0,7],[227,7],[523,7]]},"95":{"position":[[109,7],[157,7]]},"97":{"position":[[4,7],[23,7],[60,7]]},"99":{"position":[[6,7],[122,7],[252,7],[439,7]]},"103":{"position":[[20,7]]},"109":{"position":[[13,7],[52,7]]},"117":{"position":[[0,7]]},"119":{"position":[[61,7],[112,7],[196,7],[352,7]]},"121":{"position":[[0,7]]},"125":{"position":[[312,7]]},"127":{"position":[[529,7]]},"129":{"position":[[0,7],[192,7]]},"131":{"position":[[94,7],[367,7],[474,7]]},"133":{"position":[[62,7],[365,8]]},"137":{"position":[[0,7],[251,7]]},"141":{"position":[[0,7],[318,7]]},"143":{"position":[[32,7]]},"149":{"position":[[27,7],[111,7],[197,7]]},"151":{"position":[[0,7]]},"153":{"position":[[0,7],[582,7]]},"157":{"position":[[20,7],[94,7],[196,7],[261,7],[329,7],[389,7],[481,7]]},"159":{"position":[[151,7]]},"163":{"position":[[26,7],[323,7]]},"165":{"position":[[0,7]]},"177":{"position":[[26,11]]},"179":{"position":[[0,7]]},"181":{"position":[[18,7],[76,7],[228,7]]},"183":{"position":[[34,7],[115,7]]},"185":{"position":[[71,8],[332,7]]},"189":{"position":[[4,7]]},"191":{"position":[[0,7]]},"193":{"position":[[5,7]]},"197":{"position":[[0,7]]},"199":{"position":[[38,7],[251,7],[320,7]]},"203":{"position":[[5,7]]},"205":{"position":[[74,7]]},"207":{"position":[[225,7]]},"209":{"position":[[193,7]]},"213":{"position":[[14,7],[145,7]]},"215":{"position":[[5,7]]},"221":{"position":[[20,7]]},"227":{"position":[[560,8]]},"239":{"position":[[125,7]]}}}],["mercury'",{"_index":457,"t":{"72":{"position":[[226,9]]},"74":{"position":[[22,9]]},"80":{"position":[[161,9]]},"88":{"position":[[141,9]]},"113":{"position":[[0,9]]},"147":{"position":[[26,9]]},"189":{"position":[[557,9]]}}}],["mercury.servic",{"_index":322,"t":{"36":{"position":[[654,15]]}}}],["mercury/.env",{"_index":486,"t":{"80":{"position":[[248,15]]},"82":{"position":[[113,15]]}}}],["mercury/daemon",{"_index":314,"t":{"36":{"position":[[326,17]]}}}],["mercury/daemon.log",{"_index":257,"t":{"16":{"position":[[154,22]]},"26":{"position":[[41,22]]},"36":{"position":[[300,21],[823,21]]},"54":{"position":[[116,22]]},"177":{"position":[[519,21]]}}}],["mercury/daemon.pid",{"_index":254,"t":{"16":{"position":[[107,22]]},"177":{"position":[[474,21]]}}}],["mercury/memori",{"_index":899,"t":{"177":{"position":[[416,18]]}}}],["mercury/memory/second",{"_index":1029,"t":{"209":{"position":[[343,24]]}}}],["mercury/mercury.yaml",{"_index":544,"t":{"90":{"position":[[52,23]]},"121":{"position":[[38,24]]},"125":{"position":[[85,24]]},"145":{"position":[[29,24]]},"177":{"position":[[84,23]]},"189":{"position":[[129,24]]},"209":{"position":[[154,23]]}}}],["mercury/permissions.yaml",{"_index":893,"t":{"177":{"position":[[223,27]]},"179":{"position":[[312,27]]}}}],["mercury/schedules.yaml",{"_index":896,"t":{"177":{"position":[[319,25]]},"195":{"position":[[101,25]]}}}],["mercury/skil",{"_index":895,"t":{"177":{"position":[[283,18]]}}}],["mercury/skills/<name>/skill.md",{"_index":1033,"t":{"211":{"position":[[50,34]]}}}],["mercury/skills/web",{"_index":1035,"t":{"213":{"position":[[60,21]]}}}],["mercury/soul/*.md",{"_index":888,"t":{"177":{"position":[[150,20]]}}}],["mercury/token",{"_index":897,"t":{"177":{"position":[[361,16]]}}}],["[email protected]",{"_index":483,"t":{"80":{"position":[[79,25]]},"88":{"position":[[95,25]]}}}],["mercury_spotify_art=1",{"_index":677,"t":{"117":{"position":[[107,21]]},"235":{"position":[[204,23]]}}}],["mercuryag",{"_index":332,"t":{"36":{"position":[[1057,13],[1317,14],[1359,14],[1395,14]]},"42":{"position":[[20,14],[62,14],[98,14]]}}}],["messag",{"_index":199,"t":{"12":{"position":[[1199,7]]},"68":{"position":[[176,9]]},"139":{"position":[[5,7]]},"143":{"position":[[55,8],[138,8]]},"153":{"position":[[632,8]]},"155":{"position":[[187,8]]},"169":{"position":[[49,7]]},"181":{"position":[[525,8]]},"199":{"position":[[160,8]]}}}],["method",{"_index":366,"t":{"46":{"position":[[200,6]]},"99":{"position":[[63,7],[71,6]]}}}],["mini",{"_index":922,"t":{"187":{"position":[[132,4],[159,5]]}}}],["minim",{"_index":419,"t":{"64":{"position":[[81,7]]}}}],["minimal/detail",{"_index":1059,"t":{"229":{"position":[[6,16]]}}}],["minut",{"_index":669,"t":{"113":{"position":[[370,8]]},"195":{"position":[[17,7]]},"199":{"position":[[311,8]]}}}],["mismatch",{"_index":1013,"t":{"203":{"position":[[159,10]]}}}],["mistral",{"_index":947,"t":{"189":{"position":[[508,8]]}}}],["mkf",{"_index":904,"t":{"179":{"position":[[103,4]]}}}],["mobil",{"_index":820,"t":{"151":{"position":[[58,6]]}}}],["mode",{"_index":63,"t":{"6":{"position":[[252,5]]},"10":{"position":[[182,4]]},"12":{"position":[[1396,4],[1881,4]]},"28":{"position":[[118,4]]},"30":{"position":[[7,4]]},"44":{"position":[[223,4]]},"56":{"position":[[156,5],[270,5]]},"60":{"position":[[43,4]]},"62":{"position":[[24,4]]},"64":{"position":[[16,5],[133,4]]},"66":{"position":[[14,4],[36,4]]},"68":{"position":[[66,4],[268,4]]},"70":{"position":[[10,4]]},"95":{"position":[[357,4],[412,4]]},"107":{"position":[[275,4]]},"113":{"position":[[47,4]]},"129":{"position":[[167,5]]},"133":{"position":[[106,4]]},"137":{"position":[[395,4]]},"145":{"position":[[155,5]]},"147":{"position":[[48,4],[77,4],[244,5],[278,4]]},"167":{"position":[[434,4]]},"177":{"position":[[548,4]]},"181":{"position":[[58,5],[561,4],[619,4]]},"227":{"position":[[95,4]]},"229":{"position":[[288,4]]},"235":{"position":[[95,4]]},"237":{"position":[[47,4]]}}}],["model",{"_index":115,"t":{"8":{"position":[[213,6],[255,6]]},"12":{"position":[[1438,7],[1497,5],[1520,7],[1585,7],[1626,6]]},"50":{"position":[[278,5],[351,6],[527,7],[538,5]]},"153":{"position":[[36,5]]},"161":{"position":[[396,5]]},"185":{"position":[[80,7],[136,5],[142,7],[195,5],[201,7]]},"187":{"position":[[17,5],[381,6]]},"189":{"position":[[241,6],[449,6]]},"227":{"position":[[467,5],[492,9],[502,7]]},"239":{"position":[[157,7],[183,6]]}}}],["model/provid",{"_index":212,"t":{"12":{"position":[[1570,14]]}}}],["models/provid",{"_index":208,"t":{"12":{"position":[[1462,16]]}}}],["monday",{"_index":954,"t":{"193":{"position":[[112,6]]}}}],["more",{"_index":374,"t":{"50":{"position":[[188,5]]},"95":{"position":[[652,4]]},"189":{"position":[[471,4]]},"197":{"position":[[208,5]]}}}],["mount",{"_index":358,"t":{"44":{"position":[[326,5]]}}}],["move",{"_index":230,"t":{"12":{"position":[[2035,4]]},"34":{"position":[[55,4]]},"70":{"position":[[134,4]]},"113":{"position":[[469,7]]},"135":{"position":[[217,4]]},"233":{"position":[[83,4]]}}}],["multi",{"_index":737,"t":{"133":{"position":[[94,5]]},"137":{"position":[[383,5]]},"161":{"position":[[365,5]]}}}],["multipl",{"_index":413,"t":{"62":{"position":[[32,8]]},"131":{"position":[[277,8]]},"141":{"position":[[249,8]]},"183":{"position":[[10,8]]}}}],["music",{"_index":556,"t":{"92":{"position":[[77,6],[216,6]]},"103":{"position":[[53,6]]},"109":{"position":[[37,6],[82,6]]}}}],["n",{"_index":203,"t":{"12":{"position":[[1335,3]]},"115":{"position":[[33,1]]},"235":{"position":[[100,3]]}}}],["name",{"_index":161,"t":{"12":{"position":[[205,5]]},"36":{"position":[[1051,5]]},"50":{"position":[[69,4],[115,4]]},"82":{"position":[[307,4],[666,4]]},"84":{"position":[[253,4]]},"95":{"position":[[103,5]]},"101":{"position":[[61,5]]},"121":{"position":[[187,5]]},"127":{"position":[[495,4]]},"175":{"position":[[214,4]]},"201":{"position":[[57,5]]}}}],["nativ",{"_index":553,"t":{"92":{"position":[[41,8]]}}}],["natur",{"_index":228,"t":{"12":{"position":[[1977,7]]},"72":{"position":[[144,7]]},"92":{"position":[[133,7]]},"109":{"position":[[21,9]]},"113":{"position":[[428,7]]},"135":{"position":[[159,7]]},"141":{"position":[[44,9]]},"199":{"position":[[275,10]]}}}],["navig",{"_index":1053,"t":{"227":{"position":[[161,11]]}}}],["need",{"_index":265,"t":{"20":{"position":[[76,7]]},"24":{"position":[[124,4]]},"36":{"position":[[244,7],[727,7],[1187,7]]},"46":{"position":[[518,5]]},"52":{"position":[[107,7]]},"80":{"position":[[131,6]]},"82":{"position":[[4,4]]},"95":{"position":[[647,4],[679,4]]},"127":{"position":[[55,4]]},"163":{"position":[[68,4]]},"173":{"position":[[170,6]]},"181":{"position":[[146,4]]},"187":{"position":[[428,6]]}}}],["negat",{"_index":1012,"t":{"203":{"position":[[150,8]]}}}],["never",{"_index":490,"t":{"82":{"position":[[66,5],[133,5]]},"90":{"position":[[118,5]]},"119":{"position":[[69,5]]},"125":{"position":[[184,5],[320,5]]},"179":{"position":[[112,5]]}}}],["new",{"_index":50,"t":{"4":{"position":[[531,3]]},"8":{"position":[[134,3]]},"12":{"position":[[2370,3]]},"50":{"position":[[1087,3]]},"86":{"position":[[280,3]]},"121":{"position":[[146,3]]},"153":{"position":[[463,3]]},"159":{"position":[[51,4]]},"167":{"position":[[135,3]]},"227":{"position":[[0,3],[455,3],[527,3]]}}}],["new_str",{"_index":857,"t":{"167":{"position":[[242,10]]}}}],["newer",{"_index":1011,"t":{"203":{"position":[[134,5]]}}}],["next",{"_index":633,"t":{"107":{"position":[[126,4]]},"111":{"position":[[114,4]]},"113":{"position":[[362,4]]},"115":{"position":[[37,4]]},"131":{"position":[[216,5]]},"183":{"position":[[133,4]]}}}],["next/previ",{"_index":660,"t":{"113":{"position":[[170,13]]}}}],["node.j",{"_index":2,"t":{"2":{"position":[[17,7]]},"10":{"position":[[147,7]]}}}],["non",{"_index":131,"t":{"10":{"position":[[24,3]]},"131":{"position":[[432,3]]}}}],["none",{"_index":123,"t":{"8":{"position":[[314,4]]},"163":{"position":[[294,4]]}}}],["normal",{"_index":422,"t":{"64":{"position":[[160,6]]},"133":{"position":[[531,9]]},"143":{"position":[[22,9]]},"147":{"position":[[195,6]]}}}],["note",{"_index":1042,"t":{"221":{"position":[[36,5]]}}}],["noth",{"_index":397,"t":{"50":{"position":[[888,7]]},"209":{"position":[[400,7]]}}}],["notif",{"_index":785,"t":{"139":{"position":[[638,12]]},"143":{"position":[[125,12]]},"181":{"position":[[696,12]]}}}],["notifi",{"_index":772,"t":{"137":{"position":[[556,6]]}}}],["now",{"_index":570,"t":{"92":{"position":[[328,3]]},"101":{"position":[[439,3]]},"115":{"position":[[109,3]]},"133":{"position":[[138,3],[207,3]]},"137":{"position":[[427,3]]}}}],["npm",{"_index":5,"t":{"2":{"position":[[43,4],[48,3]]},"4":{"position":[[117,3],[423,3]]}}}],["npx",{"_index":11,"t":{"2":{"position":[[111,3]]}}}],["number",{"_index":809,"t":{"145":{"position":[[343,6]]}}}],["o3",{"_index":924,"t":{"187":{"position":[[173,3]]}}}],["oauth",{"_index":612,"t":{"101":{"position":[[111,5]]}}}],["old",{"_index":29,"t":{"4":{"position":[[214,3],[487,3]]}}}],["old_str",{"_index":856,"t":{"167":{"position":[[230,11]]}}}],["ollama",{"_index":379,"t":{"50":{"position":[[229,6],[243,6]]},"187":{"position":[[320,6],[374,6],[396,6],[441,6]]},"189":{"position":[[332,6]]}}}],["ollama_cloud_api_key",{"_index":934,"t":{"187":{"position":[[346,20]]}}}],["ollama_local_enabled=tru",{"_index":943,"t":{"189":{"position":[[376,25]]}}}],["ollama_local_model",{"_index":944,"t":{"189":{"position":[[406,18]]}}}],["on",{"_index":51,"t":{"4":{"position":[[535,4]]},"12":{"position":[[1277,3],[2145,3]]},"20":{"position":[[16,3]]},"24":{"position":[[69,4]]},"46":{"position":[[507,4]]},"50":{"position":[[181,3]]},"68":{"position":[[141,3]]},"131":{"position":[[43,3],[63,3]]},"143":{"position":[[682,3]]},"153":{"position":[[612,4],[620,4]]},"157":{"position":[[458,3]]},"175":{"position":[[269,3]]},"183":{"position":[[138,3]]},"191":{"position":[[53,3]]},"203":{"position":[[110,3],[140,3]]},"229":{"position":[[255,3]]}}}],["on/off",{"_index":195,"t":{"12":{"position":[[1131,8]]},"107":{"position":[[242,6]]}}}],["onboard",{"_index":369,"t":{"50":{"position":[[36,10]]},"163":{"position":[[52,11]]}}}],["onc",{"_index":329,"t":{"36":{"position":[[812,4]]},"62":{"position":[[106,4]]},"153":{"position":[[441,4]]}}}],["open",{"_index":164,"t":{"12":{"position":[[263,4],[344,4]]},"62":{"position":[[94,4]]},"68":{"position":[[24,4],[36,4]]},"74":{"position":[[180,5],[219,4]]},"86":{"position":[[220,6]]},"99":{"position":[[90,4],[208,4],[288,4]]},"119":{"position":[[221,4]]},"127":{"position":[[259,4],[343,4]]}}}],["open/refresh/stage/commit/undo/exit",{"_index":1064,"t":{"231":{"position":[[35,36]]}}}],["openai",{"_index":376,"t":{"50":{"position":[[204,7],[260,6]]},"187":{"position":[[118,6],[293,6],[475,6],[532,6]]},"189":{"position":[[567,6]]}}}],["openai_api_key",{"_index":923,"t":{"187":{"position":[[137,14]]}}}],["openai_compat_api_key",{"_index":937,"t":{"187":{"position":[[506,21]]}}}],["oper",{"_index":441,"t":{"70":{"position":[[370,10]]},"233":{"position":[[172,11]]}}}],["oppos",{"_index":1004,"t":{"203":{"position":[[21,8]]}}}],["option",{"_index":168,"t":{"12":{"position":[[316,7]]},"50":{"position":[[409,9]]},"137":{"position":[[124,8]]},"227":{"position":[[428,8]]}}}],["opu",{"_index":930,"t":{"187":{"position":[[257,4]]}}}],["orchestr",{"_index":707,"t":{"129":{"position":[[39,13]]},"139":{"position":[[26,14]]}}}],["order",{"_index":914,"t":{"183":{"position":[[56,5]]}}}],["organ",{"_index":823,"t":{"153":{"position":[[16,12]]},"161":{"position":[[383,12]]}}}],["os",{"_index":135,"t":{"10":{"position":[[129,2]]}}}],["oss:120b",{"_index":933,"t":{"187":{"position":[[337,8]]}}}],["oss:20b",{"_index":935,"t":{"187":{"position":[[413,7]]}}}],["otherwis",{"_index":159,"t":{"12":{"position":[[96,10]]}}}],["output",{"_index":256,"t":{"16":{"position":[[144,6]]},"18":{"position":[[112,6]]}}}],["over",{"_index":1018,"t":{"205":{"position":[[99,4]]}}}],["overrid",{"_index":200,"t":{"12":{"position":[[1248,8],[1257,8]]},"145":{"position":[[238,10]]}}}],["overview",{"_index":1020,"t":{"207":{"position":[[48,8],[74,8],[101,8]]}}}],["overwrit",{"_index":1037,"t":{"213":{"position":[[162,9]]}}}],["owner",{"_index":518,"t":{"84":{"position":[[238,5]]},"153":{"position":[[410,5]]}}}],["p",{"_index":671,"t":{"115":{"position":[[48,1]]},"235":{"position":[[104,2]]}}}],["packag",{"_index":30,"t":{"4":{"position":[[218,7],[491,7]]}}}],["page",{"_index":589,"t":{"95":{"position":[[295,5]]},"231":{"position":[[110,4]]}}}],["pair",{"_index":126,"t":{"8":{"position":[[370,7]]},"12":{"position":[[618,7],[1002,7],[2414,7],[2506,7]]},"50":{"position":[[707,7],[767,7]]},"147":{"position":[[11,4]]},"153":{"position":[[116,7],[254,7],[313,7]]},"155":{"position":[[59,5]]},"157":{"position":[[151,7]]},"159":{"position":[[30,5]]}}}],["pane",{"_index":429,"t":{"66":{"position":[[103,4],[121,4]]}}}],["panel",{"_index":1052,"t":{"227":{"position":[[128,6]]},"235":{"position":[[25,5]]}}}],["parallel",{"_index":708,"t":{"129":{"position":[[66,8]]},"131":{"position":[[256,8]]},"133":{"position":[[403,8]]},"137":{"position":[[308,8]]},"149":{"position":[[96,8]]}}}],["paralleliz",{"_index":788,"t":{"141":{"position":[[54,14]]}}}],["paramet",{"_index":608,"t":{"99":{"position":[[346,9]]},"167":{"position":[[18,10]]},"169":{"position":[[18,10]]},"171":{"position":[[18,10]]}}}],["parent",{"_index":854,"t":{"167":{"position":[[153,6]]}}}],["pars",{"_index":517,"t":{"84":{"position":[[228,5]]}}}],["part",{"_index":814,"t":{"149":{"position":[[132,5]]}}}],["parti",{"_index":344,"t":{"44":{"position":[[38,5]]},"237":{"position":[[207,5]]}}}],["pass",{"_index":750,"t":{"133":{"position":[[748,8]]},"143":{"position":[[403,11]]}}}],["past",{"_index":125,"t":{"8":{"position":[[343,5]]},"50":{"position":[[804,5],[1079,5]]},"97":{"position":[[144,5],[200,5]]},"99":{"position":[[165,5],[331,5],[393,6]]},"101":{"position":[[189,6]]},"127":{"position":[[406,6]]},"215":{"position":[[86,5]]}}}],["pat",{"_index":498,"t":{"82":{"position":[[225,3],[614,4]]},"84":{"position":[[353,3]]},"90":{"position":[[11,3],[35,3]]}}}],["path",{"_index":95,"t":{"6":{"position":[[757,6]]},"28":{"position":[[78,5]]},"62":{"position":[[99,6]]},"68":{"position":[[29,6]]},"135":{"position":[[609,5]]},"167":{"position":[[58,4],[100,5],[166,5],[224,5],[286,4],[317,4],[368,4],[428,5]]},"171":{"position":[[125,4]]},"177":{"position":[[71,4]]}}}],["pattern",{"_index":657,"t":{"113":{"position":[[52,7]]},"199":{"position":[[427,9]]},"201":{"position":[[225,8],[490,8]]},"205":{"position":[[66,7]]}}}],["paus",{"_index":572,"t":{"92":{"position":[[396,6]]},"107":{"position":[[90,5]]},"109":{"position":[[250,7]]},"179":{"position":[[237,5]]},"207":{"position":[[244,5],[276,5],[299,5]]}}}],["pend",{"_index":170,"t":{"12":{"position":[[374,7],[438,7],[461,7],[707,7],[2634,7]]},"143":{"position":[[573,7]]},"153":{"position":[[497,7]]},"155":{"position":[[222,7],[283,7]]},"157":{"position":[[77,7],[169,7],[238,7],[548,9]]},"179":{"position":[[201,7]]}}}],["peopl",{"_index":1000,"t":{"201":{"position":[[370,6]]}}}],["perfect",{"_index":595,"t":{"95":{"position":[[599,7]]}}}],["perman",{"_index":865,"t":{"171":{"position":[[146,11]]},"179":{"position":[[272,11]]}}}],["permiss",{"_index":204,"t":{"12":{"position":[[1365,12],[1385,10]]},"56":{"position":[[194,10]]},"82":{"position":[[435,11],[460,12]]},"139":{"position":[[550,10]]},"179":{"position":[[25,10]]},"181":{"position":[[47,10],[538,12]]},"219":{"position":[[119,11]]},"229":{"position":[[224,10]]}}}],["persist",{"_index":359,"t":{"44":{"position":[[346,10]]},"52":{"position":[[62,13]]},"119":{"position":[[325,8]]},"171":{"position":[[101,9]]},"185":{"position":[[357,9]]},"195":{"position":[[90,7]]},"197":{"position":[[14,11]]}}}],["person",{"_index":596,"t":{"95":{"position":[[611,8]]},"177":{"position":[[177,11]]}}}],["persona",{"_index":890,"t":{"177":{"position":[[196,8]]}}}],["phone",{"_index":682,"t":{"119":{"position":[[32,6]]}}}],["phone/comput",{"_index":702,"t":{"127":{"position":[[280,15]]}}}],["photo",{"_index":838,"t":{"161":{"position":[[120,7]]}}}],["pick",{"_index":643,"t":{"109":{"position":[[113,5]]}}}],["picker",{"_index":166,"t":{"12":{"position":[[290,6]]},"229":{"position":[[235,6]]}}}],["pid",{"_index":75,"t":{"6":{"position":[[466,4]]},"16":{"position":[[95,3],[183,3]]},"20":{"position":[[194,4]]},"22":{"position":[[95,3]]},"28":{"position":[[56,4],[313,3]]},"52":{"position":[[248,4]]},"54":{"position":[[145,3]]},"177":{"position":[[515,3]]}}}],["ping",{"_index":958,"t":{"195":{"position":[[42,5]]}}}],["plan",{"_index":417,"t":{"64":{"position":[[49,4]]},"66":{"position":[[9,4]]},"101":{"position":[[67,5]]},"121":{"position":[[202,4]]},"147":{"position":[[97,4],[102,4]]},"149":{"position":[[11,4],[69,5],[82,4]]},"229":{"position":[[159,4]]}}}],["platform",{"_index":85,"t":{"6":{"position":[[572,8],[592,8]]},"10":{"position":[[6,8],[107,8]]},"46":{"position":[[136,8],[191,8]]},"227":{"position":[[531,8],[578,10]]},"237":{"position":[[82,8]]}}}],["play",{"_index":563,"t":{"92":{"position":[[199,5],[332,8],[389,6]]},"101":{"position":[[466,7]]},"105":{"position":[[117,7]]},"107":{"position":[[31,4]]},"109":{"position":[[65,5],[127,5],[278,5],[332,5],[400,9]]},"113":{"position":[[315,4]]},"115":{"position":[[113,7]]},"119":{"position":[[8,5],[75,5],[103,8]]},"127":{"position":[[296,4]]}}}],["play/paus",{"_index":653,"t":{"111":{"position":[[89,10]]}}}],["play/pause/skip",{"_index":700,"t":{"127":{"position":[[152,15]]}}}],["playback",{"_index":554,"t":{"92":{"position":[[60,9],[372,8]]},"107":{"position":[[96,8],[335,8]]},"113":{"position":[[125,8]]},"127":{"position":[[72,8],[208,8]]}}}],["player",{"_index":615,"t":{"101":{"position":[[282,6],[301,6]]},"111":{"position":[[13,6],[62,6]]},"113":{"position":[[91,7],[392,6]]},"115":{"position":[[19,6],[132,6]]},"235":{"position":[[88,6]]},"237":{"position":[[111,6]]}}}],["playlist",{"_index":557,"t":{"92":{"position":[[91,10],[317,10]]},"105":{"position":[[65,9],[275,9]]},"107":{"position":[[55,8]]},"109":{"position":[[287,8],[321,10]]}}}],["plist",{"_index":367,"t":{"46":{"position":[[266,5]]}}}],["point",{"_index":818,"t":{"149":{"position":[[233,6]]},"185":{"position":[[218,6]]}}}],["polici",{"_index":357,"t":{"44":{"position":[[319,6]]}}}],["pollut",{"_index":782,"t":{"139":{"position":[[458,7]]},"141":{"position":[[159,9]]}}}],["posit",{"_index":291,"t":{"28":{"position":[[386,10]]}}}],["post",{"_index":470,"t":{"74":{"position":[[328,5]]},"86":{"position":[[148,4]]}}}],["pr",{"_index":448,"t":{"72":{"position":[[77,4]]},"74":{"position":[[119,2],[190,2],[290,2]]},"86":{"position":[[115,2]]}}}],["practic",{"_index":656,"t":{"113":{"position":[[34,9]]}}}],["pre",{"_index":103,"t":{"8":{"position":[[65,3]]}}}],["prefer",{"_index":354,"t":{"44":{"position":[[205,6]]},"80":{"position":[[295,6]]},"119":{"position":[[375,9]]},"189":{"position":[[433,9]]},"197":{"position":[[166,12]]},"201":{"position":[[80,10]]},"203":{"position":[[45,8],[69,8]]}}}],["premium",{"_index":566,"t":{"92":{"position":[[269,7],[460,7]]},"127":{"position":[[24,7],[60,7],[226,7]]}}}],["premium/fre",{"_index":692,"t":{"121":{"position":[[207,14]]}}}],["present",{"_index":812,"t":{"149":{"position":[[59,7],[205,7]]}}}],["press",{"_index":80,"t":{"6":{"position":[[520,5]]},"8":{"position":[[77,5]]},"50":{"position":[[1037,5]]},"56":{"position":[[94,5]]},"84":{"position":[[292,5]]},"97":{"position":[[236,5]]}}}],["prevent",{"_index":32,"t":{"4":{"position":[[235,7]]},"28":{"position":[[286,7],[354,7]]},"131":{"position":[[555,7]]}}}],["preview",{"_index":1051,"t":{"227":{"position":[[115,8]]}}}],["previou",{"_index":635,"t":{"107":{"position":[[162,8]]},"111":{"position":[[102,8]]},"115":{"position":[[52,8]]}}}],["primari",{"_index":403,"t":{"54":{"position":[[86,7]]}}}],["print",{"_index":134,"t":{"10":{"position":[[121,7]]}}}],["privat",{"_index":243,"t":{"12":{"position":[[2448,7]]},"50":{"position":[[440,7]]},"82":{"position":[[753,7]]},"153":{"position":[[563,7],[604,7]]}}}],["privileg",{"_index":336,"t":{"36":{"position":[[1213,10]]}}}],["process",{"_index":67,"t":{"6":{"position":[[317,7],[364,7]]},"16":{"position":[[77,8]]},"22":{"position":[[71,7]]},"135":{"position":[[577,9]]},"143":{"position":[[40,9]]},"177":{"position":[[507,7]]},"185":{"position":[[319,8]]}}}],["process.kil",{"_index":270,"t":{"22":{"position":[[27,13]]}}}],["profil",{"_index":980,"t":{"199":{"position":[[337,7]]}}}],["program",{"_index":415,"t":{"64":{"position":[[4,11]]},"147":{"position":[[36,11]]}}}],["progress",{"_index":215,"t":{"12":{"position":[[1665,8],[1726,8],[1764,8]]},"56":{"position":[[162,8]]},"109":{"position":[[460,8]]},"111":{"position":[[236,8]]},"117":{"position":[[39,11]]},"139":{"position":[[621,8]]},"143":{"position":[[91,8],[686,8]]},"219":{"position":[[169,11]]}}}],["progress/complet",{"_index":296,"t":{"34":{"position":[[106,19]]},"233":{"position":[[235,19]]}}}],["project",{"_index":398,"t":{"50":{"position":[[904,7]]},"177":{"position":[[52,7]]},"197":{"position":[[186,9]]},"201":{"position":[[164,7]]}}}],["promot",{"_index":186,"t":{"12":{"position":[[814,7],[837,7]]},"157":{"position":[[346,7],[363,7]]},"199":{"position":[[610,8]]}}}],["promote/demot",{"_index":832,"t":{"155":{"position":[[101,14]]}}}],["prompt",{"_index":409,"t":{"56":{"position":[[205,8]]},"97":{"position":[[80,8]]},"113":{"position":[[262,7],[445,7]]},"181":{"position":[[331,8],[458,7]]}}}],["provid",{"_index":74,"t":{"6":{"position":[[448,10]]},"8":{"position":[[199,9]]},"12":{"position":[[211,9],[1532,10]]},"50":{"position":[[162,9],[458,8]]},"151":{"position":[[46,9]]},"177":{"position":[[120,11]]},"183":{"position":[[23,10],[99,8],[176,9]]},"185":{"position":[[107,9],[154,10],[262,9]]},"187":{"position":[[0,8],[93,9]]},"189":{"position":[[46,9],[188,8],[476,9],[527,9],[585,8],[648,9]]},"227":{"position":[[514,12]]}}}],["provider/model",{"_index":915,"t":{"185":{"position":[[26,14]]},"239":{"position":[[94,14]]}}}],["prune",{"_index":234,"t":{"12":{"position":[[2224,5]]},"199":{"position":[[437,7]]}}}],["publish",{"_index":22,"t":{"4":{"position":[[136,9]]}}}],["pull",{"_index":446,"t":{"72":{"position":[[52,4]]},"74":{"position":[[93,4]]},"82":{"position":[[506,4]]},"86":{"position":[[37,4]]},"199":{"position":[[46,5]]}}}],["purpos",{"_index":887,"t":{"177":{"position":[[76,7]]}}}],["push",{"_index":465,"t":{"74":{"position":[[168,7]]},"173":{"position":[[155,4]]}}}],["python",{"_index":1007,"t":{"203":{"position":[[78,9]]}}}],["queri",{"_index":339,"t":{"36":{"position":[[1306,6]]},"42":{"position":[[9,6]]}}}],["queue",{"_index":577,"t":{"92":{"position":[[434,6]]},"107":{"position":[[344,5]]},"109":{"position":[[489,6]]},"111":{"position":[[163,5]]},"113":{"position":[[99,5],[276,6]]},"135":{"position":[[376,5],[419,6]]}}}],["quick",{"_index":848,"t":{"161":{"position":[[542,5]]}}}],["quickli",{"_index":659,"t":{"113":{"position":[[157,7]]}}}],["quota",{"_index":600,"t":{"95":{"position":[[704,5]]}}}],["ram",{"_index":734,"t":{"131":{"position":[[688,3]]}}}],["random",{"_index":392,"t":{"50":{"position":[[619,6]]}}}],["rare",{"_index":694,"t":{"121":{"position":[[307,7]]}}}],["raw",{"_index":533,"t":{"86":{"position":[[341,3]]},"229":{"position":[[284,3]]}}}],["re",{"_index":91,"t":{"6":{"position":[[657,2]]},"8":{"position":[[15,2]]},"50":{"position":[[581,2]]}}}],["read",{"_index":468,"t":{"74":{"position":[[309,5]]},"82":{"position":[[491,4],[522,4],[546,4]]},"92":{"position":[[277,4]]},"127":{"position":[[90,4]]},"167":{"position":[[39,4]]}}}],["read/writ",{"_index":861,"t":{"167":{"position":[[395,10]]}}}],["read_fil",{"_index":744,"t":{"133":{"position":[[561,10],[614,9]]},"139":{"position":[[234,10]]},"143":{"position":[[214,10],[530,10]]},"167":{"position":[[29,9]]}}}],["reader",{"_index":726,"t":{"131":{"position":[[535,6]]}}}],["real",{"_index":654,"t":{"111":{"position":[[195,4]]},"161":{"position":[[35,4]]},"163":{"position":[[259,4]]}}}],["receiv",{"_index":246,"t":{"12":{"position":[[2495,8]]},"50":{"position":[[784,7]]},"155":{"position":[[200,7]]},"181":{"position":[[686,7]]}}}],["recent",{"_index":1021,"t":{"207":{"position":[[110,6],[143,6],[168,6]]}}}],["recipi",{"_index":862,"t":{"169":{"position":[[78,10]]}}}],["recommend",{"_index":54,"t":{"6":{"position":[[31,12]]},"50":{"position":[[334,11]]},"52":{"position":[[7,12]]},"82":{"position":[[229,14]]},"99":{"position":[[103,13]]}}}],["reconfigur",{"_index":78,"t":{"6":{"position":[[497,11]]},"50":{"position":[[948,13]]}}}],["reconnect",{"_index":695,"t":{"123":{"position":[[78,9]]}}}],["recoveri",{"_index":278,"t":{"28":{"position":[[98,8]]},"36":{"position":[[175,9],[676,9],[1125,9]]},"46":{"position":[[239,8]]},"54":{"position":[[188,8]]}}}],["recur",{"_index":880,"t":{"175":{"position":[[249,9]]}}}],["redirect",{"_index":255,"t":{"16":{"position":[[134,9]]},"95":{"position":[[191,8]]},"99":{"position":[[365,8]]}}}],["refer",{"_index":978,"t":{"199":{"position":[[259,10]]},"231":{"position":[[135,11]]}}}],["reflect",{"_index":982,"t":{"199":{"position":[[393,10]]},"201":{"position":[[440,10]]},"205":{"position":[[169,11]]},"233":{"position":[[258,9]]}}}],["refresh",{"_index":432,"t":{"68":{"position":[[75,7],[83,7]]},"115":{"position":[[101,7]]},"121":{"position":[[96,9],[106,7],[229,7],[278,7]]},"125":{"position":[[272,7]]}}}],["regist",{"_index":455,"t":{"72":{"position":[[205,10],[475,10]]},"84":{"position":[[392,10]]},"161":{"position":[[504,10]]}}}],["reinforc",{"_index":989,"t":{"199":{"position":[[586,10]]}}}],["reject",{"_index":183,"t":{"12":{"position":[[676,6],[698,6],[2680,8]]},"153":{"position":[[227,7],[540,7]]},"157":{"position":[[213,6],[229,6]]}}}],["relationship",{"_index":999,"t":{"201":{"position":[[349,12]]}}}],["releas",{"_index":755,"t":{"135":{"position":[[426,7]]},"221":{"position":[[28,7]]},"225":{"position":[[0,7]]},"239":{"position":[[5,7]]}}}],["relev",{"_index":974,"t":{"199":{"position":[[179,8]]}}}],["reliabl",{"_index":1047,"t":{"225":{"position":[[91,12]]},"229":{"position":[[328,11]]}}}],["remain",{"_index":676,"t":{"117":{"position":[[72,7]]},"157":{"position":[[473,7]]}}}],["rememb",{"_index":688,"t":{"119":{"position":[[360,9]]},"183":{"position":[[146,9]]}}}],["remind",{"_index":950,"t":{"193":{"position":[[30,7]]},"195":{"position":[[0,7]]},"219":{"position":[[0,7]]}}}],["remot",{"_index":386,"t":{"50":{"position":[[423,6]]},"173":{"position":[[163,6]]},"187":{"position":[[367,6]]}}}],["remov",{"_index":28,"t":{"4":{"position":[[202,7],[475,7]]},"12":{"position":[[749,6]]},"22":{"position":[[83,7]]},"157":{"position":[[278,6],[294,6]]}}}],["renam",{"_index":44,"t":{"4":{"position":[[403,6]]}}}],["render",{"_index":678,"t":{"117":{"position":[[139,8]]},"229":{"position":[[107,9]]}}}],["repeat",{"_index":576,"t":{"92":{"position":[[426,7]]},"107":{"position":[[268,6]]},"111":{"position":[[143,6]]}}}],["replac",{"_index":108,"t":{"8":{"position":[[147,7]]},"50":{"position":[[1098,7]]},"167":{"position":[[201,7]]}}}],["repo",{"_index":506,"t":{"82":{"position":[[423,5],[725,4]]},"84":{"position":[[81,4],[248,4]]},"237":{"position":[[238,5]]}}}],["report",{"_index":784,"t":{"139":{"position":[[613,7]]}}}],["repositori",{"_index":347,"t":{"44":{"position":[[66,10]]},"60":{"position":[[52,10]]},"62":{"position":[[163,11]]},"72":{"position":[[273,12]]},"82":{"position":[[361,10],[391,12],[449,10],[761,13]]},"84":{"position":[[14,10]]},"86":{"position":[[209,10]]}}}],["request",{"_index":171,"t":{"12":{"position":[[382,9],[485,8],[658,7],[731,7],[1281,7],[2642,9]]},"72":{"position":[[57,9]]},"74":{"position":[[98,8]]},"82":{"position":[[511,8]]},"86":{"position":[[42,7]]},"95":{"position":[[687,7]]},"153":{"position":[[165,7],[505,7]]},"155":{"position":[[29,9],[91,9]]},"157":{"position":[[85,8],[177,7],[253,7]]},"159":{"position":[[36,7]]},"167":{"position":[[387,7]]}}}],["requir",{"_index":1,"t":{"2":{"position":[[8,8]]},"46":{"position":[[207,8],[469,8]]},"92":{"position":[[441,8]]},"127":{"position":[[35,9]]},"189":{"position":[[345,8]]}}}],["research",{"_index":714,"t":{"131":{"position":[[105,9]]},"141":{"position":[[76,9]]}}}],["reselect",{"_index":116,"t":{"8":{"position":[[227,11]]}}}],["reset",{"_index":174,"t":{"12":{"position":[[414,5],[948,5],[1297,5],[1303,5],[2352,5]]},"135":{"position":[[393,6]]},"155":{"position":[[127,5]]},"157":{"position":[[498,5]]},"159":{"position":[[116,5]]},"181":{"position":[[377,6]]}}}],["resolv",{"_index":1015,"t":{"203":{"position":[[220,8]]}}}],["resourc",{"_index":729,"t":{"131":{"position":[[605,8]]}}}],["respect",{"_index":786,"t":{"139":{"position":[[677,8]]}}}],["respond",{"_index":777,"t":{"139":{"position":[[200,8]]}}}],["respons",{"_index":196,"t":{"12":{"position":[[1172,9]]},"34":{"position":[[228,10]]},"137":{"position":[[365,8]]},"155":{"position":[[208,10]]},"161":{"position":[[45,8]]},"195":{"position":[[151,9]]},"229":{"position":[[79,14]]}}}],["rest",{"_index":565,"t":{"92":{"position":[[247,5]]},"133":{"position":[[14,4],[161,4],[658,5]]},"143":{"position":[[493,4]]}}}],["restart",{"_index":66,"t":{"6":{"position":[[280,7],[288,7]]},"12":{"position":[[994,7]]},"24":{"position":[[8,7],[137,8]]},"28":{"position":[[167,8]]},"36":{"position":[[218,8]]},"44":{"position":[[311,7]]},"46":{"position":[[75,8],[294,8]]},"181":{"position":[[387,8]]},"185":{"position":[[60,10]]},"195":{"position":[[142,8]]}}}],["restart=on",{"_index":323,"t":{"36":{"position":[[686,10]]},"46":{"position":[[350,10]]}}}],["restor",{"_index":961,"t":{"195":{"position":[[131,7]]}}}],["restrict",{"_index":579,"t":{"92":{"position":[[531,12]]}}}],["result",{"_index":644,"t":{"109":{"position":[[206,7]]},"131":{"position":[[158,8]]},"133":{"position":[[801,7]]}}}],["resum",{"_index":1023,"t":{"207":{"position":[[305,6],[338,6],[362,6]]}}}],["retriev",{"_index":965,"t":{"197":{"position":[[133,9]]},"199":{"position":[[136,9]]}}}],["return",{"_index":421,"t":{"64":{"position":[[150,6]]},"175":{"position":[[53,6]]}}}],["revamp",{"_index":1056,"t":{"227":{"position":[[374,6]]}}}],["revert",{"_index":438,"t":{"68":{"position":[[224,6]]}}}],["review",{"_index":447,"t":{"72":{"position":[[67,9]]},"74":{"position":[[273,6],[282,7]]},"86":{"position":[[124,6],[153,6]]},"131":{"position":[[147,6]]},"133":{"position":[[790,6]]}}}],["review_pr",{"_index":526,"t":{"86":{"position":[[97,9]]}}}],["revok",{"_index":185,"t":{"12":{"position":[[771,6]]}}}],["rf",{"_index":903,"t":{"179":{"position":[[97,2]]}}}],["right",{"_index":275,"t":{"24":{"position":[[110,5]]},"161":{"position":[[188,5]]}}}],["rl",{"_index":337,"t":{"36":{"position":[[1224,4]]}}}],["rm",{"_index":902,"t":{"179":{"position":[[93,2]]}}}],["road",{"_index":646,"t":{"109":{"position":[[296,4]]}}}],["roadmap",{"_index":948,"t":{"189":{"position":[[548,8]]}}}],["role",{"_index":173,"t":{"12":{"position":[[403,6]]},"155":{"position":[[0,4]]},"201":{"position":[[63,5]]}}}],["rotat",{"_index":548,"t":{"90":{"position":[[286,6]]}}}],["rout",{"_index":962,"t":{"195":{"position":[[161,5]]}}}],["routin",{"_index":994,"t":{"201":{"position":[[238,8]]}}}],["rule",{"_index":894,"t":{"177":{"position":[[277,5]]},"201":{"position":[[316,5]]}}}],["run",{"_index":9,"t":{"2":{"position":[[87,3]]},"4":{"position":[[174,8],[415,7]]},"6":{"position":[[84,7],[660,3]]},"8":{"position":[[18,4]]},"10":{"position":[[18,3]]},"12":{"position":[[1921,3],[1971,3],[2190,7]]},"14":{"position":[[8,4]]},"18":{"position":[[27,4]]},"20":{"position":[[138,8],[163,8]]},"24":{"position":[[26,7]]},"28":{"position":[[43,8],[371,8]]},"34":{"position":[[250,7]]},"36":{"position":[[774,3],[1195,4],[1350,4]]},"42":{"position":[[53,4]]},"44":{"position":[[134,3]]},"50":{"position":[[0,3]]},"52":{"position":[[50,3],[151,8],[197,8]]},"56":{"position":[[27,4],[248,7]]},"70":{"position":[[296,7],[381,3]]},"76":{"position":[[0,3]]},"97":{"position":[[0,3],[344,3]]},"99":{"position":[[18,4],[133,7]]},"121":{"position":[[315,3]]},"123":{"position":[[57,3]]},"127":{"position":[[449,3],[512,3]]},"131":{"position":[[292,3]]},"135":{"position":[[48,8],[153,3]]},"137":{"position":[[162,7],[222,7]]},"139":{"position":[[469,4]]},"143":{"position":[[514,7]]},"179":{"position":[[182,3]]},"181":{"position":[[602,3]]},"185":{"position":[[311,7]]},"189":{"position":[[0,3]]},"213":{"position":[[9,4]]},"219":{"position":[[27,3]]},"227":{"position":[[205,7]]}}}],["run_command",{"_index":797,"t":{"143":{"position":[[354,11]]},"171":{"position":[[29,11]]}}}],["runtim",{"_index":356,"t":{"44":{"position":[[296,7]]},"177":{"position":[[4,7]]},"185":{"position":[[44,7]]},"227":{"position":[[459,7]]}}}],["safe",{"_index":905,"t":{"179":{"position":[[143,4]]},"235":{"position":[[168,4]]}}}],["same",{"_index":58,"t":{"6":{"position":[[116,5],[681,5]]},"139":{"position":[[519,4],[545,4]]}}}],["save",{"_index":587,"t":{"95":{"position":[[268,4]]},"101":{"position":[[260,5]]},"105":{"position":[[298,4]]},"141":{"position":[[291,4]]},"219":{"position":[[195,4]]}}}],["schedul",{"_index":236,"t":{"12":{"position":[[2269,9]]},"14":{"position":[[61,9]]},"36":{"position":[[1036,9]]},"46":{"position":[[392,9]]},"175":{"position":[[240,8],[291,9],[331,9],[347,9],[388,9],[403,9]]},"177":{"position":[[345,9]]},"181":{"position":[[579,9]]},"191":{"position":[[12,8]]},"193":{"position":[[79,9]]}}}],["schedule_task",{"_index":879,"t":{"175":{"position":[[226,13]]}}}],["schtask",{"_index":335,"t":{"36":{"position":[[1110,8],[1297,8],[1341,8],[1374,8]]},"42":{"position":[[0,8],[44,8],[77,8]]},"46":{"position":[[402,10]]}}}],["scope",{"_index":513,"t":{"82":{"position":[[730,5]]},"139":{"position":[[607,5]]},"161":{"position":[[310,5]]},"181":{"position":[[165,5],[264,7]]},"199":{"position":[[454,5]]},"201":{"position":[[5,5]]}}}],["score",{"_index":973,"t":{"199":{"position":[[128,7]]}}}],["scratch",{"_index":189,"t":{"12":{"position":[[1015,7]]}}}],["search",{"_index":555,"t":{"92":{"position":[[70,6],[296,8]]},"105":{"position":[[33,6]]},"109":{"position":[[89,8],[307,8]]},"111":{"position":[[153,6]]},"167":{"position":[[190,6]]},"207":{"position":[[175,6],[199,6],[236,7]]},"209":{"position":[[236,6]]},"213":{"position":[[43,6],[131,6]]},"227":{"position":[[608,6]]},"237":{"position":[[161,6]]}}}],["search/skill.md",{"_index":1036,"t":{"213":{"position":[[82,15]]}}}],["second",{"_index":238,"t":{"12":{"position":[[2309,6]]},"28":{"position":[[265,8]]},"209":{"position":[[0,6]]}}}],["second_brain_enabled=fals",{"_index":1024,"t":{"209":{"position":[[73,26]]}}}],["secret",{"_index":591,"t":{"95":{"position":[[331,6]]},"97":{"position":[[191,6],[217,6]]},"125":{"position":[[64,6]]}}}],["section",{"_index":1041,"t":{"221":{"position":[[5,7]]}}}],["see",{"_index":41,"t":{"4":{"position":[[367,3]]},"18":{"position":[[108,3]]},"58":{"position":[[38,3]]},"84":{"position":[[372,4]]},"97":{"position":[[314,4]]},"137":{"position":[[359,3]]},"143":{"position":[[443,3]]},"155":{"position":[[273,3]]}}}],["seed",{"_index":1034,"t":{"213":{"position":[[22,5]]},"227":{"position":[[597,6]]}}}],["select",{"_index":382,"t":{"50":{"position":[[284,9]]},"82":{"position":[[380,6],[714,6]]}}}],["send",{"_index":245,"t":{"12":{"position":[[2481,5],[2611,4]]},"22":{"position":[[13,5]]},"50":{"position":[[721,4]]},"125":{"position":[[326,5]]},"143":{"position":[[422,4]]},"153":{"position":[[183,7],[288,7],[473,4]]},"155":{"position":[[182,4]]},"167":{"position":[[332,4]]},"169":{"position":[[42,4]]}}}],["send_fil",{"_index":859,"t":{"167":{"position":[[322,9]]}}}],["send_messag",{"_index":845,"t":{"161":{"position":[[427,12]]},"169":{"position":[[29,12]]}}}],["sent",{"_index":491,"t":{"82":{"position":[[139,4]]},"90":{"position":[[124,4]]},"155":{"position":[[230,4]]},"161":{"position":[[174,4]]}}}],["separ",{"_index":364,"t":{"44":{"position":[[396,10]]},"235":{"position":[[128,8]]}}}],["sequenti",{"_index":716,"t":{"131":{"position":[[180,12]]}}}],["server",{"_index":938,"t":{"187":{"position":[[550,6]]},"193":{"position":[[71,7]]}}}],["servic",{"_index":55,"t":{"6":{"position":[[52,7],[772,7],[806,7],[843,7],[882,7],[898,7],[925,7]]},"20":{"position":[[65,7]]},"36":{"position":[[28,7],[519,7],[746,7],[997,7]]},"46":{"position":[[28,7],[102,7],[175,7]]},"48":{"position":[[8,7],[31,7]]},"52":{"position":[[96,7],[260,7]]},"90":{"position":[[145,7]]}}}],["session",{"_index":211,"t":{"12":{"position":[[1512,7],[1562,7]]},"113":{"position":[[237,7]]},"117":{"position":[[168,8]]},"119":{"position":[[341,8]]},"181":{"position":[[3,7],[368,8]]},"185":{"position":[[187,7],[282,7]]},"235":{"position":[[240,10]]},"239":{"position":[[175,7]]}}}],["set",{"_index":79,"t":{"6":{"position":[[509,8]]},"12":{"position":[[1331,3],[1714,3],[1755,3]]},"80":{"position":[[267,7]]},"82":{"position":[[337,3],[696,3]]},"84":{"position":[[0,3],[360,4]]},"95":{"position":[[286,8],[489,8]]},"101":{"position":[[412,3]]},"107":{"position":[[192,3],[264,3]]},"109":{"position":[[348,4]]},"113":{"position":[[465,3]]},"119":{"position":[[261,3]]},"145":{"position":[[132,3]]},"163":{"position":[[12,3]]},"189":{"position":[[86,3],[372,3],[661,7]]},"209":{"position":[[113,3]]}}}],["setup",{"_index":90,"t":{"6":{"position":[[651,5],[668,5]]},"8":{"position":[[27,5]]},"12":{"position":[[2578,6]]},"50":{"position":[[673,6],[843,6]]},"97":{"position":[[31,5],[52,7],[300,6]]},"153":{"position":[[141,6],[370,6]]},"185":{"position":[[228,5]]}}}],["share",{"_index":298,"t":{"34":{"position":[[145,6]]},"82":{"position":[[72,5]]},"90":{"position":[[272,5]]},"125":{"position":[[190,6]]},"143":{"position":[[676,5]]}}}],["shell",{"_index":227,"t":{"12":{"position":[[1927,5]]},"30":{"position":[[57,5]]},"70":{"position":[[215,6]]},"135":{"position":[[285,5]]},"143":{"position":[[639,5]]},"161":{"position":[[292,5]]},"171":{"position":[[51,5]]},"179":{"position":[[47,5]]},"181":{"position":[[126,5],[276,5],[648,5]]},"227":{"position":[[213,5]]}}}],["ship",{"_index":343,"t":{"44":{"position":[[27,4]]},"237":{"position":[[227,7]]}}}],["short",{"_index":689,"t":{"121":{"position":[[78,5]]},"177":{"position":[[435,5]]}}}],["short/medium/long",{"_index":625,"t":{"105":{"position":[[224,17]]}}}],["shortcut",{"_index":1058,"t":{"227":{"position":[[397,10]]},"229":{"position":[[141,10]]},"235":{"position":[[75,9]]},"237":{"position":[[118,9]]}}}],["shorthand",{"_index":64,"t":{"6":{"position":[[258,10]]},"18":{"position":[[129,10]]},"56":{"position":[[214,10]]}}}],["shot",{"_index":882,"t":{"175":{"position":[[273,4]]},"191":{"position":[[57,4]]}}}],["show",{"_index":36,"t":{"4":{"position":[[297,5]]},"6":{"position":[[385,4],[435,4],[581,4],[711,4],[913,4]]},"12":{"position":[[165,4],[194,4],[1215,4],[1600,4],[2090,4],[2121,4]]},"20":{"position":[[180,5]]},"26":{"position":[[13,5]]},"28":{"position":[[15,5]]},"52":{"position":[[238,5]]},"99":{"position":[[447,6]]},"101":{"position":[[29,4],[443,4]]},"105":{"position":[[95,4]]},"109":{"position":[[200,5],[437,5]]},"111":{"position":[[189,5]]},"127":{"position":[[504,7]]},"137":{"position":[[153,4]]},"147":{"position":[[265,4]]},"157":{"position":[[42,4]]},"173":{"position":[[58,4]]},"185":{"position":[[90,5]]}}}],["shown",{"_index":111,"t":{"8":{"position":[[172,5]]},"50":{"position":[[1005,5]]},"161":{"position":[[326,5]]}}}],["shuffl",{"_index":575,"t":{"92":{"position":[[417,8]]},"107":{"position":[[234,7]]},"109":{"position":[[535,8]]},"111":{"position":[[132,7]]}}}],["sigterm",{"_index":269,"t":{"22":{"position":[[19,7]]}}}],["simultan",{"_index":720,"t":{"131":{"position":[[296,14]]}}}],["singl",{"_index":198,"t":{"12":{"position":[[1192,6]]},"131":{"position":[[26,6]]}}}],["sk",{"_index":113,"t":{"8":{"position":[[186,2]]},"50":{"position":[[1023,2]]}}}],["skill",{"_index":191,"t":{"12":{"position":[[1062,7],[1085,6]]},"175":{"position":[[112,5],[138,6],[172,6],[179,6],[205,5],[219,6]]},"177":{"position":[[312,6]]},"179":{"position":[[354,5],[371,6]]},"211":{"position":[[0,6]]},"213":{"position":[[50,5],[138,6]]},"215":{"position":[[39,5]]},"217":{"position":[[22,6]]},"219":{"position":[[48,6],[55,6],[79,6]]},"227":{"position":[[615,5]]},"237":{"position":[[168,5]]}}}],["skill.md",{"_index":910,"t":{"179":{"position":[[406,8]]},"215":{"position":[[73,9],[96,8]]}}}],["skip",{"_index":573,"t":{"92":{"position":[[403,5]]},"107":{"position":[[118,4],[154,4]]},"109":{"position":[[214,5]]},"113":{"position":[[300,5]]}}}],["skip/recov",{"_index":658,"t":{"113":{"position":[[144,12]]}}}],["slash",{"_index":756,"t":{"135":{"position":[[458,5]]}}}],["small",{"_index":597,"t":{"95":{"position":[[627,5]]}}}],["solut",{"_index":697,"t":{"127":{"position":[[6,8]]}}}],["someth",{"_index":273,"t":{"24":{"position":[[86,9]]},"113":{"position":[[320,9]]}}}],["song",{"_index":645,"t":{"109":{"position":[[225,5]]},"113":{"position":[[105,5]]},"127":{"position":[[305,5]]}}}],["sonnet",{"_index":926,"t":{"187":{"position":[[199,6],[242,7]]}}}],["soul",{"_index":889,"t":{"177":{"position":[[189,6]]}}}],["spawn",{"_index":249,"t":{"16":{"position":[[53,6]]},"129":{"position":[[60,5]]},"137":{"position":[[78,5]]}}}],["speaker",{"_index":685,"t":{"119":{"position":[[52,8]]}}}],["specif",{"_index":505,"t":{"82":{"position":[[414,8]]},"137":{"position":[[213,8]]},"201":{"position":[[408,8]]},"219":{"position":[[86,14]]}}}],["specifi",{"_index":514,"t":{"84":{"position":[[66,10]]}}}],["spotifi",{"_index":142,"t":{"10":{"position":[[229,7]]},"92":{"position":[[25,7],[261,7],[354,7],[452,7],[493,7]]},"95":{"position":[[55,7],[171,7],[372,7],[526,7],[715,8]]},"97":{"position":[[93,8],[124,7],[176,7],[319,8],[348,8]]},"99":{"position":[[23,8],[379,8],[454,8]]},"101":{"position":[[20,8],[91,8],[147,8],[215,8],[242,7],[273,8],[343,8],[375,7],[391,8],[430,8]]},"105":{"position":[[156,7]]},"111":{"position":[[4,8]]},"113":{"position":[[10,7],[383,8]]},"115":{"position":[[11,7]]},"119":{"position":[[0,7],[155,8],[226,7],[283,8]]},"121":{"position":[[20,7],[319,8]]},"123":{"position":[[0,8],[61,8]]},"125":{"position":[[35,7]]},"127":{"position":[[15,8],[264,7],[383,8],[453,8],[516,8]]},"135":{"position":[[501,9]]},"227":{"position":[[363,7],[381,8]]},"235":{"position":[[6,7]]},"237":{"position":[[103,7]]}}}],["spotify'",{"_index":696,"t":{"125":{"position":[[150,9],[353,9]]},"127":{"position":[[187,9],[561,9]]}}}],["spotify_devic",{"_index":622,"t":{"105":{"position":[[125,15]]}}}],["spotify_lik",{"_index":628,"t":{"105":{"position":[[285,12]]}}}],["spotify_next",{"_index":632,"t":{"107":{"position":[[105,12]]},"109":{"position":[[237,12]]}}}],["spotify_now_play",{"_index":620,"t":{"105":{"position":[[75,19]]},"109":{"position":[[416,20]]}}}],["spotify_paus",{"_index":631,"t":{"107":{"position":[[76,13]]},"109":{"position":[[264,13]]}}}],["spotify_play",{"_index":630,"t":{"107":{"position":[[18,12]]}}}],["spotify_playlist",{"_index":627,"t":{"105":{"position":[[248,17]]}}}],["spotify_previ",{"_index":634,"t":{"107":{"position":[[137,16]]}}}],["spotify_queu",{"_index":640,"t":{"107":{"position":[[302,13]]},"109":{"position":[[502,13]]}}}],["spotify_repeat",{"_index":639,"t":{"107":{"position":[[249,14]]}}}],["spotify_search",{"_index":617,"t":{"105":{"position":[[18,14]]}}}],["spotify_shuffl",{"_index":638,"t":{"107":{"position":[[211,15]]}}}],["spotify_shuffle(tru",{"_index":651,"t":{"109":{"position":[[554,21]]}}}],["spotify_top_track",{"_index":623,"t":{"105":{"position":[[172,18]]},"109":{"position":[[180,19]]}}}],["spotify_volum",{"_index":636,"t":{"107":{"position":[[177,14]]}}}],["spotify_volume(50",{"_index":649,"t":{"109":{"position":[[373,18]]}}}],["sqlite",{"_index":1028,"t":{"209":{"position":[[305,7],[390,9]]}}}],["ssh",{"_index":606,"t":{"99":{"position":[[227,3],[235,3]]}}}],["ssh/ci",{"_index":140,"t":{"10":{"position":[[198,6]]}}}],["ssh/mobile/light",{"_index":681,"t":{"117":{"position":[[223,16]]}}}],["stabil",{"_index":1060,"t":{"229":{"position":[[117,10]]}}}],["stage",{"_index":434,"t":{"68":{"position":[[118,5],[135,5],[193,6]]},"74":{"position":[[151,7]]},"173":{"position":[[107,5]]}}}],["stale",{"_index":258,"t":{"16":{"position":[[177,5]]},"28":{"position":[[307,5]]},"54":{"position":[[139,5]]},"199":{"position":[[469,5]]}}}],["start",{"_index":56,"t":{"6":{"position":[[62,5],[100,5],[133,6],[148,5],[154,5],[199,5],[218,5],[820,5],[958,5]]},"8":{"position":[[360,5]]},"12":{"position":[[2384,6],[2487,7],[2616,7]]},"16":{"position":[[8,5],[14,6]]},"18":{"position":[[8,5],[148,5]]},"20":{"position":[[84,6]]},"24":{"position":[[54,6]]},"32":{"position":[[0,5]]},"36":{"position":[[128,6],[611,6],[913,5],[1076,6]]},"40":{"position":[[17,5]]},"44":{"position":[[237,5]]},"46":{"position":[[42,6],[227,5]]},"50":{"position":[[688,6],[726,6]]},"52":{"position":[[115,6],[316,6]]},"54":{"position":[[8,5],[14,6]]},"56":{"position":[[8,5],[233,5]]},"58":{"position":[[21,5],[72,5]]},"99":{"position":[[0,5]]},"101":{"position":[[105,5]]},"143":{"position":[[177,8]]},"153":{"position":[[191,7],[296,6],[478,6]]},"155":{"position":[[235,6]]},"157":{"position":[[558,5]]},"159":{"position":[[20,6]]},"181":{"position":[[11,6]]}}}],["startup",{"_index":289,"t":{"28":{"position":[[343,7]]},"181":{"position":[[433,7]]},"227":{"position":[[44,8]]},"229":{"position":[[216,7]]}}}],["state",{"_index":981,"t":{"199":{"position":[[364,5]]},"205":{"position":[[20,6]]}}}],["statu",{"_index":72,"t":{"6":{"position":[[428,6],[906,6],[933,6]]},"10":{"position":[[222,6],[256,6]]},"12":{"position":[[186,7],[1233,6]]},"28":{"position":[[8,6]]},"36":{"position":[[944,6]]},"40":{"position":[[48,6]]},"48":{"position":[[16,6]]},"68":{"position":[[107,6]]},"101":{"position":[[45,7]]},"133":{"position":[[357,7]]},"135":{"position":[[521,6]]},"137":{"position":[[604,7]]},"143":{"position":[[456,7]]},"147":{"position":[[256,6]]},"155":{"position":[[291,7]]},"159":{"position":[[72,6]]},"173":{"position":[[42,6]]},"179":{"position":[[175,6]]},"227":{"position":[[53,7],[254,7]]},"237":{"position":[[181,6]]}}}],["stay",{"_index":242,"t":{"12":{"position":[[2442,5]]}}}],["stderr",{"_index":102,"t":{"6":{"position":[[986,6]]},"58":{"position":[[56,7]]}}}],["steer",{"_index":664,"t":{"113":{"position":[[250,8]]}}}],["step",{"_index":602,"t":{"97":{"position":[[169,4],[229,4]]},"131":{"position":[[200,4]]},"139":{"position":[[492,4]]},"147":{"position":[[168,4],[176,4]]},"229":{"position":[[259,4]]}}}],["still",{"_index":698,"t":{"127":{"position":[[109,5]]}}}],["stop",{"_index":24,"t":{"4":{"position":[[154,5]]},"6":{"position":[[333,4],[338,4]]},"22":{"position":[[8,4]]},"24":{"position":[[16,5]]},"36":{"position":[[976,4]]},"40":{"position":[[80,4]]},"56":{"position":[[284,4],[306,4]]},"135":{"position":[[382,5],[494,6]]}}}],["stop_ag",{"_index":764,"t":{"137":{"position":[[195,10]]}}}],["storag",{"_index":360,"t":{"44":{"position":[[357,7]]},"90":{"position":[[15,7]]}}}],["store",{"_index":396,"t":{"50":{"position":[[864,6]]},"82":{"position":[[95,6]]},"90":{"position":[[42,6]]},"121":{"position":[[8,6]]},"125":{"position":[[75,6],[296,6]]},"197":{"position":[[121,7]]},"199":{"position":[[66,6]]},"201":{"position":[[19,6]]},"209":{"position":[[325,6]]}}}],["stream",{"_index":192,"t":{"12":{"position":[[1092,7],[1121,9],[1140,7],[1160,9]]},"151":{"position":[[86,10]]},"161":{"position":[[25,9],[98,8]]},"163":{"position":[[274,9]]},"229":{"position":[[69,9]]}}}],["strip",{"_index":873,"t":{"175":{"position":[[74,9]]}}}],["structur",{"_index":769,"t":{"137":{"position":[[465,9]]},"197":{"position":[[26,10]]}}}],["style",{"_index":411,"t":{"60":{"position":[[27,5]]},"235":{"position":[[19,5]]}}}],["sub",{"_index":222,"t":{"12":{"position":[[1825,3],[1994,3]]},"30":{"position":[[86,3]]},"70":{"position":[[110,3],[224,3]]},"129":{"position":[[157,3]]},"131":{"position":[[222,3],[488,3]]},"135":{"position":[[37,3],[119,3],[176,3],[261,3],[293,3],[346,3]]},"137":{"position":[[35,3],[86,3],[184,3],[230,3]]},"139":{"position":[[74,3],[140,3],[380,3]]},"143":{"position":[[81,3],[464,5]]},"145":{"position":[[0,3],[303,3]]},"147":{"position":[[0,3]]},"149":{"position":[[141,3]]},"227":{"position":[[262,3]]},"237":{"position":[[52,3]]}}}],["subag",{"_index":800,"t":{"145":{"position":[[54,10]]}}}],["subagents_en",{"_index":806,"t":{"145":{"position":[[270,17]]}}}],["subagents_max_concurr",{"_index":808,"t":{"145":{"position":[[314,24]]}}}],["subagents_mod",{"_index":810,"t":{"145":{"position":[[371,14]]}}}],["subscript",{"_index":578,"t":{"92":{"position":[[468,12]]}}}],["success",{"_index":610,"t":{"99":{"position":[[422,10]]},"183":{"position":[[165,10]]}}}],["successfulexit",{"_index":311,"t":{"36":{"position":[[195,14]]}}}],["sudo",{"_index":312,"t":{"36":{"position":[[239,4],[722,4],[778,4]]},"46":{"position":[[524,6]]},"179":{"position":[[87,5]]}}}],["summari",{"_index":471,"t":{"74":{"position":[[336,7]]},"193":{"position":[[98,7]]},"199":{"position":[[345,8],[370,8]]}}}],["supervisor",{"_index":1067,"t":{"233":{"position":[[199,10]]}}}],["support",{"_index":145,"t":{"10":{"position":[[248,7]]},"30":{"position":[[12,8]]},"56":{"position":[[124,8]]},"70":{"position":[[15,8]]},"113":{"position":[[23,8]]},"117":{"position":[[8,8]]},"235":{"position":[[196,7]]}}}],["surfac",{"_index":297,"t":{"34":{"position":[[129,8]]},"143":{"position":[[695,8]]}}}],["suspect",{"_index":549,"t":{"90":{"position":[[310,7]]}}}],["switch",{"_index":209,"t":{"12":{"position":[[1483,6],[1543,6]]},"62":{"position":[[127,8]]},"92":{"position":[[179,10]]},"185":{"position":[[8,6],[167,8],[296,6]]},"227":{"position":[[473,9]]},"239":{"position":[[168,6]]}}}],["system",{"_index":96,"t":{"6":{"position":[[799,6],[875,6],[918,6]]},"20":{"position":[[58,6]]},"36":{"position":[[280,6]]},"46":{"position":[[21,6]]},"52":{"position":[[89,6]]},"139":{"position":[[561,6]]},"175":{"position":[[452,6]]},"179":{"position":[[36,6]]},"201":{"position":[[459,6]]},"205":{"position":[[145,6]]},"227":{"position":[[189,6]]}}}],["system'",{"_index":732,"t":{"131":{"position":[[671,8]]}}}],["systemctl",{"_index":321,"t":{"36":{"position":[[630,9],[896,9],[927,9],[959,9]]},"40":{"position":[[0,9],[31,9],[63,9]]}}}],["systemd",{"_index":317,"t":{"36":{"position":[[545,7]]},"46":{"position":[[319,7]]}}}],["tab",{"_index":561,"t":{"92":{"position":[[166,5]]}}}],["take",{"_index":957,"t":{"195":{"position":[[28,4]]}}}],["talk",{"_index":616,"t":{"103":{"position":[[42,4]]},"109":{"position":[[5,4]]}}}],["task",{"_index":220,"t":{"12":{"position":[[1790,6],[1815,4],[1964,6],[2004,4],[2062,4],[2106,5],[2160,4],[2209,4],[2251,5],[2257,6],[2279,5]]},"14":{"position":[[71,5]]},"34":{"position":[[33,6],[48,6],[67,4],[163,4]]},"36":{"position":[[1031,4],[1046,4]]},"46":{"position":[[387,4]]},"70":{"position":[[75,6],[209,5],[251,4]]},"129":{"position":[[95,5]]},"131":{"position":[[67,4],[286,5],[416,4]]},"133":{"position":[[394,5]]},"135":{"position":[[84,6],[109,4],[146,6],[186,4],[240,4],[314,5],[371,4],[447,4]]},"137":{"position":[[103,4],[269,4]]},"141":{"position":[[36,4],[109,4],[199,4],[382,6]]},"143":{"position":[[186,7],[606,5]]},"147":{"position":[[62,6]]},"149":{"position":[[50,4]]},"175":{"position":[[286,4],[341,5],[398,4]]},"177":{"position":[[355,5]]},"181":{"position":[[589,5],[721,4]]},"191":{"position":[[21,5]]},"195":{"position":[[84,5],[215,4]]},"227":{"position":[[184,4],[354,8]]},"231":{"position":[[191,5]]},"237":{"position":[[76,5]]}}}],["task'",{"_index":783,"t":{"139":{"position":[[600,6]]}}}],["tast",{"_index":891,"t":{"177":{"position":[[205,6]]}}}],["team",{"_index":598,"t":{"95":{"position":[[633,6]]}}}],["telegram",{"_index":121,"t":{"8":{"position":[[292,8],[330,9]]},"12":{"position":[[73,8],[324,9],[349,8],[428,9],[469,8],[494,9],[534,8],[562,9],[642,8],[666,9],[715,8],[739,9],[790,8],[804,9],[847,8],[872,9],[913,8],[938,9],[974,8],[1107,8],[1424,8],[2337,8],[2405,8],[2433,8],[2522,9],[2591,8],[2702,9]]},"14":{"position":[[48,8]]},"50":{"position":[[388,8],[646,8],[748,9]]},"54":{"position":[[64,8]]},"72":{"position":[[318,9]]},"99":{"position":[[242,9]]},"139":{"position":[[667,9]]},"149":{"position":[[279,8]]},"151":{"position":[[20,8]]},"157":{"position":[[28,8],[102,8],[204,8],[269,8],[337,8],[397,8],[489,8],[514,8]]},"159":{"position":[[126,8]]},"161":{"position":[[250,8]]},"163":{"position":[[0,8],[210,8],[349,9]]},"167":{"position":[[350,9]]},"169":{"position":[[69,8]]},"181":{"position":[[204,9],[469,9]]},"195":{"position":[[195,9]]},"207":{"position":[[39,8]]}}}],["telegram'",{"_index":847,"t":{"161":{"position":[[518,10]]}}}],["telegram_bot_token",{"_index":850,"t":{"163":{"position":[[131,18]]}}}],["telegram_en",{"_index":851,"t":{"163":{"position":[[178,16]]}}}],["telegram_stream",{"_index":852,"t":{"163":{"position":[[233,18]]}}}],["tell",{"_index":687,"t":{"119":{"position":[[209,4]]},"193":{"position":[[0,4]]},"215":{"position":[[0,4]]}}}],["temporari",{"_index":393,"t":{"50":{"position":[[697,9]]}}}],["term",{"_index":626,"t":{"105":{"position":[[242,5]]},"177":{"position":[[441,5],[452,5]]},"209":{"position":[[226,4]]}}}],["termin",{"_index":137,"t":{"10":{"position":[[163,8]]},"14":{"position":[[110,9]]},"18":{"position":[[57,9]]},"56":{"position":[[57,8]]},"72":{"position":[[306,8]]},"111":{"position":[[77,9]]},"117":{"position":[[240,9]]},"229":{"position":[[313,8]]}}}],["terminal/daemon",{"_index":87,"t":{"6":{"position":[[601,15]]}}}],["terminal/tti",{"_index":362,"t":{"44":{"position":[[374,12]]}}}],["test",{"_index":736,"t":{"133":{"position":[[55,6],[242,5],[473,6],[742,5]]},"143":{"position":[[396,6],[565,5]]}}}],["text",{"_index":194,"t":{"12":{"position":[[1116,4]]},"50":{"position":[[626,5]]},"117":{"position":[[63,5],[205,4]]},"161":{"position":[[20,4]]},"163":{"position":[[269,4]]},"167":{"position":[[209,4]]},"209":{"position":[[251,4]]}}}],["they'll",{"_index":742,"t":{"133":{"position":[[480,7]]}}}],["they'r",{"_index":760,"t":{"135":{"position":[[569,7]]}}}],["those",{"_index":911,"t":{"179":{"position":[[442,5]]}}}],["thread",{"_index":713,"t":{"131":{"position":[[33,9]]}}}],["three",{"_index":901,"t":{"179":{"position":[[14,5]]}}}],["through",{"_index":453,"t":{"72":{"position":[[136,7]]},"92":{"position":[[125,7]]},"147":{"position":[[236,7]]}}}],["tier",{"_index":701,"t":{"127":{"position":[[202,5]]},"179":{"position":[[20,4]]}}}],["time",{"_index":368,"t":{"46":{"position":[[512,5]]},"50":{"position":[[26,5],[668,4]]},"84":{"position":[[92,5]]},"97":{"position":[[47,4]]},"111":{"position":[[200,4]]},"131":{"position":[[77,5]]},"141":{"position":[[296,4]]},"153":{"position":[[249,4]]},"161":{"position":[[40,4]]},"163":{"position":[[264,4]]},"181":{"position":[[573,5]]},"199":{"position":[[600,5]]},"205":{"position":[[104,5]]}}}],["time_rang",{"_index":624,"t":{"105":{"position":[[211,12]]}}}],["tip",{"_index":39,"t":{"4":{"position":[[339,6]]},"52":{"position":[[0,6]]},"95":{"position":[[338,6]]},"189":{"position":[[154,6]]}}}],["titl",{"_index":521,"t":{"86":{"position":[[55,6],[295,6]]}}}],["tn",{"_index":340,"t":{"36":{"position":[[1313,3],[1355,3],[1391,3]]},"42":{"position":[[16,3],[58,3],[94,3]]}}}],["togeth",{"_index":752,"t":{"133":{"position":[[809,9]]}}}],["toggl",{"_index":193,"t":{"12":{"position":[[1100,6],[1658,6]]},"107":{"position":[[227,6]]},"147":{"position":[[221,6]]},"161":{"position":[[85,7]]}}}],["token",{"_index":122,"t":{"8":{"position":[[301,5],[351,5],[414,5]]},"12":{"position":[[131,7],[1220,5],[1352,5]]},"50":{"position":[[401,5]]},"72":{"position":[[448,6]]},"82":{"position":[[11,5],[83,6],[206,5],[576,5],[790,5]]},"90":{"position":[[297,5]]},"101":{"position":[[266,6]]},"121":{"position":[[28,6],[70,5],[114,5],[157,6],[222,6],[286,5]]},"123":{"position":[[32,6]]},"125":{"position":[[280,6]]},"127":{"position":[[419,5],[480,6]]},"151":{"position":[[39,6]]},"163":{"position":[[79,5],[154,5],[310,5]]},"175":{"position":[[433,5]]},"177":{"position":[[395,5]]},"219":{"position":[[200,7]]}}}],["tokens/new",{"_index":500,"t":{"82":{"position":[[286,10]]}}}],["tool",{"_index":94,"t":{"6":{"position":[[732,7]]},"12":{"position":[[1023,6],[1056,5]]},"72":{"position":[[195,5],[368,5],[461,5]]},"74":{"position":[[377,4]]},"84":{"position":[[386,5]]},"86":{"position":[[0,4]]},"103":{"position":[[14,5]]},"105":{"position":[[0,4]]},"107":{"position":[[0,4]]},"137":{"position":[[19,5],[47,4]]},"139":{"position":[[524,4]]},"149":{"position":[[187,4]]},"167":{"position":[[0,4]]},"169":{"position":[[0,4]]},"171":{"position":[[0,4]]},"173":{"position":[[0,4]]},"175":{"position":[[0,4]]},"179":{"position":[[391,5],[448,5]]},"219":{"position":[[143,5]]}}}],["toolset",{"_index":458,"t":{"72":{"position":[[245,8]]},"165":{"position":[[23,7]]}}}],["top",{"_index":568,"t":{"92":{"position":[[305,3]]},"105":{"position":[[200,3]]},"109":{"position":[[161,3]]},"199":{"position":[[173,3]]}}}],["topic",{"_index":715,"t":{"131":{"position":[[120,6]]}}}],["toward",{"_index":993,"t":{"201":{"position":[[157,6]]}}}],["track",{"_index":569,"t":{"92":{"position":[[309,7]]},"105":{"position":[[40,7],[204,6],[305,5]]},"107":{"position":[[38,6],[131,5],[171,5],[286,6],[322,5]]},"109":{"position":[[119,7],[165,8],[452,5],[529,5]]},"111":{"position":[[219,5]]},"113":{"position":[[292,7]]},"115":{"position":[[42,5],[61,5]]},"143":{"position":[[592,7]]},"177":{"position":[[407,8]]},"221":{"position":[[13,6]]},"227":{"position":[[310,8]]}}}],["tradit",{"_index":712,"t":{"131":{"position":[[0,11]]}}}],["trailer",{"_index":484,"t":{"80":{"position":[[105,8]]},"88":{"position":[[121,8]]}}}],["treat",{"_index":351,"t":{"44":{"position":[[162,5]]},"90":{"position":[[206,5]]},"125":{"position":[[209,5]]}}}],["tree",{"_index":433,"t":{"68":{"position":[[96,4]]},"173":{"position":[[37,4]]}}}],["tri",{"_index":703,"t":{"127":{"position":[[316,3]]},"183":{"position":[[42,5],[123,5]]}}}],["trigger",{"_index":333,"t":{"36":{"position":[[1083,8]]}}}],["trip",{"_index":647,"t":{"109":{"position":[[301,5]]}}}],["true",{"_index":801,"t":{"145":{"position":[[74,4]]},"163":{"position":[[284,4]]}}}],["tty/raw",{"_index":138,"t":{"10":{"position":[[174,7]]}}}],["tui",{"_index":407,"t":{"56":{"position":[[79,3]]},"227":{"position":[[26,3]]},"239":{"position":[[53,4]]}}}],["tv",{"_index":684,"t":{"119":{"position":[[48,3]]}}}],["two",{"_index":794,"t":{"141":{"position":[[343,3]]}}}],["type",{"_index":107,"t":{"8":{"position":[[127,4],[309,4]]},"12":{"position":[[0,4]]},"161":{"position":[[67,6]]},"163":{"position":[[289,4]]},"171":{"position":[[176,4]]},"179":{"position":[[302,4]]},"199":{"position":[[83,5]]},"201":{"position":[[0,4]]}}}],["typescript",{"_index":1005,"t":{"203":{"position":[[54,11]]}}}],["u",{"_index":331,"t":{"36":{"position":[[867,1]]}}}],["ui",{"_index":675,"t":{"117":{"position":[[69,2]]}}}],["unchang",{"_index":106,"t":{"8":{"position":[[113,10]]}}}],["under",{"_index":504,"t":{"82":{"position":[[355,5],[429,5]]}}}],["undo",{"_index":437,"t":{"68":{"position":[[212,4]]}}}],["uninstal",{"_index":99,"t":{"6":{"position":[[851,9],[861,9]]},"48":{"position":[[39,9]]}}}],["unit",{"_index":318,"t":{"36":{"position":[[558,4]]},"46":{"position":[[332,4]]}}}],["unknown",{"_index":908,"t":{"179":{"position":[[220,7]]}}}],["unless",{"_index":157,"t":{"12":{"position":[[82,6]]}}}],["unload",{"_index":316,"t":{"36":{"position":[[451,6]]},"38":{"position":[[78,6]]}}}],["unpair",{"_index":240,"t":{"12":{"position":[[2329,7]]},"159":{"position":[[96,7]]}}}],["up",{"_index":53,"t":{"6":{"position":[[28,2]]},"16":{"position":[[219,3]]},"20":{"position":[[8,2]]},"52":{"position":[[28,2],[172,2],[214,2]]},"95":{"position":[[456,2]]},"163":{"position":[[16,2]]}}}],["up/down",{"_index":672,"t":{"115":{"position":[[82,7]]},"227":{"position":[[415,8]]},"235":{"position":[[144,7]]}}}],["upbeat",{"_index":666,"t":{"113":{"position":[[285,6]]}}}],["updat",{"_index":18,"t":{"4":{"position":[[66,6]]},"229":{"position":[[42,7]]},"231":{"position":[[119,7]]}}}],["upgrad",{"_index":14,"t":{"4":{"position":[[28,7],[88,7],[454,7]]},"225":{"position":[[41,8]]}}}],["upload",{"_index":821,"t":{"151":{"position":[[102,8]]},"161":{"position":[[112,7]]},"167":{"position":[[360,7]]}}}],["uri",{"_index":583,"t":{"95":{"position":[[200,4]]}}}],["url",{"_index":607,"t":{"99":{"position":[[283,4],[374,4]]},"175":{"position":[[45,3],[123,3]]},"189":{"position":[[232,4],[683,3]]}}}],["us",{"_index":46,"t":{"4":{"position":[[442,3]]},"10":{"position":[[0,3]]},"12":{"position":[[1528,3]]},"18":{"position":[[67,6]]},"24":{"position":[[74,6]]},"50":{"position":[[76,4]]},"64":{"position":[[0,3]]},"78":{"position":[[30,4]]},"88":{"position":[[26,5]]},"95":{"position":[[620,3]]},"99":{"position":[[86,3]]},"103":{"position":[[28,4]]},"113":{"position":[[379,3],[424,3]]},"121":{"position":[[134,4]]},"125":{"position":[[124,4]]},"127":{"position":[[357,3]]},"133":{"position":[[336,3],[554,6],[597,6]]},"137":{"position":[[8,4],[583,3]]},"139":{"position":[[227,6],[253,6],[279,6],[329,6],[536,4]]},"141":{"position":[[338,4]]},"143":{"position":[[207,6],[248,6],[347,6],[522,7]]},"153":{"position":[[8,4]]},"165":{"position":[[38,3]]},"181":{"position":[[534,3]]},"185":{"position":[[150,3],[328,3]]},"189":{"position":[[68,4],[270,4]]},"191":{"position":[[27,5]]},"207":{"position":[[0,3]]},"217":{"position":[[0,4]]},"227":{"position":[[510,3]]},"239":{"position":[[121,3]]}}}],["usag",{"_index":201,"t":{"12":{"position":[[1309,5]]},"44":{"position":[[427,5]]},"175":{"position":[[446,5]]},"177":{"position":[[401,5]]}}}],["usage.json",{"_index":898,"t":{"177":{"position":[[378,10]]}}}],["use_skil",{"_index":877,"t":{"175":{"position":[[186,9]]}}}],["user",{"_index":178,"t":{"12":{"position":[[504,5],[799,4],[2374,5],[2476,4],[2600,5]]},"36":{"position":[[252,4],[553,4],[642,4],[735,4],[806,5],[861,4],[908,4],[939,4],[971,4],[1095,4]]},"40":{"position":[[12,4],[43,4],[75,4]]},"46":{"position":[[327,4],[501,5]]},"95":{"position":[[465,6],[500,4],[665,6]]},"121":{"position":[[193,4]]},"133":{"position":[[27,5],[184,6],[252,4]]},"139":{"position":[[0,4],[212,4]]},"145":{"position":[[201,5]]},"153":{"position":[[77,4],[159,5],[467,5]]},"155":{"position":[[51,4],[116,6]]},"157":{"position":[[188,4]]},"159":{"position":[[56,6],[89,6]]},"161":{"position":[[371,4],[467,6]]},"167":{"position":[[345,4]]}}}],["userid",{"_index":834,"t":{"157":{"position":[[220,8],[285,8],[354,8],[413,8]]}}}],["usernam",{"_index":476,"t":{"78":{"position":[[12,9]]}}}],["userprofile%\\.mercury\\daemon.log",{"_index":338,"t":{"36":{"position":[[1244,33]]}}}],["ux",{"_index":1055,"t":{"227":{"position":[[371,2]]}}}],["ux/system",{"_index":1075,"t":{"239":{"position":[[28,9]]}}}],["v1.1.6",{"_index":1043,"t":{"223":{"position":[[0,6]]}}}],["valid",{"_index":361,"t":{"44":{"position":[[365,8]]},"50":{"position":[[307,5],[476,9]]}}}],["valu",{"_index":84,"t":{"6":{"position":[[548,6]]},"8":{"position":[[58,6],[138,5]]},"50":{"position":[[1069,6]]},"84":{"position":[[337,6]]},"97":{"position":[[287,6]]}}}],["var",{"_index":940,"t":{"189":{"position":[[205,4]]}}}],["variabl",{"_index":805,"t":{"145":{"position":[[229,8],[249,8]]},"163":{"position":[[102,8]]},"189":{"position":[[102,9],[173,9]]},"209":{"position":[[63,9]]}}}],["verbos",{"_index":100,"t":{"6":{"position":[[950,7]]},"58":{"position":[[6,7],[80,7]]}}}],["version",{"_index":23,"t":{"4":{"position":[[146,7],[280,7],[320,7]]},"10":{"position":[[155,7]]},"221":{"position":[[45,8]]}}}],["via",{"_index":214,"t":{"12":{"position":[[1633,3]]},"36":{"position":[[150,3],[626,3],[1106,3]]},"72":{"position":[[418,3]]},"99":{"position":[[223,3]]},"139":{"position":[[630,3]]},"151":{"position":[[29,3]]},"187":{"position":[[388,3]]},"205":{"position":[[125,3]]},"219":{"position":[[131,3]]}}}],["vibe",{"_index":668,"t":{"113":{"position":[[349,4]]}}}],["video",{"_index":839,"t":{"161":{"position":[[135,6]]}}}],["view",{"_index":148,"t":{"10":{"position":[[284,7]]},"12":{"position":[[1652,5],[1674,4],[1699,5],[1735,4],[1740,5],[1773,4],[2293,4]]},"56":{"position":[[171,6]]},"70":{"position":[[246,4]]},"117":{"position":[[215,4]]},"175":{"position":[[322,4]]},"227":{"position":[[74,6]]},"229":{"position":[[32,5]]}}}],["volum",{"_index":574,"t":{"92":{"position":[[409,7]]},"107":{"position":[[196,6]]},"109":{"position":[[353,6]]},"111":{"position":[[122,6]]},"115":{"position":[[75,6]]},"227":{"position":[[408,6]]},"235":{"position":[[137,6]]}}}],["volume/shuffle/repeat",{"_index":663,"t":{"113":{"position":[[212,21]]}}}],["vs",{"_index":1006,"t":{"203":{"position":[[66,2],[181,2]]}}}],["wait",{"_index":787,"t":{"139":{"position":[[727,5]]}}}],["want",{"_index":262,"t":{"18":{"position":[[100,4]]},"133":{"position":[[779,4]]},"189":{"position":[[60,4]]}}}],["warn",{"_index":495,"t":{"82":{"position":[[174,10]]},"90":{"position":[[0,10]]},"125":{"position":[[0,10]]},"153":{"position":[[552,10]]},"189":{"position":[[460,10]]}}}],["warrant",{"_index":789,"t":{"141":{"position":[[225,7]]}}}],["watchdog",{"_index":279,"t":{"28":{"position":[[134,9]]},"36":{"position":[[1144,8]]},"46":{"position":[[434,8]]},"229":{"position":[[293,8]]}}}],["way",{"_index":401,"t":{"52":{"position":[[43,3]]},"62":{"position":[[41,5]]}}}],["web",{"_index":874,"t":{"175":{"position":[[84,3]]},"213":{"position":[[39,3],[127,3]]},"227":{"position":[[604,3]]},"237":{"position":[[157,3]]}}}],["weekli",{"_index":953,"t":{"193":{"position":[[91,6]]}}}],["well",{"_index":811,"t":{"147":{"position":[[16,4]]}}}],["what'",{"_index":621,"t":{"105":{"position":[[100,6]]},"109":{"position":[[392,7]]}}}],["whether",{"_index":276,"t":{"28":{"position":[[21,7]]}}}],["win",{"_index":1009,"t":{"203":{"position":[[114,5],[144,5]]}}}],["window",{"_index":271,"t":{"22":{"position":[[44,8]]},"36":{"position":[[12,7],[1023,7]]},"46":{"position":[[379,7]]},"131":{"position":[[55,7],[335,7]]},"139":{"position":[[411,6]]},"141":{"position":[[148,6]]}}}],["within",{"_index":286,"t":{"28":{"position":[[255,6]]},"199":{"position":[[197,7]]}}}],["without",{"_index":10,"t":{"2":{"position":[[91,7]]},"36":{"position":[[759,7]]},"46":{"position":[[455,7]]},"72":{"position":[[286,7],[438,7]]},"84":{"position":[[58,7]]},"147":{"position":[[115,7]]},"179":{"position":[[186,7]]},"185":{"position":[[52,7]]}}}],["wizard",{"_index":92,"t":{"6":{"position":[[674,6]]},"8":{"position":[[33,6]]},"50":{"position":[[47,6]]}}}],["won't",{"_index":462,"t":{"72":{"position":[[490,5]]}}}],["work",{"_index":154,"t":{"12":{"position":[[52,4]]},"14":{"position":[[82,7]]},"24":{"position":[[102,7]]},"30":{"position":[[96,5]]},"34":{"position":[[258,4]]},"70":{"position":[[100,4],[156,4],[315,4]]},"92":{"position":[[341,4]]},"127":{"position":[[115,4]]},"129":{"position":[[200,5]]},"131":{"position":[[499,4]]},"133":{"position":[[142,7],[211,7],[330,5],[488,4]]},"135":{"position":[[528,4]]},"137":{"position":[[431,7],[544,6]]},"143":{"position":[[671,4]]},"149":{"position":[[105,5]]},"153":{"position":[[595,5]]},"171":{"position":[[83,7]]},"173":{"position":[[29,7]]},"201":{"position":[[149,7]]},"227":{"position":[[229,4]]},"233":{"position":[[95,4]]}}}],["worker",{"_index":295,"t":{"34":{"position":[[75,6],[99,6],[191,7]]},"231":{"position":[[211,8]]}}}],["workspac",{"_index":223,"t":{"12":{"position":[[1867,9]]},"56":{"position":[[146,9]]},"60":{"position":[[33,9]]},"62":{"position":[[14,9],[64,9],[80,9]]},"66":{"position":[[62,9]]},"68":{"position":[[56,9],[258,9]]},"70":{"position":[[0,9]]},"225":{"position":[[50,9]]},"227":{"position":[[81,9]]},"229":{"position":[[197,9]]},"231":{"position":[[95,9]]},"237":{"position":[[37,9]]}}}],["write",{"_index":252,"t":{"16":{"position":[[86,6]]},"82":{"position":[[500,5],[531,5],[555,5]]},"131":{"position":[[127,5],[574,5]]},"133":{"position":[[37,5],[223,6],[465,7]]},"139":{"position":[[708,7]]},"143":{"position":[[547,5]]},"147":{"position":[[123,7]]},"167":{"position":[[74,5]]},"181":{"position":[[118,7]]}}}],["write_fil",{"_index":853,"t":{"167":{"position":[[63,10]]}}}],["writer",{"_index":727,"t":{"131":{"position":[[542,6]]}}}],["ws",{"_index":149,"t":{"10":{"position":[[292,3]]},"12":{"position":[[1853,3]]},"62":{"position":[[90,3]]},"68":{"position":[[20,3],[71,3],[114,3],[165,3],[208,3],[244,3]]},"231":{"position":[[11,3]]}}}],["x",{"_index":774,"t":{"139":{"position":[[68,3]]},"141":{"position":[[86,1]]},"203":{"position":[[178,2],[199,3]]}}}],["xai",{"_index":931,"t":{"187":{"position":[[267,5]]}}}],["x••••4f2a",{"_index":114,"t":{"8":{"position":[[189,9]]},"50":{"position":[[1026,10]]}}}],["y",{"_index":776,"t":{"139":{"position":[[134,3]]},"141":{"position":[[101,3]]}}}],["ye",{"_index":601,"t":{"97":{"position":[[109,3]]},"155":{"position":[[145,3]]},"207":{"position":[[448,3]]}}}],["you'll",{"_index":519,"t":{"84":{"position":[[365,6]]},"95":{"position":[[672,6]]},"97":{"position":[[307,6]]},"137":{"position":[[352,6]]},"143":{"position":[[436,6]]}}}],["you'r",{"_index":992,"t":{"201":{"position":[[142,6],[184,6]]}}}],["you'v",{"_index":995,"t":{"201":{"position":[[285,6]]}}}],["your",{"_index":464,"t":{"74":{"position":[[57,5]]},"80":{"position":[[200,5]]},"88":{"position":[[176,5]]}}}],["yournam",{"_index":611,"t":{"99":{"position":[[476,8]]}}}],["z",{"_index":673,"t":{"115":{"position":[[97,1]]},"235":{"position":[[113,2]]}}}],["zero",{"_index":202,"t":{"12":{"position":[[1318,4]]}}}]],"pipeline":["stemmer"]}}]
\ No newline at end of file
+[{"documents":[{"i":1,"t":"Installation","u":"/docs","b":["Docs"]},{"i":5,"t":"Full Command Reference","u":"/docs/cli-commands/cli-commands","b":["Docs","CLI Commands"]},{"i":7,"t":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","b":["Docs","CLI Commands"]},{"i":11,"t":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","b":["Docs","CLI Commands"]},{"i":41,"t":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","b":["Docs","Daemon Mode"]},{"i":67,"t":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","b":["Docs","Daemon Mode"]},{"i":77,"t":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","b":["Docs","Daemon Mode"]},{"i":81,"t":"First-Time Setup","u":"/docs/getting-started/setup","b":["Docs"]},{"i":83,"t":"Starting Mercury","u":"/docs/getting-started/starting","b":["Docs"]},{"i":91,"t":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","b":["Docs","Integrations"]},{"i":107,"t":"GitHub Companion","u":"/docs/integrations/github-companion","b":["Docs","Integrations"]},{"i":127,"t":"Spotify Integration","u":"/docs/integrations/spotify","b":["Docs","Integrations"]},{"i":164,"t":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","b":["Docs","Integrations"]},{"i":186,"t":"Telegram","u":"/docs/integrations/telegram","b":["Docs","Integrations"]},{"i":214,"t":"Built-in Tools","u":"/docs/reference/built-in-tools","b":["Docs","Reference"]},{"i":230,"t":"Configuration","u":"/docs/reference/configuration","b":["Docs","Reference"]},{"i":232,"t":"Permissions","u":"/docs/reference/permissions","b":["Docs","Reference"]},{"i":259,"t":"Provider Fallback","u":"/docs/reference/provider-fallback","b":["Docs","Reference"]},{"i":290,"t":"Scheduling","u":"/docs/reference/scheduling","b":["Docs","Reference"]},{"i":296,"t":"Second Brain","u":"/docs/reference/second-brain","b":["Docs","Reference"]},{"i":313,"t":"Skills","u":"/docs/reference/skills","b":["Docs","Reference"]},{"i":323,"t":"Releases","u":"/docs/releases","b":["Docs","Releases"]},{"i":327,"t":"v1.1.6","u":"/docs/releases/1.1.6","b":["Docs","Releases"]},{"i":343,"t":"v1.1.7","u":"/docs/releases/1.1.7","b":["Docs","Releases"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,3.574]],["t/5",[1,2.384,2,1.951,3,2.384]],["t/7",[4,2.86,5,2.86]],["t/11",[2,2.341,6,2.86]],["t/41",[7,2.86,8,1.999]],["t/67",[9,2.384,10,2.384,11,2.384]],["t/77",[12,1.789,13,1.789,14,1.789,15,1.464,16,1.789]],["t/81",[17,2.384,18,2.384,19,2.384]],["t/83",[15,2.341,20,2.86]],["t/91",[8,1.428,21,2.044,22,2.044,23,2.044]],["t/107",[24,2.86,25,2.86]],["t/127",[26,2.86,27,2.86]],["t/164",[8,1.25,28,1.789,29,2.776,30,1.789]],["t/186",[31,3.574]],["t/214",[32,2.86,33,2.86]],["t/230",[34,3.574]],["t/232",[35,3.574]],["t/259",[36,2.86,37,2.86]],["t/290",[38,3.574]],["t/296",[39,2.86,40,2.86]],["t/313",[41,3.574]],["t/323",[42,3.574]],["t/327",[43,3.574]],["t/343",[44,3.574]]],"invertedIndex":[["agent",{"_index":29,"t":{"164":{"position":[[4,6],[18,5]]}}}],["auto",{"_index":14,"t":{"77":{"position":[[15,5]]}}}],["boot",{"_index":16,"t":{"77":{"position":[[30,5]]}}}],["brain",{"_index":40,"t":{"296":{"position":[[7,5]]}}}],["built",{"_index":32,"t":{"214":{"position":[[0,5]]}}}],["chat",{"_index":6,"t":{"11":{"position":[[3,4]]}}}],["code",{"_index":21,"t":{"91":{"position":[[0,6]]}}}],["command",{"_index":2,"t":{"5":{"position":[[5,7]]},"11":{"position":[[8,8]]}}}],["companion",{"_index":25,"t":{"107":{"position":[[7,9]]}}}],["configur",{"_index":34,"t":{"230":{"position":[[0,13]]}}}],["daemon",{"_index":7,"t":{"41":{"position":[[0,6]]}}}],["doctor",{"_index":4,"t":{"7":{"position":[[0,6]]}}}],["fallback",{"_index":37,"t":{"259":{"position":[[9,8]]}}}],["first",{"_index":17,"t":{"81":{"position":[[0,5]]}}}],["full",{"_index":1,"t":{"5":{"position":[[0,4]]}}}],["github",{"_index":24,"t":{"107":{"position":[[0,6]]}}}],["guid",{"_index":11,"t":{"67":{"position":[[18,5]]}}}],["id",{"_index":23,"t":{"91":{"position":[[17,4]]}}}],["instal",{"_index":0,"t":{"1":{"position":[[0,12]]}}}],["integr",{"_index":27,"t":{"127":{"position":[[8,11]]}}}],["mercuri",{"_index":20,"t":{"83":{"position":[[9,7]]}}}],["mode",{"_index":8,"t":{"41":{"position":[[7,4]]},"91":{"position":[[22,5]]},"164":{"position":[[24,5]]}}}],["multi",{"_index":30,"t":{"164":{"position":[[11,6]]}}}],["permiss",{"_index":35,"t":{"232":{"position":[[0,11]]}}}],["platform",{"_index":9,"t":{"67":{"position":[[0,8]]}}}],["provid",{"_index":36,"t":{"259":{"position":[[0,8]]}}}],["reconfigur",{"_index":5,"t":{"7":{"position":[[7,13]]}}}],["refer",{"_index":3,"t":{"5":{"position":[[13,9]]}}}],["releas",{"_index":42,"t":{"323":{"position":[[0,8]]}}}],["schedul",{"_index":38,"t":{"290":{"position":[[0,10]]}}}],["second",{"_index":39,"t":{"296":{"position":[[0,6]]}}}],["servic",{"_index":13,"t":{"77":{"position":[[7,7]]}}}],["setup",{"_index":19,"t":{"81":{"position":[[11,5]]}}}],["skill",{"_index":41,"t":{"313":{"position":[[0,6]]}}}],["specif",{"_index":10,"t":{"67":{"position":[[9,8]]}}}],["spotifi",{"_index":26,"t":{"127":{"position":[[0,7]]}}}],["start",{"_index":15,"t":{"77":{"position":[[21,5]]},"83":{"position":[[0,8]]}}}],["sub",{"_index":28,"t":{"164":{"position":[[0,3]]}}}],["system",{"_index":12,"t":{"77":{"position":[[0,6]]}}}],["telegram",{"_index":31,"t":{"186":{"position":[[0,8]]}}}],["time",{"_index":18,"t":{"81":{"position":[[6,4]]}}}],["tool",{"_index":33,"t":{"214":{"position":[[9,5]]}}}],["v1.1.6",{"_index":43,"t":{"327":{"position":[[0,6]]}}}],["v1.1.7",{"_index":44,"t":{"343":{"position":[[0,6]]}}}],["workspac",{"_index":22,"t":{"91":{"position":[[7,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":3,"t":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":9,"t":"Platform Diagnostics","u":"/docs/cli-commands/doctor","h":"#platform-diagnostics","p":7},{"i":13,"t":"General","u":"/docs/cli-commands/in-chat-commands","h":"#general","p":11},{"i":15,"t":"Budget","u":"/docs/cli-commands/in-chat-commands","h":"#budget","p":11},{"i":17,"t":"Programming Mode","u":"/docs/cli-commands/in-chat-commands","h":"#programming-mode","p":11},{"i":19,"t":"Workspace IDE (CLI Only)","u":"/docs/cli-commands/in-chat-commands","h":"#workspace-ide-cli-only","p":11},{"i":21,"t":"Sub-Agents","u":"/docs/cli-commands/in-chat-commands","h":"#sub-agents","p":11},{"i":23,"t":"Background Tasks","u":"/docs/cli-commands/in-chat-commands","h":"#background-tasks","p":11},{"i":25,"t":"Spotify","u":"/docs/cli-commands/in-chat-commands","h":"#spotify","p":11},{"i":27,"t":"Emergency Controls","u":"/docs/cli-commands/in-chat-commands","h":"#emergency-controls","p":11},{"i":29,"t":"Progress View (CLI Only)","u":"/docs/cli-commands/in-chat-commands","h":"#progress-view-cli-only","p":11},{"i":31,"t":"Telegram Management (CLI Only)","u":"/docs/cli-commands/in-chat-commands","h":"#telegram-management-cli-only","p":11},{"i":33,"t":"Telegram-Only Commands","u":"/docs/cli-commands/in-chat-commands","h":"#telegram-only-commands","p":11},{"i":35,"t":"Keyboard Shortcuts (CLI)","u":"/docs/cli-commands/in-chat-commands","h":"#keyboard-shortcuts-cli","p":11},{"i":37,"t":"Slash Command Autocomplete","u":"/docs/cli-commands/in-chat-commands","h":"#slash-command-autocomplete","p":11},{"i":39,"t":"Workspace IDE Shortcuts","u":"/docs/cli-commands/in-chat-commands","h":"#workspace-ide-shortcuts","p":11},{"i":43,"t":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":41},{"i":45,"t":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":41},{"i":47,"t":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":41},{"i":49,"t":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":41},{"i":51,"t":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":41},{"i":53,"t":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":41},{"i":55,"t":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":41},{"i":57,"t":"Background Tasks and Workers","u":"/docs/daemon-mode/daemon-mode","h":"#background-tasks-and-workers","p":41},{"i":59,"t":"Task IDs","u":"/docs/daemon-mode/daemon-mode","h":"#task-ids","p":41},{"i":61,"t":"Shell background tasks","u":"/docs/daemon-mode/daemon-mode","h":"#shell-background-tasks","p":41},{"i":63,"t":"Sub-agent workers","u":"/docs/daemon-mode/daemon-mode","h":"#sub-agent-workers","p":41},{"i":65,"t":"Persistence","u":"/docs/daemon-mode/daemon-mode","h":"#persistence","p":41},{"i":69,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":67},{"i":71,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":67},{"i":73,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":67},{"i":75,"t":"Docker Status","u":"/docs/daemon-mode/platform-guide","h":"#docker-status","p":67},{"i":79,"t":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":77},{"i":85,"t":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":83},{"i":87,"t":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":83},{"i":89,"t":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":83},{"i":93,"t":"Enter Workspace Mode","u":"/docs/integrations/coding-workspace","h":"#enter-workspace-mode","p":91},{"i":95,"t":"Modes","u":"/docs/integrations/coding-workspace","h":"#modes","p":91},{"i":97,"t":"Keyboard Shortcuts","u":"/docs/integrations/coding-workspace","h":"#keyboard-shortcuts","p":91},{"i":99,"t":"Navigation (when input is empty)","u":"/docs/integrations/coding-workspace","h":"#navigation-when-input-is-empty","p":91},{"i":101,"t":"Workspace Commands","u":"/docs/integrations/coding-workspace","h":"#workspace-commands","p":91},{"i":103,"t":"Sub-Agents + Background in Coding","u":"/docs/integrations/coding-workspace","h":"#sub-agents--background-in-coding","p":91},{"i":105,"t":"Progress Tracking","u":"/docs/integrations/coding-workspace","h":"#progress-tracking","p":91},{"i":109,"t":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":107},{"i":111,"t":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":107},{"i":113,"t":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":107},{"i":115,"t":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":107},{"i":117,"t":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":107},{"i":119,"t":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":107},{"i":121,"t":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":107},{"i":123,"t":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":107},{"i":125,"t":"Security","u":"/docs/integrations/github-companion","h":"#security","p":107},{"i":129,"t":"Setup","u":"/docs/integrations/spotify","h":"#setup","p":127},{"i":130,"t":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":127},{"i":132,"t":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":127},{"i":134,"t":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":127},{"i":136,"t":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":127},{"i":138,"t":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":127},{"i":140,"t":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":127},{"i":142,"t":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":127},{"i":144,"t":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":127},{"i":146,"t":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":127},{"i":148,"t":"DJ Mode","u":"/docs/integrations/spotify","h":"#dj-mode","p":127},{"i":150,"t":"Player shortcuts","u":"/docs/integrations/spotify","h":"#player-shortcuts","p":127},{"i":152,"t":"Optional inline album art","u":"/docs/integrations/spotify","h":"#optional-inline-album-art","p":127},{"i":154,"t":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":127},{"i":156,"t":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":127},{"i":158,"t":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":127},{"i":160,"t":"Security","u":"/docs/integrations/spotify","h":"#security","p":127},{"i":162,"t":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":127},{"i":166,"t":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":164},{"i":168,"t":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":164},{"i":170,"t":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":164},{"i":172,"t":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":164},{"i":174,"t":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":164},{"i":176,"t":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":164},{"i":178,"t":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":164},{"i":180,"t":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":164},{"i":182,"t":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":164},{"i":184,"t":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":164},{"i":188,"t":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":186},{"i":190,"t":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":186},{"i":192,"t":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":186},{"i":194,"t":"Bot Commands Menu","u":"/docs/integrations/telegram","h":"#bot-commands-menu","p":186},{"i":196,"t":"Real-Time Task Progress","u":"/docs/integrations/telegram","h":"#real-time-task-progress","p":186},{"i":198,"t":"How It Works","u":"/docs/integrations/telegram","h":"#how-it-works","p":186},{"i":200,"t":"What the Status Card Looks Like","u":"/docs/integrations/telegram","h":"#what-the-status-card-looks-like","p":186},{"i":202,"t":"Single-Message Design","u":"/docs/integrations/telegram","h":"#single-message-design","p":186},{"i":204,"t":"Completion","u":"/docs/integrations/telegram","h":"#completion","p":186},{"i":206,"t":"Permission Mode","u":"/docs/integrations/telegram","h":"#permission-mode","p":186},{"i":208,"t":"Ephemeral Messages","u":"/docs/integrations/telegram","h":"#ephemeral-messages","p":186},{"i":210,"t":"Features","u":"/docs/integrations/telegram","h":"#features","p":186},{"i":212,"t":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":186},{"i":216,"t":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":214},{"i":218,"t":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":214},{"i":220,"t":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":214},{"i":222,"t":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":214},{"i":224,"t":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":214},{"i":226,"t":"Sub-Agent Delegation","u":"/docs/reference/built-in-tools","h":"#sub-agent-delegation","p":214},{"i":228,"t":"Spotify","u":"/docs/reference/built-in-tools","h":"#spotify","p":214},{"i":234,"t":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":232},{"i":236,"t":"How Modes Differ","u":"/docs/reference/permissions","h":"#how-modes-differ","p":232},{"i":238,"t":"\"Always\" Response","u":"/docs/reference/permissions","h":"#always-response","p":232},{"i":240,"t":"Shell Command Tiers","u":"/docs/reference/permissions","h":"#shell-command-tiers","p":232},{"i":241,"t":"1. Blocked (never executed)","u":"/docs/reference/permissions","h":"#1-blocked-never-executed","p":232},{"i":243,"t":"2. Safe Read Commands (auto-approved in any mode)","u":"/docs/reference/permissions","h":"#2-safe-read-commands-auto-approved-in-any-mode","p":232},{"i":245,"t":"3. Everything Else","u":"/docs/reference/permissions","h":"#3-everything-else","p":232},{"i":247,"t":"File System Scopes","u":"/docs/reference/permissions","h":"#file-system-scopes","p":232},{"i":249,"t":"Mercury Autopilot (Loop Detection)","u":"/docs/reference/permissions","h":"#mercury-autopilot-loop-detection","p":232},{"i":251,"t":"How It Works","u":"/docs/reference/permissions","h":"#how-it-works","p":232},{"i":253,"t":"AI Self-Check (Allow All Mode)","u":"/docs/reference/permissions","h":"#ai-self-check-allow-all-mode","p":232},{"i":255,"t":"User Prompt (Ask Me Mode)","u":"/docs/reference/permissions","h":"#user-prompt-ask-me-mode","p":232},{"i":257,"t":"Hard Limits","u":"/docs/reference/permissions","h":"#hard-limits","p":232},{"i":261,"t":"Session Model Switching","u":"/docs/reference/provider-fallback","h":"#session-model-switching","p":259},{"i":263,"t":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":259},{"i":264,"t":"API Key Providers","u":"/docs/reference/provider-fallback","h":"#api-key-providers","p":259},{"i":266,"t":"OAuth Providers (No API Key Needed)","u":"/docs/reference/provider-fallback","h":"#oauth-providers-no-api-key-needed","p":259},{"i":268,"t":"ChatGPT Web (ChatGPT Plus/Pro)","u":"/docs/reference/provider-fallback","h":"#chatgpt-web-chatgpt-pluspro","p":259},{"i":270,"t":"Setup","u":"/docs/reference/provider-fallback","h":"#setup","p":259},{"i":272,"t":"How It Works","u":"/docs/reference/provider-fallback","h":"#how-it-works","p":259},{"i":274,"t":"Available Models","u":"/docs/reference/provider-fallback","h":"#available-models","p":259},{"i":276,"t":"Environment Variables","u":"/docs/reference/provider-fallback","h":"#environment-variables","p":259},{"i":278,"t":"GitHub Copilot","u":"/docs/reference/provider-fallback","h":"#github-copilot","p":259},{"i":280,"t":"Setup","u":"/docs/reference/provider-fallback","h":"#setup-1","p":259},{"i":282,"t":"How It Works","u":"/docs/reference/provider-fallback","h":"#how-it-works-1","p":259},{"i":284,"t":"Available Models","u":"/docs/reference/provider-fallback","h":"#available-models-1","p":259},{"i":286,"t":"Environment Variables","u":"/docs/reference/provider-fallback","h":"#environment-variables-1","p":259},{"i":288,"t":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":259},{"i":292,"t":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":290},{"i":294,"t":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":290},{"i":298,"t":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":296},{"i":300,"t":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":296},{"i":302,"t":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":296},{"i":304,"t":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":296},{"i":306,"t":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":296},{"i":308,"t":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":296},{"i":310,"t":"Troubleshooting","u":"/docs/reference/second-brain","h":"#troubleshooting","p":296},{"i":311,"t":"Native module version mismatch","u":"/docs/reference/second-brain","h":"#native-module-version-mismatch","p":296},{"i":315,"t":"Default skills","u":"/docs/reference/skills","h":"#default-skills","p":313},{"i":317,"t":"Installing","u":"/docs/reference/skills","h":"#installing","p":313},{"i":319,"t":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":313},{"i":321,"t":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":313},{"i":325,"t":"Available release notes","u":"/docs/releases","h":"#available-release-notes","p":323},{"i":329,"t":"Highlights","u":"/docs/releases/1.1.6","h":"#highlights","p":327},{"i":331,"t":"CLI/TUI Improvements","u":"/docs/releases/1.1.6","h":"#clitui-improvements","p":327},{"i":333,"t":"Workspace + Coding","u":"/docs/releases/1.1.6","h":"#workspace--coding","p":327},{"i":335,"t":"Background Tasks + Sub-Agents","u":"/docs/releases/1.1.6","h":"#background-tasks--sub-agents","p":327},{"i":337,"t":"Spotify","u":"/docs/releases/1.1.6","h":"#spotify","p":327},{"i":339,"t":"Docs","u":"/docs/releases/1.1.6","h":"#docs","p":327},{"i":341,"t":"Notes","u":"/docs/releases/1.1.6","h":"#notes","p":327},{"i":345,"t":"Highlights","u":"/docs/releases/1.1.7","h":"#highlights","p":343},{"i":347,"t":"New Providers","u":"/docs/releases/1.1.7","h":"#new-providers","p":343},{"i":349,"t":"Mercury Autopilot (Loop Detection)","u":"/docs/releases/1.1.7","h":"#mercury-autopilot-loop-detection","p":343},{"i":351,"t":"Real-Time Progress & Completion","u":"/docs/releases/1.1.7","h":"#real-time-progress--completion","p":343},{"i":353,"t":"CLI / TUI Improvements","u":"/docs/releases/1.1.7","h":"#cli--tui-improvements","p":343},{"i":355,"t":"Telegram","u":"/docs/releases/1.1.7","h":"#telegram","p":343},{"i":357,"t":"Permissions & Safety","u":"/docs/releases/1.1.7","h":"#permissions--safety","p":343},{"i":359,"t":"Background Tasks","u":"/docs/releases/1.1.7","h":"#background-tasks","p":343},{"i":361,"t":"Documentation & Website","u":"/docs/releases/1.1.7","h":"#documentation--website","p":343},{"i":363,"t":"Notes","u":"/docs/releases/1.1.7","h":"#notes","p":343}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/3",[0,6.105]],["t/9",[1,4.969,2,4.969]],["t/13",[3,6.105]],["t/15",[4,6.105]],["t/17",[5,4.069,6,2.716]],["t/19",[7,3.026,8,3.431,9,2.748]],["t/21",[10,3.126,11,3.008]],["t/23",[12,3.259,13,3.126]],["t/25",[14,4.004]],["t/27",[15,4.969,16,4.427]],["t/29",[9,2.748,17,3.206,18,3.732]],["t/31",[9,2.748,19,3.431,20,2.748]],["t/33",[19,4.069,21,2.901]],["t/35",[9,2.748,22,3.732,23,3.206]],["t/37",[21,2.446,24,4.19,25,4.19]],["t/39",[7,3.026,8,3.431,23,3.206]],["t/43",[26,4.999]],["t/45",[26,4.069,27,4.427]],["t/47",[28,3.622,29,3.622,30,2.616,31,3.226]],["t/49",[32,6.105]],["t/51",[33,6.105]],["t/53",[18,4.427,34,4.427]],["t/55",[35,4.427,36,4.069]],["t/57",[12,2.748,13,2.636,37,3.732]],["t/59",[8,4.069,13,3.126]],["t/61",[12,2.748,13,2.636,38,3.431]],["t/63",[10,2.636,11,2.536,37,3.732]],["t/65",[39,6.105]],["t/69",[20,3.259,40,4.069]],["t/71",[20,3.259,40,4.069]],["t/73",[20,3.259,40,4.069]],["t/75",[36,4.069,41,4.969]],["t/79",[21,2.901,42,4.969]],["t/85",[12,2.748,26,3.431,43,4.19]],["t/87",[27,4.427,44,4.427]],["t/89",[34,4.427,45,4.969]],["t/93",[6,2.29,7,3.026,46,4.19]],["t/95",[6,3.337]],["t/97",[22,4.427,23,3.802]],["t/99",[47,4.19,48,4.19,49,4.19]],["t/101",[7,3.589,21,2.901]],["t/103",[10,2.006,11,1.931,12,2.092,50,1.931,51,2.841]],["t/105",[17,3.802,52,4.969]],["t/109",[31,3.732,53,4.19,54,3.026]],["t/111",[55,4.671]],["t/113",[54,3.026,56,3.431,57,4.19]],["t/115",[58,2.966,59,3.226,60,3.226,61,3.622]],["t/117",[54,2.058,62,2.333,63,2.849,64,2.849,65,2.538,66,2.538]],["t/119",[67,3.622,68,3.226,69,3.622,70,3.226]],["t/121",[54,3.589,71,4.069]],["t/123",[59,3.732,60,3.732,72,4.19]],["t/125",[73,5.438]],["t/129",[55,4.671]],["t/130",[14,1.869,56,2.333,74,2.333,75,2.849,76,2.849,77,2.849]],["t/132",[30,2.616,58,2.966,74,2.966,78,2.771]],["t/134",[14,2.092,62,2.612,74,2.612,79,3.19,80,2.841]],["t/136",[21,3.564]],["t/138",[14,3.259,71,4.069]],["t/140",[80,3.226,81,3.226,82,2.278,83,3.622]],["t/142",[14,2.092,16,2.841,84,3.19,85,3.19,86,3.19]],["t/144",[87,5.438]],["t/146",[9,2.748,44,3.732,88,3.732]],["t/148",[6,2.716,89,4.969]],["t/150",[23,3.802,88,4.427]],["t/152",[70,3.226,90,3.622,91,3.622,92,3.622]],["t/154",[20,3.259,93,4.969]],["t/156",[20,3.259,66,4.427]],["t/158",[94,6.105]],["t/160",[73,5.438]],["t/162",[95,5.438]],["t/166",[10,2.636,11,2.536,96,4.19]],["t/168",[82,3.84]],["t/170",[21,3.564]],["t/172",[71,4.069,97,4.427]],["t/174",[98,6.105]],["t/176",[10,2.278,11,2.192,30,2.616,87,3.226]],["t/178",[11,2.536,82,2.636,99,4.19]],["t/180",[78,4.671]],["t/182",[5,4.069,6,2.716]],["t/184",[5,2.612,6,1.743,10,2.006,11,1.931,50,1.931]],["t/188",[65,4.427,100,3.802]],["t/190",[101,6.105]],["t/192",[9,3.259,21,2.901]],["t/194",[21,2.446,102,4.19,103,4.19]],["t/196",[13,2.278,17,2.771,104,3.226,105,3.226]],["t/198",[82,3.84]],["t/200",[36,3.431,106,4.19,107,4.19]],["t/202",[108,4.19,109,3.431,110,4.19]],["t/204",[111,5.438]],["t/206",[6,2.716,112,4.069]],["t/208",[109,4.069,113,4.969]],["t/210",[114,6.105]],["t/212",[78,4.671]],["t/216",[115,6.105]],["t/218",[109,4.999]],["t/220",[38,4.999]],["t/222",[116,6.105]],["t/224",[117,3.226,118,2.966,119,3.226,120,3.226]],["t/226",[10,2.636,11,2.536,97,3.732]],["t/228",[14,4.004]],["t/234",[6,2.716,112,4.069]],["t/236",[6,2.716,121,4.969]],["t/238",[122,4.969,123,4.969]],["t/240",[21,2.446,38,3.431,124,4.19]],["t/241",[56,2.966,125,3.622,126,3.622,127,3.622]],["t/243",[6,1.407,21,1.503,58,2.108,81,2.294,128,2.575,129,2.575,130,2.575]],["t/245",[62,4.069,131,4.969]],["t/247",[120,3.732,132,4.19,133,4.19]],["t/249",[30,2.616,134,3.226,135,3.226,136,3.226]],["t/251",[82,3.84]],["t/253",[6,1.743,35,2.841,137,3.19,138,3.19,139,3.19]],["t/255",[6,1.98,140,3.622,141,3.622,142,3.622]],["t/257",[143,4.969,144,4.969]],["t/261",[100,3.206,145,4.19,146,4.19]],["t/263",[147,4.969,148,3.589]],["t/264",[148,3.026,149,3.732,150,3.732]],["t/266",[148,2.303,149,2.841,150,2.841,151,3.19,152,3.19]],["t/268",[117,3.226,153,5.358,154,3.622]],["t/270",[55,4.671]],["t/272",[82,3.84]],["t/274",[100,3.802,155,4.069]],["t/276",[156,4.427,157,4.427]],["t/278",[54,3.589,158,4.969]],["t/280",[55,4.671]],["t/282",[82,3.84]],["t/284",[100,3.802,155,4.069]],["t/286",[156,4.427,157,4.427]],["t/288",[78,3.802,148,3.589]],["t/292",[13,3.126,159,4.969]],["t/294",[160,4.19,161,4.19,162,4.19]],["t/298",[82,3.84]],["t/300",[163,4.427,164,4.969]],["t/302",[165,4.969,166,4.969]],["t/304",[167,4.969,168,4.969]],["t/306",[20,3.259,163,4.427]],["t/308",[50,2.536,169,4.19,170,4.19]],["t/310",[95,5.438]],["t/311",[171,3.622,172,3.622,173,3.622,174,3.622]],["t/315",[68,4.427,118,4.069]],["t/317",[175,6.105]],["t/319",[176,6.105]],["t/321",[118,4.069,119,4.427]],["t/325",[155,3.431,177,4.19,178,3.431]],["t/329",[179,5.438]],["t/331",[180,4.969,181,4.427]],["t/333",[7,3.026,50,2.536,51,3.732]],["t/335",[10,2.006,11,1.931,12,2.092,13,2.006,50,1.931]],["t/337",[14,4.004]],["t/339",[182,6.105]],["t/341",[178,4.999]],["t/345",[179,5.438]],["t/347",[148,3.589,183,4.969]],["t/349",[30,2.616,134,3.226,135,3.226,136,3.226]],["t/351",[17,2.44,50,1.931,104,2.841,105,2.841,111,2.841]],["t/353",[9,2.375,50,2.192,181,3.226,184,3.622]],["t/355",[19,4.999]],["t/357",[50,2.536,112,3.431,185,4.19]],["t/359",[12,3.259,13,3.126]],["t/361",[50,2.536,186,4.19,187,4.19]],["t/363",[178,4.999]]],"invertedIndex":[["",{"_index":50,"t":{"103":{"position":[[11,1]]},"184":{"position":[[17,1]]},"308":{"position":[[7,1]]},"333":{"position":[[10,1]]},"335":{"position":[[17,1]]},"351":{"position":[[19,1]]},"353":{"position":[[4,1]]},"357":{"position":[[12,1]]},"361":{"position":[[14,1]]}}}],["1",{"_index":56,"t":{"113":{"position":[[0,2]]},"130":{"position":[[5,2]]},"241":{"position":[[0,2]]}}}],["2",{"_index":58,"t":{"115":{"position":[[0,2]]},"132":{"position":[[5,2]]},"243":{"position":[[0,2]]}}}],["3",{"_index":62,"t":{"117":{"position":[[0,2]]},"134":{"position":[[5,2]]},"245":{"position":[[0,2]]}}}],["4",{"_index":67,"t":{"119":{"position":[[0,2]]}}}],["access",{"_index":65,"t":{"117":{"position":[[24,6]]},"188":{"position":[[0,6]]}}}],["account",{"_index":80,"t":{"134":{"position":[[29,7]]},"140":{"position":[[25,9]]}}}],["agent",{"_index":11,"t":{"21":{"position":[[4,6]]},"63":{"position":[[4,5]]},"103":{"position":[[4,6]]},"166":{"position":[[8,6]]},"176":{"position":[[22,6]]},"178":{"position":[[19,6]]},"184":{"position":[[23,6]]},"226":{"position":[[4,5]]},"335":{"position":[[23,6]]}}}],["ai",{"_index":137,"t":{"253":{"position":[[0,2]]}}}],["album",{"_index":91,"t":{"152":{"position":[[16,5]]}}}],["allow",{"_index":139,"t":{"253":{"position":[[14,6]]}}}],["alway",{"_index":122,"t":{"238":{"position":[[0,8]]}}}],["api",{"_index":149,"t":{"264":{"position":[[0,3]]},"266":{"position":[[20,3]]}}}],["app",{"_index":77,"t":{"130":{"position":[[35,3]]}}}],["approv",{"_index":130,"t":{"243":{"position":[[28,8]]}}}],["architectur",{"_index":98,"t":{"174":{"position":[[0,12]]}}}],["art",{"_index":92,"t":{"152":{"position":[[22,3]]}}}],["ask",{"_index":142,"t":{"255":{"position":[[12,4]]}}}],["author",{"_index":60,"t":{"115":{"position":[[6,8]]},"123":{"position":[[3,8]]}}}],["auto",{"_index":129,"t":{"243":{"position":[[22,5]]}}}],["autocomplet",{"_index":25,"t":{"37":{"position":[[14,12]]}}}],["automat",{"_index":61,"t":{"115":{"position":[[18,11]]}}}],["autopilot",{"_index":134,"t":{"249":{"position":[[8,9]]},"349":{"position":[[8,9]]}}}],["avail",{"_index":155,"t":{"274":{"position":[[0,9]]},"284":{"position":[[0,9]]},"325":{"position":[[0,9]]}}}],["background",{"_index":12,"t":{"23":{"position":[[0,10]]},"57":{"position":[[0,10]]},"61":{"position":[[6,10]]},"85":{"position":[[6,11]]},"103":{"position":[[13,10]]},"335":{"position":[[0,10]]},"359":{"position":[[0,10]]}}}],["block",{"_index":125,"t":{"241":{"position":[[3,7]]}}}],["bot",{"_index":102,"t":{"194":{"position":[[0,3]]}}}],["budget",{"_index":4,"t":{"15":{"position":[[0,6]]}}}],["card",{"_index":106,"t":{"200":{"position":[[16,4]]}}}],["chatgpt",{"_index":153,"t":{"268":{"position":[[0,7],[12,8]]}}}],["check",{"_index":35,"t":{"55":{"position":[[0,5]]},"253":{"position":[[8,5]]}}}],["cli",{"_index":9,"t":{"19":{"position":[[14,4]]},"29":{"position":[[14,4]]},"31":{"position":[[20,4]]},"35":{"position":[[19,5]]},"146":{"position":[[19,5]]},"192":{"position":[[0,3]]},"353":{"position":[[0,3]]}}}],["cli/tui",{"_index":180,"t":{"331":{"position":[[0,7]]}}}],["co",{"_index":59,"t":{"115":{"position":[[3,2]]},"123":{"position":[[0,2]]}}}],["code",{"_index":51,"t":{"103":{"position":[[27,6]]},"333":{"position":[[12,6]]}}}],["command",{"_index":21,"t":{"33":{"position":[[14,8]]},"37":{"position":[[6,7]]},"79":{"position":[[14,8]]},"101":{"position":[[10,8]]},"136":{"position":[[0,8]]},"170":{"position":[[0,8]]},"192":{"position":[[4,8]]},"194":{"position":[[4,8]]},"240":{"position":[[6,7]]},"243":{"position":[[13,8]]}}}],["commit",{"_index":72,"t":{"123":{"position":[[12,7]]}}}],["complet",{"_index":111,"t":{"204":{"position":[[0,10]]},"351":{"position":[[21,10]]}}}],["configur",{"_index":78,"t":{"132":{"position":[[8,9]]},"180":{"position":[[0,13]]},"212":{"position":[[0,13]]},"288":{"position":[[0,11]]}}}],["conflict",{"_index":165,"t":{"302":{"position":[[0,8]]}}}],["connect",{"_index":79,"t":{"134":{"position":[[8,7]]}}}],["control",{"_index":16,"t":{"27":{"position":[[10,8]]},"142":{"position":[[9,7]]}}}],["copilot",{"_index":158,"t":{"278":{"position":[[7,7]]}}}],["creat",{"_index":75,"t":{"130":{"position":[[8,6]]}}}],["daemon",{"_index":43,"t":{"85":{"position":[[18,7]]}}}],["default",{"_index":68,"t":{"119":{"position":[[3,7]]},"315":{"position":[[0,7]]}}}],["delay",{"_index":162,"t":{"294":{"position":[[9,6]]}}}],["deleg",{"_index":97,"t":{"172":{"position":[[0,10]]},"226":{"position":[[10,10]]}}}],["design",{"_index":110,"t":{"202":{"position":[[15,6]]}}}],["detect",{"_index":136,"t":{"249":{"position":[[24,10]]},"349":{"position":[[24,10]]}}}],["develop",{"_index":76,"t":{"130":{"position":[[25,9]]}}}],["devic",{"_index":93,"t":{"154":{"position":[[9,7]]}}}],["diagnost",{"_index":2,"t":{"9":{"position":[[9,11]]}}}],["differ",{"_index":121,"t":{"236":{"position":[[10,6]]}}}],["disabl",{"_index":170,"t":{"308":{"position":[[9,7]]}}}],["disconnect",{"_index":94,"t":{"158":{"position":[[0,13]]}}}],["dj",{"_index":89,"t":{"148":{"position":[[0,2]]}}}],["doc",{"_index":182,"t":{"339":{"position":[[0,4]]}}}],["docker",{"_index":41,"t":{"75":{"position":[[0,6]]}}}],["document",{"_index":186,"t":{"361":{"position":[[0,13]]}}}],["easi",{"_index":28,"t":{"47":{"position":[[4,4]]}}}],["emerg",{"_index":15,"t":{"27":{"position":[[0,9]]}}}],["empti",{"_index":49,"t":{"99":{"position":[[26,6]]}}}],["enabl",{"_index":169,"t":{"308":{"position":[[0,6]]}}}],["enter",{"_index":46,"t":{"93":{"position":[[0,5]]}}}],["environ",{"_index":156,"t":{"276":{"position":[[0,11]]},"286":{"position":[[0,11]]}}}],["ephemer",{"_index":113,"t":{"208":{"position":[[0,9]]}}}],["everyth",{"_index":131,"t":{"245":{"position":[[3,10]]}}}],["evid",{"_index":167,"t":{"304":{"position":[[0,8]]}}}],["execut",{"_index":127,"t":{"241":{"position":[[18,9]]}}}],["featur",{"_index":114,"t":{"210":{"position":[[0,8]]}}}],["file",{"_index":132,"t":{"247":{"position":[[0,4]]}}}],["filesystem",{"_index":115,"t":{"216":{"position":[[0,10]]}}}],["foreground",{"_index":27,"t":{"45":{"position":[[9,10]]},"87":{"position":[[0,10]]}}}],["free",{"_index":83,"t":{"140":{"position":[[20,4]]}}}],["gener",{"_index":3,"t":{"13":{"position":[[0,7]]}}}],["git",{"_index":116,"t":{"222":{"position":[[0,3]]}}}],["github",{"_index":54,"t":{"109":{"position":[[11,7]]},"113":{"position":[[3,6]]},"117":{"position":[[3,6]]},"121":{"position":[[0,6]]},"278":{"position":[[0,6]]}}}],["happen",{"_index":99,"t":{"178":{"position":[[5,7]]}}}],["hard",{"_index":143,"t":{"257":{"position":[[0,4]]}}}],["highlight",{"_index":179,"t":{"329":{"position":[[0,10]]},"345":{"position":[[0,10]]}}}],["id",{"_index":8,"t":{"19":{"position":[[10,3]]},"39":{"position":[[10,3]]},"59":{"position":[[5,3]]}}}],["improv",{"_index":181,"t":{"331":{"position":[[8,12]]},"353":{"position":[[10,12]]}}}],["inlin",{"_index":90,"t":{"152":{"position":[[9,6]]}}}],["input",{"_index":48,"t":{"99":{"position":[[17,5]]}}}],["instal",{"_index":175,"t":{"317":{"position":[[0,10]]}}}],["interact",{"_index":44,"t":{"87":{"position":[[11,13]]},"146":{"position":[[0,11]]}}}],["invok",{"_index":176,"t":{"319":{"position":[[0,8]]}}}],["key",{"_index":150,"t":{"264":{"position":[[4,3]]},"266":{"position":[[24,3]]}}}],["keyboard",{"_index":22,"t":{"35":{"position":[[0,8]]},"97":{"position":[[0,8]]}}}],["kind",{"_index":168,"t":{"304":{"position":[[9,5]]}}}],["limit",{"_index":144,"t":{"257":{"position":[[5,6]]}}}],["log",{"_index":34,"t":{"53":{"position":[[5,4]]},"89":{"position":[[8,7]]}}}],["look",{"_index":107,"t":{"200":{"position":[[21,5]]}}}],["loop",{"_index":135,"t":{"249":{"position":[[18,5]]},"349":{"position":[[18,5]]}}}],["manag",{"_index":20,"t":{"31":{"position":[[9,10]]},"69":{"position":[[7,10]]},"71":{"position":[[7,10]]},"73":{"position":[[7,10]]},"154":{"position":[[0,8]]},"156":{"position":[[6,10]]},"306":{"position":[[0,8]]}}}],["manual",{"_index":40,"t":{"69":{"position":[[0,6]]},"71":{"position":[[0,6]]},"73":{"position":[[0,6]]}}}],["matter",{"_index":96,"t":{"166":{"position":[[15,6]]}}}],["memori",{"_index":163,"t":{"300":{"position":[[0,6]]},"306":{"position":[[9,6]]}}}],["menu",{"_index":103,"t":{"194":{"position":[[13,4]]}}}],["mercuri",{"_index":30,"t":{"47":{"position":[[14,7]]},"132":{"position":[[18,7]]},"176":{"position":[[5,7]]},"249":{"position":[[0,7]]},"349":{"position":[[0,7]]}}}],["messag",{"_index":109,"t":{"202":{"position":[[7,7]]},"208":{"position":[[10,8]]},"218":{"position":[[0,9]]}}}],["mismatch",{"_index":174,"t":{"311":{"position":[[22,8]]}}}],["mode",{"_index":6,"t":{"17":{"position":[[12,4]]},"93":{"position":[[16,4]]},"95":{"position":[[0,5]]},"148":{"position":[[3,4]]},"182":{"position":[[12,4]]},"184":{"position":[[12,4]]},"206":{"position":[[11,4]]},"234":{"position":[[11,5]]},"236":{"position":[[4,5]]},"243":{"position":[[44,5]]},"253":{"position":[[25,5]]},"255":{"position":[[20,5]]}}}],["model",{"_index":100,"t":{"188":{"position":[[7,5]]},"261":{"position":[[8,5]]},"274":{"position":[[10,6]]},"284":{"position":[[10,6]]}}}],["modul",{"_index":172,"t":{"311":{"position":[[7,6]]}}}],["nativ",{"_index":171,"t":{"311":{"position":[[0,6]]}}}],["navig",{"_index":47,"t":{"99":{"position":[[0,10]]}}}],["need",{"_index":152,"t":{"266":{"position":[[28,7]]}}}],["never",{"_index":126,"t":{"241":{"position":[[11,6]]}}}],["new",{"_index":183,"t":{"347":{"position":[[0,3]]}}}],["note",{"_index":178,"t":{"325":{"position":[[18,5]]},"341":{"position":[[0,5]]},"363":{"position":[[0,5]]}}}],["oauth",{"_index":151,"t":{"266":{"position":[[0,5]]}}}],["on",{"_index":160,"t":{"294":{"position":[[0,3]]}}}],["option",{"_index":70,"t":{"119":{"position":[[16,10]]},"152":{"position":[[0,8]]}}}],["pat",{"_index":63,"t":{"117":{"position":[[10,3]]}}}],["permiss",{"_index":112,"t":{"206":{"position":[[0,10]]},"234":{"position":[[0,10]]},"357":{"position":[[0,11]]}}}],["persist",{"_index":39,"t":{"65":{"position":[[0,11]]}}}],["person",{"_index":64,"t":{"117":{"position":[[14,9]]}}}],["platform",{"_index":1,"t":{"9":{"position":[[0,8]]}}}],["playback",{"_index":84,"t":{"142":{"position":[[0,8]]}}}],["player",{"_index":88,"t":{"146":{"position":[[12,6]]},"150":{"position":[[0,6]]}}}],["plus/pro",{"_index":154,"t":{"268":{"position":[[21,9]]}}}],["premium",{"_index":86,"t":{"142":{"position":[[35,8]]}}}],["program",{"_index":5,"t":{"17":{"position":[[0,11]]},"182":{"position":[[0,11]]},"184":{"position":[[0,11]]}}}],["progress",{"_index":17,"t":{"29":{"position":[[0,8]]},"105":{"position":[[0,8]]},"196":{"position":[[15,8]]},"351":{"position":[[10,8]]}}}],["prompt",{"_index":141,"t":{"255":{"position":[[5,6]]}}}],["provid",{"_index":148,"t":{"263":{"position":[[10,9]]},"264":{"position":[[8,9]]},"266":{"position":[[6,9]]},"288":{"position":[[12,9]]},"347":{"position":[[4,9]]}}}],["read",{"_index":81,"t":{"140":{"position":[[0,4]]},"243":{"position":[[8,4]]}}}],["real",{"_index":104,"t":{"196":{"position":[[0,4]]},"351":{"position":[[0,4]]}}}],["recur",{"_index":159,"t":{"292":{"position":[[0,9]]}}}],["releas",{"_index":177,"t":{"325":{"position":[[10,7]]}}}],["repo",{"_index":69,"t":{"119":{"position":[[11,4]]}}}],["requir",{"_index":85,"t":{"142":{"position":[[17,9]]}}}],["resolut",{"_index":166,"t":{"302":{"position":[[9,10]]}}}],["respons",{"_index":123,"t":{"238":{"position":[[9,8]]}}}],["restart",{"_index":33,"t":{"51":{"position":[[0,7]]}}}],["role",{"_index":101,"t":{"190":{"position":[[0,5]]}}}],["safe",{"_index":128,"t":{"243":{"position":[[3,4]]}}}],["safeti",{"_index":185,"t":{"357":{"position":[[14,6]]}}}],["schedul",{"_index":119,"t":{"224":{"position":[[13,10]]},"321":{"position":[[0,10]]}}}],["scope",{"_index":133,"t":{"247":{"position":[[12,6]]}}}],["secur",{"_index":73,"t":{"125":{"position":[[0,8]]},"160":{"position":[[0,8]]}}}],["self",{"_index":138,"t":{"253":{"position":[[3,4]]}}}],["servic",{"_index":42,"t":{"79":{"position":[[6,7]]}}}],["session",{"_index":145,"t":{"261":{"position":[[0,7]]}}}],["set",{"_index":53,"t":{"109":{"position":[[4,3]]}}}],["setup",{"_index":55,"t":{"111":{"position":[[0,5]]},"129":{"position":[[0,5]]},"270":{"position":[[0,5]]},"280":{"position":[[0,5]]}}}],["shell",{"_index":38,"t":{"61":{"position":[[0,5]]},"220":{"position":[[0,5]]},"240":{"position":[[0,5]]}}}],["shortcut",{"_index":23,"t":{"35":{"position":[[9,9]]},"39":{"position":[[14,9]]},"97":{"position":[[9,9]]},"150":{"position":[[7,9]]}}}],["shot",{"_index":161,"t":{"294":{"position":[[4,4]]}}}],["singl",{"_index":108,"t":{"202":{"position":[[0,6]]}}}],["skill",{"_index":118,"t":{"224":{"position":[[5,7]]},"315":{"position":[[8,6]]},"321":{"position":[[13,5]]}}}],["slash",{"_index":24,"t":{"37":{"position":[[0,5]]}}}],["spotifi",{"_index":14,"t":{"25":{"position":[[0,7]]},"130":{"position":[[17,7]]},"134":{"position":[[21,7]]},"138":{"position":[[0,7]]},"142":{"position":[[27,7]]},"228":{"position":[[0,7]]},"337":{"position":[[0,7]]}}}],["start",{"_index":26,"t":{"43":{"position":[[0,5]]},"45":{"position":[[0,5]]},"85":{"position":[[0,5]]}}}],["statu",{"_index":36,"t":{"55":{"position":[[6,6]]},"75":{"position":[[7,6]]},"200":{"position":[[9,6]]}}}],["step",{"_index":74,"t":{"130":{"position":[[0,4]]},"132":{"position":[[0,4]]},"134":{"position":[[0,4]]}}}],["stop",{"_index":32,"t":{"49":{"position":[[0,4]]}}}],["sub",{"_index":10,"t":{"21":{"position":[[0,3]]},"63":{"position":[[0,3]]},"103":{"position":[[0,3]]},"166":{"position":[[4,3]]},"176":{"position":[[18,3]]},"184":{"position":[[19,3]]},"226":{"position":[[0,3]]},"335":{"position":[[19,3]]}}}],["support",{"_index":147,"t":{"263":{"position":[[0,9]]}}}],["switch",{"_index":146,"t":{"261":{"position":[[14,9]]}}}],["system",{"_index":120,"t":{"224":{"position":[[24,6]]},"247":{"position":[[5,6]]}}}],["task",{"_index":13,"t":{"23":{"position":[[11,5]]},"57":{"position":[[11,5]]},"59":{"position":[[0,4]]},"61":{"position":[[17,5]]},"196":{"position":[[10,4]]},"292":{"position":[[10,5]]},"335":{"position":[[11,5]]},"359":{"position":[[11,5]]}}}],["telegram",{"_index":19,"t":{"31":{"position":[[0,8]]},"33":{"position":[[0,8]]},"355":{"position":[[0,8]]}}}],["tier",{"_index":124,"t":{"240":{"position":[[14,5]]}}}],["time",{"_index":105,"t":{"196":{"position":[[5,4]]},"351":{"position":[[5,4]]}}}],["token",{"_index":66,"t":{"117":{"position":[[31,6]]},"156":{"position":[[0,5]]}}}],["tool",{"_index":71,"t":{"121":{"position":[[7,5]]},"138":{"position":[[8,5]]},"172":{"position":[[11,5]]}}}],["track",{"_index":52,"t":{"105":{"position":[[9,8]]}}}],["troubleshoot",{"_index":95,"t":{"162":{"position":[[0,15]]},"310":{"position":[[0,15]]}}}],["tui",{"_index":184,"t":{"353":{"position":[[6,3]]}}}],["type",{"_index":164,"t":{"300":{"position":[[7,5]]}}}],["up",{"_index":31,"t":{"47":{"position":[[22,2]]},"109":{"position":[[8,2]]}}}],["upgrad",{"_index":0,"t":{"3":{"position":[[0,7]]}}}],["us",{"_index":87,"t":{"144":{"position":[[0,5]]},"176":{"position":[[13,4]]}}}],["user",{"_index":140,"t":{"255":{"position":[[0,4]]}}}],["usernam",{"_index":57,"t":{"113":{"position":[[10,8]]}}}],["variabl",{"_index":157,"t":{"276":{"position":[[12,9]]},"286":{"position":[[12,9]]}}}],["verbos",{"_index":45,"t":{"89":{"position":[[0,7]]}}}],["version",{"_index":173,"t":{"311":{"position":[[14,7]]}}}],["view",{"_index":18,"t":{"29":{"position":[[9,4]]},"53":{"position":[[0,4]]}}}],["way",{"_index":29,"t":{"47":{"position":[[9,4]]}}}],["web",{"_index":117,"t":{"224":{"position":[[0,4]]},"268":{"position":[[8,3]]}}}],["websit",{"_index":187,"t":{"361":{"position":[[16,7]]}}}],["work",{"_index":82,"t":{"140":{"position":[[10,6]]},"168":{"position":[[7,5]]},"178":{"position":[[26,4]]},"198":{"position":[[7,5]]},"251":{"position":[[7,5]]},"272":{"position":[[7,5]]},"282":{"position":[[7,5]]},"298":{"position":[[7,5]]}}}],["worker",{"_index":37,"t":{"57":{"position":[[21,7]]},"63":{"position":[[10,7]]}}}],["workspac",{"_index":7,"t":{"19":{"position":[[0,9]]},"39":{"position":[[0,9]]},"93":{"position":[[6,9]]},"101":{"position":[[0,9]]},"333":{"position":[[0,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":1,"t":"Mercury requires Node.js 20+. Install with npm:","s":"Installation","u":"/docs","p":1},{"i":5,"t":"| Command | Description |","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","p":5},{"i":7,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","p":7},{"i":11,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","p":11},{"i":41,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","p":41},{"i":67,"t":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","p":67},{"i":77,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","p":77},{"i":81,"t":"Run mercury for the first time. The onboarding wizard asks for:","s":"First-Time Setup","u":"/docs/getting-started/setup","p":81},{"i":83,"t":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.","s":"Starting Mercury","u":"/docs/getting-started/starting","p":83},{"i":91,"t":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","s":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","p":91},{"i":107,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","s":"GitHub Companion","u":"/docs/integrations/github-companion","p":107},{"i":127,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest.","s":"Spotify Integration","u":"/docs/integrations/spotify","p":127},{"i":164,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","p":164},{"i":186,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress.","s":"Telegram","u":"/docs/integrations/telegram","p":186},{"i":214,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","p":214},{"i":230,"t":"All runtime data lives in ~/.mercury/ — not in your project directory.","s":"Configuration","u":"/docs/reference/configuration","p":230},{"i":232,"t":"Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between Ask Me and Allow All modes.","s":"Permissions","u":"/docs/reference/permissions","p":232},{"i":259,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","p":259},{"i":290,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","p":290},{"i":296,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","p":296},{"i":313,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","s":"Skills","u":"/docs/reference/skills","p":313},{"i":323,"t":"This section tracks Mercury release notes by version.","s":"Releases","u":"/docs/releases","p":323},{"i":327,"t":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","s":"v1.1.6","u":"/docs/releases/1.1.6","p":327},{"i":343,"t":"Release 1.1.7 brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot.","s":"v1.1.7","u":"/docs/releases/1.1.7","p":343}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,0.198,1,3.691,2,3.691,3,3.691,4,2.25,5,3.691]],["t/5",[6,2.199,7,3.139,8,3.835]],["t/7",[0,0.133,9,2.483,10,2.483,11,1.513,12,2.483,13,2.032,14,2.483,15,3.544,16,2.483,17,2.483,18,2.483,19,2.483,20,2.483,21,2.032,22,2.483,23,2.032,24,2.032,25,2.483]],["t/11",[0,0.152,23,2.325,26,2.325,27,1.36,28,1.985,29,2.84,30,1.985,31,1.529,32,2.84,33,2.84,34,2.84,35,2.84,36,2.84,37,2.325]],["t/41",[0,0.162,11,1.837,21,2.467,28,2.106,31,1.622,38,2.467,39,2.467,40,3.014,41,2.467,42,1.837,43,3.014,44,2.467]],["t/67",[0,0.198,4,2.25,45,2.58,46,3.021,47,3.691,48,3.691]],["t/77",[0,0.178,4,2.023,45,2.319,49,2.023,50,2.716,51,2.319,52,3.319,53,3.319,54,3.319]],["t/81",[0,0.191,11,2.169,13,2.912,55,2.912,56,2.487,57,3.558,58,2.912]],["t/83",[0,0.152,4,1.731,11,2.373,39,2.325,45,1.985,49,1.731,50,2.325,59,2.84,60,2.84,61,2.325,62,2.84,63,2.84,64,2.325]],["t/91",[0,0.172,30,2.244,65,3.21,66,2.628,67,3.21,68,2.628,69,2.244,70,2.628,71,2.628,72,3.21]],["t/107",[0,0.093,6,1.162,27,0.832,31,0.936,44,1.423,46,1.423,70,1.423,73,1.738,74,2.222,75,1.738,76,1.738,77,1.738,78,1.738,79,1.738,80,2.222,81,1.738,82,1.738,83,1.738,84,1.738,85,1.738,86,1.423,87,1.423,88,1.423,89,1.738,90,1.738,91,1.738,92,1.738,93,1.738,94,1.423,95,1.423,96,1.738,97,1.738,98,1.738]],["t/127",[0,0.166,6,0.884,27,0.989,80,1.691,86,1.691,87,1.691,99,1.691,100,2.066,101,2.066,102,2.066,103,1.691,104,2.066,105,2.066,106,3.098,107,2.066,108,2.066,109,2.066,110,2.066,111,2.066,112,2.066,113,2.066,114,2.066,115,2.066,116,1.691,117,2.066]],["t/164",[0,0.18,6,0.988,27,1.105,28,1.613,42,1.407,64,1.889,69,1.613,116,1.889,118,2.308,119,2.308,120,2.308,121,2.308,122,2.308,123,2.308,124,2.35,125,2.308,126,2.308,127,2.308,128,2.308,129,2.308]],["t/186",[0,0.13,31,1.303,37,1.982,42,1.476,55,1.982,56,1.692,99,1.982,130,2.422,131,2.422,132,1.692,133,2.422,134,2.422,135,2.422,136,2.422,137,2.422,138,2.422,139,2.422,140,2.422,141,1.982,142,1.982]],["t/214",[0,0.162,6,1.29,7,2.467,26,2.467,27,1.443,30,2.106,94,2.467,95,2.467,124,2.106,143,2.467,144,3.014,145,3.014]],["t/230",[0,0.191,6,1.523,146,3.558,147,3.558,148,2.912,149,2.912,150,3.558]],["t/232",[0,0.148,49,1.683,58,2.26,69,1.929,103,2.26,124,1.929,151,2.761,152,2.761,153,2.761,154,2.761,155,2.761,156,2.761,157,2.761,158,2.761,159,2.761]],["t/259",[0,0.187,51,1.692,88,1.982,132,2.848,160,2.422,161,2.422,162,3.481,163,2.422,164,2.422,165,2.422,166,2.422,167,2.422,168,1.982,169,2.422,170,2.422,171,2.422]],["t/290",[0,0.178,41,2.716,42,2.023,143,2.716,168,2.716,172,3.319,173,3.319,174,3.319,175,3.319]],["t/296",[0,0.137,6,1.09,27,1.219,51,1.78,61,2.084,149,2.084,176,2.547,177,2.547,178,2.547,179,2.547,180,2.547,181,2.547,182,2.547,183,2.547,184,2.547,185,2.547,186,2.547,187,2.547]],["t/313",[148,3.021,188,3.691,189,3.691,190,3.691,191,3.691,192,3.691]],["t/323",[0,0.198,193,3.691,194,3.691,195,2.58,196,3.691,197,3.691]],["t/327",[38,2.325,66,2.325,68,2.325,71,2.325,195,1.985,198,2.84,199,2.325,200,2.84,201,2.84,202,2.84,203,2.84,204,2.84,205,2.84,206,2.84]],["t/343",[0,0.104,24,1.591,31,1.046,49,1.185,56,1.359,74,1.591,132,1.359,141,1.591,142,1.591,195,1.359,199,1.591,207,1.944,208,1.944,209,1.944,210,1.944,211,1.944,212,1.944,213,2.959,214,1.944,215,1.944,216,1.944,217,1.944,218,1.944,219,1.944,220,1.944,221,1.944,222,1.944,223,1.944,224,1.944]]],"invertedIndex":[["",{"_index":6,"t":{"5":{"position":[[0,1],[10,1],[24,1]]},"107":{"position":[[41,1],[130,1]]},"127":{"position":[[50,1]]},"164":{"position":[[29,1]]},"214":{"position":[[91,1]]},"230":{"position":[[38,1]]},"296":{"position":[[159,1]]}}}],["1.1.6",{"_index":198,"t":{"327":{"position":[[8,5]]}}}],["1.1.7",{"_index":207,"t":{"343":{"position":[[8,5]]}}}],["20",{"_index":3,"t":{"1":{"position":[[25,4]]}}}],["account",{"_index":101,"t":{"127":{"position":[[33,7]]}}}],["act",{"_index":73,"t":{"107":{"position":[[12,3]]}}}],["action",{"_index":153,"t":{"232":{"position":[[59,7]]}}}],["agent",{"_index":124,"t":{"164":{"position":[[78,6],[161,5]]},"214":{"position":[[97,5]]},"232":{"position":[[71,5]]}}}],["ai",{"_index":123,"t":{"164":{"position":[[75,2]]}}}],["allow",{"_index":159,"t":{"232":{"position":[[141,5]]}}}],["alongsid",{"_index":92,"t":{"107":{"position":[[216,9]]}}}],["api",{"_index":36,"t":{"11":{"position":[[127,3]]}}}],["app",{"_index":112,"t":{"127":{"position":[[175,3]]}}}],["approv",{"_index":139,"t":{"186":{"position":[[118,8]]}}}],["ask",{"_index":58,"t":{"81":{"position":[[54,4]]},"232":{"position":[[130,3]]}}}],["author",{"_index":84,"t":{"107":{"position":[[113,8]]}}}],["automat",{"_index":51,"t":{"77":{"position":[[49,13]]},"259":{"position":[[77,14]]},"296":{"position":[[97,13]]}}}],["autopilot",{"_index":214,"t":{"343":{"position":[[121,9]]}}}],["back",{"_index":165,"t":{"259":{"position":[[72,4]]}}}],["background",{"_index":38,"t":{"41":{"position":[[18,10]]},"327":{"position":[[70,10]]}}}],["base",{"_index":190,"t":{"313":{"position":[[20,5]]}}}],["behavior",{"_index":155,"t":{"232":{"position":[[91,8]]}}}],["between",{"_index":158,"t":{"232":{"position":[[122,7]]}}}],["boot",{"_index":52,"t":{"77":{"position":[[66,4]]}}}],["bot",{"_index":131,"t":{"186":{"position":[[35,3]]}}}],["both",{"_index":29,"t":{"11":{"position":[[60,4]]}}}],["bring",{"_index":208,"t":{"343":{"position":[[14,6]]}}}],["browser",{"_index":110,"t":{"127":{"position":[[158,7]]}}}],["built",{"_index":94,"t":{"107":{"position":[[236,5]]},"214":{"position":[[14,5]]}}}],["call",{"_index":145,"t":{"214":{"position":[[119,4]]}}}],["chang",{"_index":128,"t":{"164":{"position":[[180,7]]}}}],["chatbot",{"_index":119,"t":{"164":{"position":[[21,7]]}}}],["chatgpt",{"_index":210,"t":{"343":{"position":[[39,8]]}}}],["chill",{"_index":115,"t":{"127":{"position":[[210,5]]}}}],["cli",{"_index":30,"t":{"11":{"position":[[65,3]]},"91":{"position":[[19,3]]},"214":{"position":[[78,3]]}}}],["cli/tui",{"_index":200,"t":{"327":{"position":[[33,7]]}}}],["close",{"_index":43,"t":{"41":{"position":[[100,5]]}}}],["co",{"_index":83,"t":{"107":{"position":[[110,2]]}}}],["code",{"_index":72,"t":{"91":{"position":[[71,7]]}}}],["command",{"_index":7,"t":{"5":{"position":[[2,7]]},"214":{"position":[[82,8]]}}}],["commit",{"_index":85,"t":{"107":{"position":[[122,7]]}}}],["companion",{"_index":75,"t":{"107":{"position":[[31,9]]}}}],["concurr",{"_index":125,"t":{"164":{"position":[[101,12]]}}}],["configur",{"_index":88,"t":{"107":{"position":[[171,11]]},"259":{"position":[[0,9]]}}}],["connect",{"_index":99,"t":{"127":{"position":[[8,8]]},"186":{"position":[[8,8]]}}}],["consum",{"_index":35,"t":{"11":{"position":[[119,7]]}}}],["continu",{"_index":126,"t":{"164":{"position":[[120,10]]}}}],["control",{"_index":103,"t":{"127":{"position":[[52,7]]},"232":{"position":[[45,8]]}}}],["convers",{"_index":27,"t":{"11":{"position":[[20,12]]},"107":{"position":[[152,13]]},"127":{"position":[[141,13]]},"164":{"position":[[135,13]]},"214":{"position":[[49,14]]},"296":{"position":[[66,13]]}}}],["copilot",{"_index":212,"t":{"343":{"position":[[63,9]]}}}],["coverag",{"_index":206,"t":{"327":{"position":[[113,9]]}}}],["crash",{"_index":54,"t":{"77":{"position":[[87,6]]}}}],["creat",{"_index":46,"t":{"67":{"position":[[24,7]]},"107":{"position":[[43,8]]}}}],["cron",{"_index":172,"t":{"290":{"position":[[33,4]]}}}],["current",{"_index":14,"t":{"7":{"position":[[50,7]]}}}],["daemon",{"_index":39,"t":{"41":{"position":[[29,6]]},"83":{"position":[[95,7]]}}}],["data",{"_index":147,"t":{"230":{"position":[[12,4]]}}}],["decid",{"_index":144,"t":{"214":{"position":[[103,7]]}}}],["default",{"_index":40,"t":{"41":{"position":[[39,8]]}}}],["delay",{"_index":175,"t":{"290":{"position":[[62,7]]}}}],["descript",{"_index":8,"t":{"5":{"position":[[12,11]]}}}],["detect",{"_index":217,"t":{"343":{"position":[[153,10]]}}}],["devic",{"_index":109,"t":{"127":{"position":[[117,7]]}}}],["differ",{"_index":156,"t":{"232":{"position":[[100,7]]}}}],["directori",{"_index":150,"t":{"230":{"position":[[60,10]]}}}],["dj",{"_index":108,"t":{"127":{"position":[[106,2]]}}}],["doc",{"_index":205,"t":{"327":{"position":[[108,4]]}}}],["doctor",{"_index":9,"t":{"7":{"position":[[8,6]]}}}],["dure",{"_index":26,"t":{"11":{"position":[[11,6]]},"214":{"position":[[42,6]]}}}],["easiest",{"_index":59,"t":{"83":{"position":[[4,7]]}}}],["enabl",{"_index":179,"t":{"296":{"position":[[85,8]]}}}],["ensur",{"_index":63,"t":{"83":{"position":[[107,7]]}}}],["enter",{"_index":19,"t":{"7":{"position":[[83,5]]}}}],["execut",{"_index":203,"t":{"327":{"position":[[81,9]]}}}],["express",{"_index":173,"t":{"290":{"position":[[38,11]]}}}],["extens",{"_index":191,"t":{"313":{"position":[[26,10]]}}}],["extract",{"_index":180,"t":{"296":{"position":[[111,9]]}}}],["fact",{"_index":183,"t":{"296":{"position":[[143,5]]}}}],["fail",{"_index":166,"t":{"259":{"position":[[108,6]]}}}],["fall",{"_index":164,"t":{"259":{"position":[[66,5]]}}}],["field",{"_index":20,"t":{"7":{"position":[[96,5]]}}}],["file",{"_index":136,"t":{"186":{"position":[[97,4]]}}}],["fill",{"_index":17,"t":{"7":{"position":[[69,7]]}}}],["first",{"_index":55,"t":{"81":{"position":[[20,5]]},"186":{"position":[[65,5]]}}}],["five",{"_index":89,"t":{"107":{"position":[[183,4]]}}}],["flow",{"_index":202,"t":{"327":{"position":[[64,5]]}}}],["focus",{"_index":71,"t":{"91":{"position":[[63,7]]},"327":{"position":[[14,7]]}}}],["full",{"_index":219,"t":{"343":{"position":[[199,4]]}}}],["fundament",{"_index":129,"t":{"164":{"position":[[206,14]]}}}],["github",{"_index":74,"t":{"107":{"position":[[24,6],[188,6]]},"343":{"position":[[56,6]]}}}],["goal",{"_index":185,"t":{"296":{"position":[[179,6]]}}}],["grow",{"_index":178,"t":{"296":{"position":[[49,5]]}}}],["habit",{"_index":186,"t":{"296":{"position":[[196,7]]}}}],["handl",{"_index":116,"t":{"127":{"position":[[235,7]]},"164":{"position":[[88,6]]}}}],["id",{"_index":66,"t":{"91":{"position":[[23,3]]},"327":{"position":[[60,3]]}}}],["improv",{"_index":218,"t":{"343":{"position":[[179,13]]}}}],["includ",{"_index":65,"t":{"91":{"position":[[8,8]]}}}],["inlin",{"_index":138,"t":{"186":{"position":[[111,6]]}}}],["instal",{"_index":4,"t":{"1":{"position":[[30,7]]},"67":{"position":[[16,7]]},"77":{"position":[[0,7]]},"83":{"position":[[45,8]]}}}],["intellig",{"_index":215,"t":{"343":{"position":[[136,11]]}}}],["interact",{"_index":222,"t":{"343":{"position":[[235,11]]}}}],["interfac",{"_index":134,"t":{"186":{"position":[[71,9]]}}}],["isn't",{"_index":118,"t":{"164":{"position":[[8,5]]}}}],["issu",{"_index":81,"t":{"107":{"position":[[91,7]]}}}],["it'",{"_index":64,"t":{"83":{"position":[[115,4]]},"164":{"position":[[31,4]]}}}],["keep",{"_index":21,"t":{"7":{"position":[[105,4]]},"41":{"position":[[77,4]]}}}],["keyboard",{"_index":140,"t":{"186":{"position":[[127,10]]}}}],["killipi",{"_index":223,"t":{"343":{"position":[[247,7]]}}}],["land",{"_index":220,"t":{"343":{"position":[[204,7]]}}}],["last",{"_index":170,"t":{"259":{"position":[[160,4]]}}}],["launchag",{"_index":47,"t":{"67":{"position":[[34,11]]}}}],["layer",{"_index":151,"t":{"232":{"position":[[14,7]]}}}],["leav",{"_index":98,"t":{"107":{"position":[[294,7]]}}}],["let",{"_index":96,"t":{"107":{"position":[[254,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":48,"t":{"67":{"position":[[49,53]]}}}],["live",{"_index":148,"t":{"230":{"position":[[17,5]]},"313":{"position":[[42,4]]}}}],["llm",{"_index":161,"t":{"259":{"position":[[19,3]]}}}],["loop",{"_index":216,"t":{"343":{"position":[[148,4]]}}}],["major",{"_index":199,"t":{"327":{"position":[[27,5]]},"343":{"position":[[164,5]]}}}],["make",{"_index":82,"t":{"107":{"position":[[103,6]]}}}],["manag",{"_index":80,"t":{"107":{"position":[[82,8],[266,6]]},"127":{"position":[[84,6]]}}}],["mark",{"_index":33,"t":{"11":{"position":[[89,6]]}}}],["markdown",{"_index":189,"t":{"313":{"position":[[11,8]]}}}],["mascot",{"_index":224,"t":{"343":{"position":[[255,7]]}}}],["memori",{"_index":177,"t":{"296":{"position":[[37,6]]}}}],["mercuri",{"_index":0,"t":{"1":{"position":[[0,7]]},"7":{"position":[[0,7]]},"11":{"position":[[38,8]]},"41":{"position":[[0,7]]},"67":{"position":[[0,7]]},"77":{"position":[[8,7]]},"81":{"position":[[4,7]]},"83":{"position":[[23,7]]},"91":{"position":[[0,7]]},"107":{"position":[[0,7]]},"127":{"position":[[0,7],[227,7]]},"164":{"position":[[0,7],[192,7]]},"186":{"position":[[0,7]]},"214":{"position":[[0,7]]},"230":{"position":[[26,11]]},"232":{"position":[[0,7]]},"259":{"position":[[34,7],[115,7]]},"290":{"position":[[0,7]]},"296":{"position":[[0,7]]},"323":{"position":[[20,7]]},"343":{"position":[[113,7]]}}}],["mercury'",{"_index":93,"t":{"107":{"position":[[226,9]]}}}],["mercury/skills//skill.md",{"_index":192,"t":{"313":{"position":[[50,28]]}}}],["mobil",{"_index":133,"t":{"186":{"position":[[58,6]]}}}],["mode",{"_index":69,"t":{"91":{"position":[[43,4]]},"164":{"position":[[167,5]]},"232":{"position":[[151,6]]}}}],["more",{"_index":187,"t":{"296":{"position":[[208,5]]}}}],["multipl",{"_index":160,"t":{"259":{"position":[[10,8]]}}}],["music",{"_index":106,"t":{"127":{"position":[[77,6],[216,6]]}}}],["nativ",{"_index":102,"t":{"127":{"position":[[41,8]]}}}],["natur",{"_index":87,"t":{"107":{"position":[[144,7]]},"127":{"position":[[133,7]]}}}],["need",{"_index":62,"t":{"83":{"position":[[76,7]]}}}],["new",{"_index":24,"t":{"7":{"position":[[134,3]]},"343":{"position":[[25,3]]}}}],["next",{"_index":167,"t":{"259":{"position":[[133,4]]}}}],["node.j",{"_index":2,"t":{"1":{"position":[[17,7]]}}}],["note",{"_index":196,"t":{"323":{"position":[[36,5]]}}}],["npm",{"_index":5,"t":{"1":{"position":[[43,4]]}}}],["on",{"_index":168,"t":{"259":{"position":[[138,3]]},"290":{"position":[[53,3]]}}}],["onboard",{"_index":57,"t":{"81":{"position":[[36,10]]}}}],["orchestr",{"_index":120,"t":{"164":{"position":[[39,13]]}}}],["order",{"_index":163,"t":{"259":{"position":[[56,5]]}}}],["otherwis",{"_index":34,"t":{"11":{"position":[[96,10]]}}}],["page",{"_index":221,"t":{"343":{"position":[[212,4]]}}}],["parallel",{"_index":122,"t":{"164":{"position":[[66,8]]}}}],["permiss",{"_index":152,"t":{"232":{"position":[[22,10]]}}}],["persist",{"_index":61,"t":{"83":{"position":[[31,13]]},"296":{"position":[[14,11]]}}}],["play",{"_index":114,"t":{"127":{"position":[[199,5]]}}}],["playback",{"_index":104,"t":{"127":{"position":[[60,9]]}}}],["playlist",{"_index":107,"t":{"127":{"position":[[91,10]]}}}],["pr",{"_index":79,"t":{"107":{"position":[[77,4]]}}}],["pre",{"_index":16,"t":{"7":{"position":[[65,3]]}}}],["prefer",{"_index":184,"t":{"296":{"position":[[166,12]]}}}],["press",{"_index":18,"t":{"7":{"position":[[77,5]]}}}],["progress",{"_index":142,"t":{"186":{"position":[[157,9]]},"343":{"position":[[96,8]]}}}],["project",{"_index":149,"t":{"230":{"position":[[52,7]]},"296":{"position":[[186,9]]}}}],["provid",{"_index":132,"t":{"186":{"position":[[46,9]]},"259":{"position":[[23,10],[99,8],[176,9]]},"343":{"position":[[29,9]]}}}],["pull",{"_index":76,"t":{"107":{"position":[[52,4]]}}}],["re",{"_index":10,"t":{"7":{"position":[[15,2]]}}}],["real",{"_index":141,"t":{"186":{"position":[[142,4]]},"343":{"position":[[86,4]]}}}],["redesign",{"_index":213,"t":{"343":{"position":[[75,10],[217,8]]}}}],["regist",{"_index":91,"t":{"107":{"position":[[205,10]]}}}],["releas",{"_index":195,"t":{"323":{"position":[[28,7]]},"327":{"position":[[0,7]]},"343":{"position":[[0,7]]}}}],["reliabl",{"_index":204,"t":{"327":{"position":[[91,12]]}}}],["rememb",{"_index":169,"t":{"259":{"position":[[146,9]]}}}],["replac",{"_index":25,"t":{"7":{"position":[[147,7]]}}}],["repositori",{"_index":70,"t":{"91":{"position":[[52,10]]},"107":{"position":[[273,12]]}}}],["request",{"_index":77,"t":{"107":{"position":[[57,9]]}}}],["requir",{"_index":1,"t":{"1":{"position":[[8,8]]}}}],["rest",{"_index":117,"t":{"127":{"position":[[247,5]]}}}],["restart",{"_index":53,"t":{"77":{"position":[[75,8]]}}}],["retriev",{"_index":182,"t":{"296":{"position":[[133,9]]}}}],["review",{"_index":78,"t":{"107":{"position":[[67,9]]}}}],["run",{"_index":11,"t":{"7":{"position":[[18,4]]},"41":{"position":[[8,4]]},"81":{"position":[[0,3]]},"83":{"position":[[19,3],[120,8]]}}}],["runtim",{"_index":146,"t":{"230":{"position":[[4,7]]}}}],["schedul",{"_index":41,"t":{"41":{"position":[[61,9]]},"290":{"position":[[12,8]]}}}],["search",{"_index":105,"t":{"127":{"position":[[70,6]]}}}],["section",{"_index":193,"t":{"323":{"position":[[5,7]]}}}],["servic",{"_index":45,"t":{"67":{"position":[[8,7]]},"77":{"position":[[28,7]]},"83":{"position":[[65,7]]}}}],["setup",{"_index":12,"t":{"7":{"position":[[27,5]]}}}],["shot",{"_index":174,"t":{"290":{"position":[[57,4]]}}}],["significantli",{"_index":157,"t":{"232":{"position":[[108,13]]}}}],["skill",{"_index":188,"t":{"313":{"position":[[0,6]]}}}],["spawn",{"_index":121,"t":{"164":{"position":[[60,5]]}}}],["spotifi",{"_index":100,"t":{"127":{"position":[[25,7]]}}}],["start",{"_index":50,"t":{"77":{"position":[[42,6]]},"83":{"position":[[84,6]]}}}],["store",{"_index":181,"t":{"296":{"position":[[121,7]]}}}],["stream",{"_index":135,"t":{"186":{"position":[[86,10]]}}}],["structur",{"_index":176,"t":{"296":{"position":[[26,10]]}}}],["style",{"_index":67,"t":{"91":{"position":[[27,5]]}}}],["sub",{"_index":127,"t":{"164":{"position":[[157,3]]}}}],["success",{"_index":171,"t":{"259":{"position":[[165,10]]}}}],["switch",{"_index":113,"t":{"127":{"position":[[179,10]]}}}],["system",{"_index":49,"t":{"77":{"position":[[21,6]]},"83":{"position":[[58,6]]},"232":{"position":[[33,6]]},"343":{"position":[[105,7]]}}}],["tab",{"_index":111,"t":{"127":{"position":[[166,5]]}}}],["take",{"_index":154,"t":{"232":{"position":[[81,5]]}}}],["task",{"_index":42,"t":{"41":{"position":[[71,5]]},"164":{"position":[[95,5]]},"186":{"position":[[152,4]]},"290":{"position":[[21,5]]}}}],["telegram",{"_index":31,"t":{"11":{"position":[[73,8]]},"41":{"position":[[48,8]]},"107":{"position":[[318,9]]},"186":{"position":[[20,8]]},"343":{"position":[[170,8]]}}}],["termin",{"_index":44,"t":{"41":{"position":[[110,9]]},"107":{"position":[[306,8]]}}}],["through",{"_index":86,"t":{"107":{"position":[[136,7]]},"127":{"position":[[125,7]]}}}],["time",{"_index":56,"t":{"81":{"position":[[26,5]]},"186":{"position":[[147,4]]},"343":{"position":[[91,4]]}}}],["token",{"_index":37,"t":{"11":{"position":[[131,7]]},"186":{"position":[[39,6]]}}}],["tool",{"_index":90,"t":{"107":{"position":[[195,5]]}}}],["toolset",{"_index":95,"t":{"107":{"position":[[245,8]]},"214":{"position":[[23,7]]}}}],["track",{"_index":194,"t":{"323":{"position":[[13,6]]}}}],["tri",{"_index":162,"t":{"259":{"position":[[42,5],[123,5]]}}}],["two",{"_index":209,"t":{"343":{"position":[[21,3]]}}}],["type",{"_index":23,"t":{"7":{"position":[[127,4]]},"11":{"position":[[0,4]]}}}],["unchang",{"_index":22,"t":{"7":{"position":[[113,10]]}}}],["unless",{"_index":32,"t":{"11":{"position":[[82,6]]}}}],["upgrad",{"_index":201,"t":{"327":{"position":[[41,8]]}}}],["upload",{"_index":137,"t":{"186":{"position":[[102,8]]}}}],["us",{"_index":143,"t":{"214":{"position":[[38,3]]},"290":{"position":[[27,5]]}}}],["valu",{"_index":15,"t":{"7":{"position":[[58,6],[138,5]]}}}],["version",{"_index":197,"t":{"323":{"position":[[45,8]]}}}],["via",{"_index":130,"t":{"186":{"position":[[29,3]]}}}],["way",{"_index":60,"t":{"83":{"position":[[12,3]]}}}],["web",{"_index":211,"t":{"343":{"position":[[48,3]]}}}],["without",{"_index":97,"t":{"107":{"position":[[286,7]]}}}],["wizard",{"_index":13,"t":{"7":{"position":[[33,6]]},"81":{"position":[[47,6]]}}}],["work",{"_index":28,"t":{"11":{"position":[[52,4]]},"41":{"position":[[82,7]]},"164":{"position":[[200,5]]}}}],["workspac",{"_index":68,"t":{"91":{"position":[[33,9]]},"327":{"position":[[50,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":2,"t":"Mercury requires Node.js 20+. Install with npm: npm i -g @cosmicstack/mercury-agent Or run without installing: npx @cosmicstack/mercury-agent","s":"Installation","u":"/docs","h":"","p":1},{"i":4,"t":"Mercury includes a built-in upgrade command that handles the full update cycle: mercury upgrade This command: Checks npm for the latest published version Stops the daemon if running, to avoid conflicts Removes the old package first to prevent ENOTEMPTY errors Installs the latest version globally Shows the before/after version comparison ENOTEMPTY fix If you see ENOTEMPTY: directory not empty, rename when running npm i -g manually, use mercury upgrade instead — it removes the old package directory before installing the new one.","s":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":6,"t":"Command Description mercury up Recommended. Install service + start daemon + ensure running mercury Start the agent (same as mercury start) mercury start Start as background daemon (default) mercury start --foreground Start in foreground (interactive) mode. Shorthand: -f mercury restart Restart a background Mercury process mercury stop Stop a background Mercury process mercury logs Show last 100 lines of daemon logs mercury status Show config, providers, daemon PID, and budget mercury doctor Reconfigure settings — press Enter to keep current values mercury doctor --platform Show cross-platform terminal/daemon compatibility diagnostics mercury setup Re-run the setup wizard (same as doctor) mercury help Show the full manual (tools, commands, config paths) mercury service install Install as system service (auto-start on boot) mercury service uninstall Uninstall the system service mercury service status Show system service status mercury --verbose Start with debug logging on stderr","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","h":"","p":5},{"i":8,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it. API keys are shown masked: sk-x••••4f2a Providers and models can be reselected; Mercury fetches models again for changed credentials Telegram token — type none to disable Telegram, or paste a token to start the pairing-code flow Daily budget — change the token budget limit mercury doctor","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","h":"","p":7},{"i":10,"t":"Use --platform to run a non-destructive compatibility check for your current environment: mercury doctor --platform This prints: OS + architecture Node.js version Terminal + TTY/raw-mode capability SSH/CI detection Daemon status Spotify inline-art support status Keybinding fallbacks (/view, /ws exit, etc.)","s":"Platform Diagnostics","u":"/docs/cli-commands/doctor","h":"#platform-diagnostics","p":7},{"i":12,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","h":"","p":11},{"i":14,"t":"Command Description /help Show the full manual (Telegram gets a Telegram-specific version) /status Show agent name, provider, budget, and channels /progress Show live status for the current long-running task / or /menu CLI only: open the arrow-key command picker /permissions Change permission mode (Ask Me / Allow All) /models List configured models/providers for this session /models use <provider> Switch the current session model/provider /tools List all currently loaded tools /skills List installed skills /memory View and manage second brain memory /tasks List scheduled tasks /stream Toggle Telegram text streaming (on/off) /stream on Enable streaming (live text updates) /stream off Disable streaming — responses arrive as single message","s":"General","u":"/docs/cli-commands/in-chat-commands","h":"#general","p":11},{"i":16,"t":"Command Description /budget Show token budget status /budget override Override budget for one request /budget reset Reset usage to zero /budget set <n> Change daily token budget","s":"Budget","u":"/docs/cli-commands/in-chat-commands","h":"#budget","p":11},{"i":18,"t":"Command Description /code Show current programming mode /code plan Switch to plan mode (analyze and present options, no coding) /code execute Switch to execute mode (implement step by step) /code build Alias for execute mode /code off Exit programming mode /code toggle Cycle through: off → plan → execute → off /code agent <task> Delegate a coding task to a sub-agent in the background /code workspace CLI only: open current directory in workspace IDE mode","s":"Programming Mode","u":"/docs/cli-commands/in-chat-commands","h":"#programming-mode","p":11},{"i":20,"t":"Command Description /ws Show workspace commands /ws open <path> Open a directory in workspace IDE mode /ws exit Exit workspace IDE mode back to general chat /ws refresh Refresh file tree and git status panel /ws stage <file|all> Stage a file or all changes /ws commit <message> Commit staged changes /ws undo <file> Revert file changes with git checkout /ws help Show workspace command list","s":"Workspace IDE (CLI Only)","u":"/docs/cli-commands/in-chat-commands","h":"#workspace-ide-cli-only","p":11},{"i":22,"t":"Command Description /agents List all sub-agents and their status /agents stop <id|all> Stop a sub-agent or all sub-agents /agents pause <id> Pause a running sub-agent /agents resume <id> Resume a paused sub-agent /agents config Show sub-agent resource allocation /agents set max <n> Set max concurrent sub-agents","s":"Sub-Agents","u":"/docs/cli-commands/in-chat-commands","h":"#sub-agents","p":11},{"i":24,"t":"Command Description /bg <command> Run a shell command in the background /bg: <task> Run a natural-language sub-agent task in background /bg current Move the current in-flight task to background /bg list Show background tasks /bg <id> Show details/output for one background task /bg cancel <id> Cancel a running background task /bg stop <id> Alias for /bg cancel /bg killall Cancel all running background tasks /bg clear Prune completed background tasks","s":"Background Tasks","u":"/docs/cli-commands/in-chat-commands","h":"#background-tasks","p":11},{"i":26,"t":"Command Description /spotify Show Spotify connection status /spotify auth Connect Spotify (browser or manual code flow) /spotify code <code> Complete auth with a pasted authorization code /spotify player CLI only: interactive music player with arrow-key controls /spotify devices List available Spotify devices /spotify device <id> Set active Spotify device /spotify now Show what is currently playing /spotify logout Disconnect Spotify and clear saved tokens","s":"Spotify","u":"/docs/cli-commands/in-chat-commands","h":"#spotify","p":11},{"i":28,"t":"Command Description /halt Emergency: stop all agents and clear the task queue /stop Stop all agents, clear queue, release file locks, clear task board /reset Full reset: stop all + clear conversation context (requires confirmation) Fast-path commands /agents, /halt, /stop, /progress, /spotify, /code, /memory, and /bg all work even while Mercury is busy processing a task. They're processed immediately without waiting for the current task to finish.","s":"Emergency Controls","u":"/docs/cli-commands/in-chat-commands","h":"#emergency-controls","p":11},{"i":30,"t":"Command Description /view Toggle progress view (balanced/detailed) /view balanced Show last 5 tool steps, compact format /view detailed Show last 20 tool steps, full format","s":"Progress View (CLI Only)","u":"/docs/cli-commands/in-chat-commands","h":"#progress-view-cli-only","p":11},{"i":32,"t":"Command Description /telegram Open Telegram management menu /telegram pending List pending Telegram access requests /telegram users List approved Telegram admins and members /telegram approve <code|id> Approve a pairing code or access request /telegram reject <id> Reject a pending Telegram access request /telegram remove <id> Revoke an approved Telegram user /telegram promote <id> Promote a Telegram member to admin /telegram demote <id> Demote a Telegram admin to member /telegram reset Clear all Telegram access and restart pairing","s":"Telegram Management (CLI Only)","u":"/docs/cli-commands/in-chat-commands","h":"#telegram-management-cli-only","p":11},{"i":34,"t":"Command Description /start or /pair Request access (new users) or check status (approved users) /unpair Admin only: reset all Telegram access for this instance","s":"Telegram-Only Commands","u":"/docs/cli-commands/in-chat-commands","h":"#telegram-only-commands","p":11},{"i":36,"t":"These shortcuts work in the CLI terminal interface: Shortcut Description Ctrl+C Exit Mercury Ctrl+T Toggle progress view (balanced/detailed) Ctrl+B Show background tasks (or move current task to background if busy) Ctrl+N Insert newline (multi-line input) Ctrl+P Switch to code plan mode (in coding/workspace mode) Ctrl+X Switch to code execute mode (in coding/workspace mode)","s":"Keyboard Shortcuts (CLI)","u":"/docs/cli-commands/in-chat-commands","h":"#keyboard-shortcuts-cli","p":11},{"i":38,"t":"When you type / in the CLI, an autocomplete popup appears with matching commands: Up/Down arrows — navigate through suggestions Tab or Enter — fill the selected suggestion into the input Enter (when input matches a command) — submit the command","s":"Slash Command Autocomplete","u":"/docs/cli-commands/in-chat-commands","h":"#slash-command-autocomplete","p":11},{"i":40,"t":"Shortcut Description Esc / Ctrl+Q Exit workspace (from explorer) or return to explorer Ctrl+E Focus explorer panel Ctrl+G Focus git panel Ctrl+J Toggle chat panel Tab Cycle focus: explorer → code → right panel Arrow keys Navigate file tree / scroll panels Enter Open selected file Ctrl+U / Ctrl+D Scroll up/down by 8-10 lines PageUp / PageDown Scroll by 15 lines Telegram pairing and access Telegram stays private 1:1 only. The first user sends /start, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send /start, appear as pending requests, and can then be approved or rejected from the CLI /telegram menu.","s":"Workspace IDE Shortcuts","u":"/docs/cli-commands/in-chat-commands","h":"#workspace-ide-shortcuts","p":11},{"i":42,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","h":"","p":41},{"i":44,"t":"mercury start Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ~/.mercury/daemon.pid, and redirects output to ~/.mercury/daemon.log. Stale PID files are automatically cleaned up.","s":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":41},{"i":46,"t":"mercury start --foreground Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: mercury start -f.","s":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":41},{"i":48,"t":"mercury up This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID.","s":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":41},{"i":50,"t":"mercury stop Sends SIGTERM (process.kill on Windows) to the background process and removes the PID file.","s":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":41},{"i":52,"t":"mercury restart Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart.","s":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":41},{"i":54,"t":"mercury logs Shows the last 100 lines of ~/.mercury/daemon.log.","s":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":41},{"i":56,"t":"mercury status Shows whether the daemon is running, its PID, and the log file path. Crash recovery Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent \"already running\" false positives.","s":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":41},{"i":58,"t":"Daemon mode supports async background execution for both shell commands and delegated sub-agent work.","s":"Background Tasks and Workers","u":"/docs/daemon-mode/daemon-mode","h":"#background-tasks-and-workers","p":41},{"i":60,"t":"Background tasks use human-friendly IDs like swift-fox, calm-owl, or bright-heron instead of opaque timestamps. There are 2,304 unique combinations (48 adjectives × 48 nouns). If a collision occurs, a numeric suffix is appended.","s":"Task IDs","u":"/docs/daemon-mode/daemon-mode","h":"#task-ids","p":41},{"i":62,"t":"Start with /bg <command> Inspect with /bg list and /bg <id> Cancel with /bg cancel <id> (or /bg stop <id>, /bg kill <id>) Cancel all running tasks with /bg killall (or /bg stopall)","s":"Shell background tasks","u":"/docs/daemon-mode/daemon-mode","h":"#shell-background-tasks","p":41},{"i":64,"t":"Delegate coding with /code agent <task> or /bg: <task> Move active task to worker with /bg current Worker progress/completion is surfaced in the shared background task board (/bg list)","s":"Sub-agent workers","u":"/docs/daemon-mode/daemon-mode","h":"#sub-agent-workers","p":41},{"i":66,"t":"Background tasks are persisted to disk and survive daemon restarts. Running tasks that were interrupted by a restart are marked as failed. These workers are designed to keep Mercury responsive while long-running work continues.","s":"Persistence","u":"/docs/daemon-mode/daemon-mode","h":"#persistence","p":41},{"i":68,"t":"macOS Linux Windows mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist. Auto-start: Loads on login via launchctl load Crash recovery: KeepAlive SuccessfulExit = false restarts on crash No sudo needed: User-level LaunchAgent, not system daemon Logs: ~/.mercury/daemon.log and ~/.mercury/daemon-error.log Manual management​ launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist mercury service install creates a systemd user unit at ~/.config/systemd/user/mercury.service. Auto-start: Enabled via systemctl --user enable mercury.service Crash recovery: Restart=on-failure with 5s delay No sudo needed: User-level service Boot without login: Run sudo loginctl enable-linger $USER once Logs: ~/.mercury/daemon.log or journalctl --user -u mercury Manual management​ systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury mercury service install creates a Windows Task Scheduler task named MercuryAgent. Auto-start: Triggers on user logon via schtasks Crash recovery: Built-in watchdog with exponential backoff No admin needed: Runs with limited privileges (/rl limited) Logs: %USERPROFILE%\\.mercury\\daemon.log Manual management​ schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","h":"","p":67},{"i":70,"t":"launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":67},{"i":72,"t":"systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":67},{"i":74,"t":"schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":67},{"i":76,"t":"Mercury does not currently ship first-party Docker assets in this repository (no Dockerfile or docker-compose.yml by default). If you run Mercury in a container, treat it as an advanced/custom deployment: Prefer foreground mode (mercury start --foreground) inside the container Let the container runtime handle restart policy Mount ~/.mercury as persistent storage Validate terminal/TTY behavior separately for interactive CLI usage","s":"Docker Status","u":"/docs/daemon-mode/platform-guide","h":"#docker-status","p":67},{"i":78,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash. mercury service install This detects your platform and generates the appropriate service config. Platform Method Requires Admin Auto-Start Crash Recovery macOS LaunchAgent plist No On login KeepAlive (restart on crash) Linux systemd user unit No* On login Restart=on-failure, 5s delay Windows Task Scheduler (schtasks) No On logon Built-in watchdog *Linux boot-without-login requires loginctl enable-linger $USER (one-time, needs sudo).","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","h":"","p":77},{"i":80,"t":"mercury service status mercury service uninstall","s":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":77},{"i":82,"t":"Run mercury for the first time. The onboarding wizard asks for: Your name — used by the agent to address you Agent name — defaults to \"Mercury\", customize it LLM providers — choose one or more: DeepSeek, OpenAI, Anthropic, Grok, Ollama Cloud, Ollama Local, or OpenAI Compatible Model selection — after each valid key, Mercury fetches recommended chat models and lets you choose a default Telegram bot token — optional, for remote access in private 1:1 chats Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text. If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send /start to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup. All config is stored in ~/.mercury/ — nothing in your project directory. Masked keys When reconfiguring with mercury doctor, existing API keys are shown masked like sk-x••••4f2a. Press Enter to keep the current value, or paste a new key to replace it.","s":"First-Time Setup","u":"/docs/getting-started/setup","h":"","p":81},{"i":84,"t":"Recommended: mercury up The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running. mercury up If Mercury is already running, mercury up just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon.","s":"Starting Mercury","u":"/docs/getting-started/starting","h":"","p":83},{"i":86,"t":"mercury start Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ~/.mercury/daemon.log. Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff.","s":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":83},{"i":88,"t":"mercury start --foreground Runs Mercury attached to your terminal with the Ink TUI interface. Press Ctrl+C to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: mercury start -f. When running in background mode, you can stop it with: mercury stop","s":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":83},{"i":90,"t":"Add --verbose to any start command to see debug logs on stderr: mercury start --verbose","s":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":83},{"i":92,"t":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","s":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","h":"","p":91},{"i":94,"t":"You can enter workspace mode in multiple ways: /code and choose workspace /code workspace /ws open <path> Once active, Mercury switches to coding context for that repository. Agent responses appear in the normal scrollable chat view so you can always see full output.","s":"Enter Workspace Mode","u":"/docs/integrations/coding-workspace","h":"#enter-workspace-mode","p":91},{"i":96,"t":"Use programming modes to control behavior: /code plan — analysis/planning first, minimal code changes /code execute — implementation mode /code off — return to normal conversation behavior","s":"Modes","u":"/docs/integrations/coding-workspace","h":"#modes","p":91},{"i":98,"t":"Shortcut Action Ctrl+P Plan mode Ctrl+X Execute mode Ctrl+E Focus explorer pane Ctrl+G Focus git pane Ctrl+J Toggle right panel between chat and git Tab Cycle focus: explorer → code → right panel Esc Return to explorer (or exit workspace from explorer) Ctrl+Q Exit workspace Shift+Enter Insert newline (multi-line input) Alt+Enter Insert newline (fallback for terminals that don't distinguish Shift+Enter)","s":"Keyboard Shortcuts","u":"/docs/integrations/coding-workspace","h":"#keyboard-shortcuts","p":91},{"i":100,"t":"Focus Keys Action Explorer ↑ ↓ Move selection Explorer ← → Collapse / expand folder Explorer Enter Open selected file Code ↑ ↓ Scroll code ±1 line Code PgUp PgDn Scroll code ±15 lines Code Ctrl+U Ctrl+D Scroll code ±10 lines (vim-style) Chat ↑ ↓ Scroll agent output ±1 line Chat PgUp PgDn Scroll agent output ±10 lines Chat Ctrl+U Ctrl+D Scroll agent output ±8 lines Git ↑ ↓ Move through changed files Git Enter Stage selected file","s":"Navigation (when input is empty)","u":"/docs/integrations/coding-workspace","h":"#navigation-when-input-is-empty","p":91},{"i":102,"t":"Command Description /ws open <path> Open a directory in workspace mode /ws refresh Refresh file tree + git status /ws focus <area> Focus a panel: explorer, code, git, or chat /ws stage <file|all> Stage one file or all changes /ws commit <message> Commit staged changes /ws undo <file> Revert file changes /ws toggle-chat Toggle right panel between chat and git /ws chat-scroll <n> Scroll agent output by n lines /ws exit Exit workspace mode back to general chat","s":"Workspace Commands","u":"/docs/integrations/coding-workspace","h":"#workspace-commands","p":91},{"i":104,"t":"Workspace mode supports explicit delegation and backgrounding: /code agent <task> — delegate coding work to a sub-agent /bg current — move active in-flight work to background /bg list — inspect all background tasks (shell + sub-agent) /bg <id> — view task details/output (IDs use friendly names like swift-fox) /bg cancel <id> — cancel running background work /bg stop <id> / /bg kill <id> — aliases for cancel /bg killall / /bg stopall — cancel all running background tasks This lets you continue coding/chatting while long operations run asynchronously.","s":"Sub-Agents + Background in Coding","u":"/docs/integrations/coding-workspace","h":"#sub-agents--background-in-coding","p":91},{"i":106,"t":"During long-running tasks, Mercury shows real-time progress: The status bar displays the current tool/action (e.g., ● step 5 · ✂️ Editing App.tsx) Heartbeat messages escalate timing (20s → 30s → 45s → 60s) to reduce noise Use /progress to see the last 10 completed steps with timing Consecutive identical tool calls are collapsed (e.g., \"Read 3 files\")","s":"Progress Tracking","u":"/docs/integrations/coding-workspace","h":"#progress-tracking","p":91},{"i":108,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram. Conditional availability GitHub tools only appear when GITHUB_TOKEN is configured via mercury doctor. Without a token, these tools are not registered and won't be available in conversation.","s":"GitHub Companion","u":"/docs/integrations/github-companion","h":"","p":107},{"i":110,"t":"Co-authored commits — Mercury's avatar appears alongside yours on every commit it helps with Pull requests — \"Create a PR for this change\" and Mercury stages, commits, pushes, and opens the PR Issue management — \"Check open issues\" or \"File a bug for the login crash\" Code review — \"Review PR #5\" and Mercury reads the diff and posts a summary Full API access — The github_api tool lets Mercury hit any GitHub endpoint","s":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":107},{"i":112,"t":"Run mercury doctor and fill in the four GitHub fields: mercury doctor","s":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":107},{"i":114,"t":"Your GitHub username. This is used for commit attribution and identifying you in API calls. Example: hotheadhacker","s":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":107},{"i":116,"t":"Every Mercury-assisted commit automatically includes a Co-authored-by: Mercury <[email protected]> trailer. No configuration needed — this is the default. Mercury's avatar will appear alongside yours on GitHub. You can customize the email in ~/.mercury/.env by setting GITHUB_EMAIL if you prefer a different co-author address.","s":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":107},{"i":118,"t":"You need a token so Mercury can authenticate with the GitHub API. Never share this token. It's stored locally in ~/.mercury/.env and never sent anywhere except GitHub's API. Where to create your token Fine-grained PAT (recommended): Go to github.com/settings/personal-access-tokens/new Give it a name (e.g. mercury-agent) and set an expiration Under Repository access, select All repositories or choose specific repos Under Permissions → Repository permissions, grant: Contents — Read and write Pull requests — Read and write Issues — Read and write Click Generate token and copy it immediately Classic PAT: Go to github.com/settings/tokens/new Give it a name (e.g. mercury-agent) and set an expiration Select the repo scope (full control of private repositories) Click Generate token and copy it immediately","s":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":107},{"i":120,"t":"Set a default repository so you can say \"create an issue\" without specifying the repo every time. You can enter it in any of these formats: hotheadhacker/mercury-agent https://github.com/hotheadhacker/mercury-agent Mercury will parse the owner and repo name automatically from either format. Press Enter on any field to keep its current value. When the PAT is set, you'll see: ✓ GitHub tools registered (5)","s":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":107},{"i":122,"t":"Tool What it does create_pr Create a pull request with title, body, head branch, and base branch review_pr Fetch a PR diff, review the changes, and post review comments list_issues List and filter issues in a repository (open, closed, by label, by assignee) create_issue Create a new issue with title, body, labels, and assignees github_api Raw GitHub API access — an escape hatch for any endpoint not covered above","s":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":107},{"i":124,"t":"When Mercury commits code using git_commit, it automatically appends a Co-authored-by: Mercury <[email protected]> trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history — giving credit where it's due.","s":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":107},{"i":126,"t":"PAT storage Your GitHub PAT is stored in ~/.mercury/mercury.yaml alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised.","s":"Security","u":"/docs/integrations/github-companion","h":"#security","p":107},{"i":128,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest. Spotify Premium Read-only features (search, top tracks, playlists, now playing) work on free Spotify accounts. Playback control (play, pause, skip, volume, shuffle, repeat, queue) requires a Spotify Premium subscription — this is a Spotify API limitation, not a Mercury restriction.","s":"Spotify Integration","u":"/docs/integrations/spotify","h":"","p":127},{"i":131,"t":"Go to developer.spotify.com/dashboard Log in with your Spotify account Click \"Create app\" Fill in: App name: Mercury (or anything you like) App description: Mercury Agent Spotify Integration Redirect URI: http://127.0.0.1:8888/callback — this must match exactly Click Save On the app's settings page, copy the Client ID and Client Secret Development Mode When your Spotify Developer app is in development mode (the default), you can grant access to up to 25 users. Go to your app's settings → User Management → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request extended quota from Spotify.","s":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":127},{"i":133,"t":"Run mercury doctor (or mercury setup for first-time setup): mercury doctor When prompted for Spotify, choose Yes and enter: Spotify Client ID — paste the Client ID from Step 1 Spotify Client Secret — paste the Client Secret from Step 1 Press Enter on any other field to keep its current value. After setup, you'll see: Spotify: not connected — run /spotify auth to link your account","s":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":127},{"i":135,"t":"Start Mercury and run: /spotify auth Choose your authorization method: Method When to use Open browser (recommended) When Mercury is running locally on your machine Paste authorization code When browser auto-open fails, or via SSH For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the code parameter from the redirect URL: /spotify code <paste-your-code-here> After successful auth, Mercury shows: Spotify: connected as YourName","s":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":127},{"i":137,"t":"Command Description /spotify Show connection status, account name, plan, and active device /spotify auth Start OAuth flow (browser or manual code) /spotify code <code> Complete auth with a pasted authorization code /spotify logout Disconnect Spotify and clear saved tokens /spotify player Interactive player with arrow-key controls (CLI only) /spotify devices List available Spotify devices /spotify device <id> Set active device /spotify now Show what is currently playing","s":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":127},{"i":139,"t":"These are the tools Mercury uses when you talk about music:","s":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":127},{"i":141,"t":"Tool What it does spotify_search Search tracks, artists, albums, playlists spotify_now_playing Show what's currently playing spotify_devices List available Spotify devices spotify_top_tracks Get your top tracks (time_range: short/medium/long term) spotify_playlists Get your playlists spotify_like Save a track to your library","s":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":127},{"i":143,"t":"Tool What it does spotify_play Play a track, album, or playlist on a device spotify_pause Pause playback spotify_next Skip to next track spotify_previous Skip to previous track spotify_volume Set volume (0-100) spotify_shuffle Toggle shuffle on/off spotify_repeat Set repeat mode (off, track, context) spotify_queue Add a track to the playback queue","s":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":127},{"i":145,"t":"Just talk to Mercury naturally about music: You say Mercury does \"play some chill music\" Searches \"lo-fi chill\", picks tracks, plays on your device \"what are my top tracks?\" Calls spotify_top_tracks, shows results \"skip this song\" Calls spotify_next \"pause\" Calls spotify_pause \"play my playlist Road Trip\" Searches your playlists, plays the match \"set volume to 50\" Calls spotify_volume(50) \"what's playing?\" Calls spotify_now_playing, shows artist — track + progress bar \"add this to my queue\" Calls spotify_queue with current track \"shuffle on\" Calls spotify_shuffle(true)","s":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":127},{"i":147,"t":"The /spotify player command launches an interactive arrow-key player in your terminal: ▶ Play/Pause ◀ Previous ▶▶ Next 🔊 Volume 🔀 Shuffle 🔁 Repeat 🔍 Search 📋 Queue ✕ Exit Every action shows real-time feedback with track info and a progress bar.","s":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":127},{"i":149,"t":"Mercury's Spotify flow supports a practical DJ mode pattern in conversation and in the CLI player: Queue songs while current playback continues Skip/recover quickly with next/previous controls Adjust energy with volume/shuffle/repeat in-session Keep steering by prompts like: \"Queue 3 upbeat tracks\" \"Skip this and play something calmer\" \"Keep this vibe for the next 20 minutes\" Use /spotify player for hands-on control, or use natural-language prompts to keep the set moving.","s":"DJ Mode","u":"/docs/integrations/spotify","h":"#dj-mode","p":127},{"i":151,"t":"Inside the Spotify player (CLI): N → next track P → previous track + / - → volume up/down by 10% Z → refresh now playing Esc → exit player","s":"Player shortcuts","u":"/docs/integrations/spotify","h":"#player-shortcuts","p":127},{"i":153,"t":"Mercury supports inline album art as a progressive enhancement (text UI remains the default). Enable with: MERCURY_SPOTIFY_ART=1 Currently rendered only in local iTerm sessions Automatically falls back to text-only view in SSH/mobile/light terminals","s":"Optional inline album art","u":"/docs/integrations/spotify","h":"#optional-inline-album-art","p":127},{"i":155,"t":"Spotify plays on your devices — phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available: /spotify devices If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device: /spotify device <device-id> The device ID persists across sessions — Mercury remembers your preferred device.","s":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":127},{"i":157,"t":"Mercury stores your Spotify tokens in ~/.mercury/mercury.yaml: Access token — short-lived, auto-refreshed Refresh token — long-lived, used to get new access tokens Account info — display name, user ID, plan (Premium/Free) Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run /spotify auth again.","s":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":127},{"i":159,"t":"/spotify logout This clears all tokens and account info. Run /spotify auth to reconnect later.","s":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":127},{"i":161,"t":"Client credentials Your Spotify Client ID and Client Secret are stored in ~/.mercury/mercury.yaml. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential. Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.","s":"Security","u":"/docs/integrations/spotify","h":"#security","p":127},{"i":163,"t":"Issue Solution \"Spotify Premium is required\" error You need Premium for playback control. Read-only features still work on free accounts. 403 errors on play/pause/skip Your account is on Spotify's free tier. Playback APIs are Premium-only. \"No active device\" Open Spotify on your phone/computer, play any song, then try again. Browser doesn't open for auth Use the manual code flow: /spotify auth → choose \"Paste code\" Token expired after long idle Run /spotify auth to get fresh tokens Account name not showing Run /spotify and Mercury will fetch it live from Spotify's API","s":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":127},{"i":165,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","h":"","p":164},{"i":167,"t":"Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to \"research this topic, write the code, and review the result,\" it does them sequentially — each step blocks the next. Sub-agents break this bottleneck: Parallel execution — Multiple tasks run simultaneously across isolated context windows LLM-driven delegation — Mercury itself decides when to delegate based on task complexity Non-blocking — You can keep chatting with Mercury while sub-agents work in the background File locks — Reader-writer locks prevent concurrent write conflicts between agents Resource-aware — Max concurrent agents is auto-detected from your system's CPU and RAM","s":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":164},{"i":169,"t":"You: \"Build a REST API for users and write integration tests\" Mercury decides to delegate: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Build REST API endpoints for users\" **Agent a2** is now working on: \"Write integration tests for user endpoints\" Active agents: 2/4 You can continue chatting while the agents work. Use /agents to check status. Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the API and agent a2 is writing tests. They'll work independently. (you continue chatting normally) 🔄 Agent a1: Using: read_file, create_file 🔄 Agent a2: Using: list_dir, read_file ✅ **Agent a1** completed (12.3s): \"REST API built with 5 endpoints\" ✅ **Agent a2** completed (18.7s): \"12 integration tests passing\" Both agents are done. Want me to review the results together?","s":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":164},{"i":171,"t":"Command Description /agents List all sub-agents (running and completed) /agents stop <id|all> Stop a sub-agent or all sub-agents /agents pause <id> Pause a running sub-agent /agents resume <id> Resume a paused sub-agent /agents config Show sub-agent resource allocation (max concurrent, mode) /agents set max <n> Set max concurrent sub-agents /code agent <task> Delegate a coding task to a sub-agent immediately /bg: <task> Run a natural-language sub-agent task in background /bg current Move current in-flight task to a background sub-agent /bg list List shell + sub-agent background tasks /halt Emergency: halt all sub-agents and clear the task queue /stop Full stop: halt agents, clear queue, release file locks, clear task board /reset Full reset: stop all + clear conversation context (requires confirmation) /halt vs /stop vs /reset /halt stops all agents but preserves conversation context and file locks. /stop goes further — it also releases file locks and clears the task board. /reset does everything /stop does plus clears the conversation context (requires confirmation). Slash commands like /agents, /halt, /stop, /spotify, and /code work even while the main agent is busy — they're processed immediately on a fast path.","s":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":164},{"i":173,"t":"Mercury uses these tools to manage sub-agents: Tool Description delegate_task Spawn a sub-agent with a task description and optional context list_agents Show all running and completed sub-agents stop_agent Halt a specific running sub-agent by ID When Mercury decides a task is complex enough to benefit from parallel execution, it calls delegate_task. You'll see a response like: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Analyze the codebase structure for...\" Active agents: 1/4 You can continue chatting while the agent works. I'll notify you when it's done. Use /agents to check status.","s":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":164},{"i":175,"t":"User message → Main Agent (orchestrator) ├─ delegate_task(\"research X\") → Sub-Agent a1 (isolated context) ├─ delegate_task(\"implement Y\") → Sub-Agent a2 (isolated context) └─ continues conversation → responds to user │ a1: \"🔄 Using: read_file\" a1: \"🔄 Using: edit_file\" a2: \"🔄 Using: list_dir\" a1: \"✅ completed (8.2s)\" a2: \"🔄 Using: create_file\" a2: \"✅ completed (15.1s)\" Each sub-agent: Has its own context window — the main agent's conversation doesn't pollute it Runs an independent 10-step agentic loop with the same tool access Uses the same permission system — but with auto-approve for the task's scope Reports progress via the notification channel (CLI or Telegram) Respects file locks — if a1 is writing a file, a2 waits for the lock","s":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":164},{"i":177,"t":"Mercury decides to delegate when: A task is naturally parallelizable (e.g., \"research X while I code Y\") The task benefits from an isolated context window (no pollution from the main conversation) A task is complex enough to warrant dedicated focus Multiple independent investigations would save time You can also ask Mercury explicitly: \"Use two agents for this\" or \"Delegate this task.\"","s":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":164},{"i":179,"t":"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel: 🔄 Agent a1: Starting task... 🔄 Agent a1: Using: read_file, edit_file 🔄 Agent a2: Using: fetch_url, create_file ✅ Agent a1 completed (8.2s): \"Analyzed the codebase...\" 🔄 Agent a2: Using: run_command ✅ Agent a2 completed (14.5s): \"Tests passing...\" If you send /agents, you'll see the full status: **Sub-Agents:** 🔄 a1: Build REST API endpoints — running (Using: read_file) ⏳ a2: Write integration tests — pending Background-tracked agent tasks also appear in /bg list so shell jobs and delegated coding work share one progress surface.","s":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":164},{"i":181,"t":"Sub-agents are configured in ~/.mercury/mercury.yaml: subagents: enabled: true maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4) mode: auto # \"auto\" (LLM decides) or \"manual\" (user controls) Environment variable overrides: Variable Description SUBAGENTS_ENABLED Enable/disable sub-agents SUBAGENTS_MAX_CONCURRENT Max number of concurrent agents SUBAGENTS_MODE auto or manual","s":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":164},{"i":183,"t":"Sub-agents pair well with Mercury's programming mode for code tasks: Command Mode Behavior /code plan Plan Analyze without writing code /code execute Execute Implement step by step /code off Off Normal conversation /code toggle — Cycle through modes /code status — Show current mode","s":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":164},{"i":185,"t":"When /code plan is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during /code execute. The ask_user tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.","s":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":164},{"i":187,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress.","s":"Telegram","u":"/docs/integrations/telegram","h":"","p":186},{"i":189,"t":"Mercury uses an organization access model with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending /start, which admins can approve or reject. First-time pairing When no admins exist yet, sending /start creates a pairing code that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send /start to create a pending request that admins can approve or reject. Private chats only Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored.","s":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":186},{"i":191,"t":"Role Description Can approve requests? Admin First user to pair. Can approve/reject access requests, promote/demote users, and reset all access. Yes Member Approved by an admin. Can send messages and receive responses. No Pending Sent /start but not yet approved. Can only see their pending status. No","s":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":186},{"i":193,"t":"Command Description mercury telegram list Show approved admins, members, and pending requests mercury telegram approve <code|userId> Approve the first pairing code or a pending request by user ID mercury telegram reject <userId> Reject a pending access request mercury telegram remove <userId> Remove an approved admin or member mercury telegram promote <userId> Promote a member to admin mercury telegram demote <userId> Demote an admin to member (at least one admin must remain) mercury telegram reset Clear all Telegram access (admins, members, pending). Start fresh.","s":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":186},{"i":195,"t":"Mercury registers 15 commands in Telegram's bot menu for quick access: Command Description /start Request access to this Mercury instance /help Show Telegram-specific command reference /status Config, budget, and uptime /progress Live status for the current task /stop Stop all agents and clear queue /budget Token budget status and management /stream Toggle text streaming on/off /memory Second brain memory /permissions Switch Ask Me / Allow All mode /models List providers or switch AI model /code Programming mode (plan / execute / off) /agents List and manage sub-agents /bg Background tasks /spotify Spotify playback controls /unpair Reset all Telegram access (admin only) Telegram-specific help Running /help on Telegram shows a clean, Telegram-formatted command reference with only Telegram-relevant commands — no CLI-only features like workspace IDE or progress views.","s":"Bot Commands Menu","u":"/docs/integrations/telegram","h":"#bot-commands-menu","p":186},{"i":197,"t":"During multi-step tasks, Mercury uses a single status card that updates in place. This keeps the chat clean — you see one message that shows what's happening, not a flood of separate updates.","s":"Real-Time Task Progress","u":"/docs/integrations/telegram","h":"#real-time-task-progress","p":186},{"i":199,"t":"Step 1 begins — Mercury creates a status card: ⚙️ Mercury working (step 1) Steps progress — The same message is edited to show the latest steps with checkmarks Step 3+ (substantial task) — The status card is pinned to the top of the chat so you can always see progress without scrolling Notices — System messages like Mercury Autopilot warnings are folded into the status card instead of creating separate messages Task completes — The status card is unpinned and deleted. The AI response and completion banner appear as fresh messages","s":"How It Works","u":"/docs/integrations/telegram","h":"#how-it-works","p":186},{"i":201,"t":"⚙️ Mercury working (step 5) ✅ read_file · src/index.ts ✅ edit_file · src/utils.ts ✅ run_command · npm test ✅ read_file · package.json ⏳ write_file · src/config.ts…","s":"What the Status Card Looks Like","u":"/docs/integrations/telegram","h":"#what-the-status-card-looks-like","p":186},{"i":203,"t":"During an active task, no new messages are created in the chat. Everything is consolidated into the pinned status card: Tool progress — edited in place with a rolling window of the last 5 completed steps Autopilot warnings — shown as notice lines in the status card (last 3 notices) AI responses — deferred until the task completes, then sent as a clean message Permission prompts — shown as ephemeral inline keyboard messages, deleted after you respond This means you never have to scroll up to find the progress indicator — it stays pinned at the top until the task is done.","s":"Single-Message Design","u":"/docs/integrations/telegram","h":"#single-message-design","p":186},{"i":205,"t":"When a substantial task finishes (3+ steps and 30+ seconds), Mercury sends a completion banner: ✅ Task complete (8 steps · 45s) ☿ claude-sonnet via anthropic · 12.4k tokens Budget: ██████████░░░░░ 67% (67.2k / 100.0k) ✓ read_file · src/index.ts ✓ edit_file · src/utils.ts ✓ run_command · npm test","s":"Completion","u":"/docs/integrations/telegram","h":"#completion","p":186},{"i":207,"t":"At the start of each Telegram session, Mercury shows an inline keyboard to choose a permission mode: 🔒 Ask Me — Mercury asks before file writes, shell commands, and scope changes. Prompts appear as inline keyboards with Allow / Always / Deny buttons. ✅ Allow All — Auto-approve everything for this session. No interruptions. Use /permissions at any time to switch modes. Choosing \"Always\" on any permission prompt flips to auto-approve for the rest of the session.","s":"Permission Mode","u":"/docs/integrations/telegram","h":"#permission-mode","p":186},{"i":209,"t":"Permission prompts, loop-continuation prompts, and mode-selection cards are ephemeral — they're deleted automatically after you respond (or after a 2-minute timeout). This keeps the chat clean.","s":"Ephemeral Messages","u":"/docs/integrations/telegram","h":"#ephemeral-messages","p":186},{"i":211,"t":"Feature Description Single status card One message edited in place during multi-step tasks — no message clutter Pinned progress Status card pinned to chat top for tasks with 3+ steps Text streaming Real-time response editing with typing indicators (toggle with /stream) File uploads Photos, audio, video, and documents auto-detected and sent with the right API HTML formatting Markdown automatically converted to Telegram-compatible HTML Inline keyboards Permission and mode prompts shown as tappable buttons Ephemeral prompts Permission and mode cards auto-deleted after response Completion banners Token usage and budget stats for substantial tasks Multi-user access Organization model with admins and members Bot commands menu 15 commands registered in Telegram's bot menu for quick access","s":"Features","u":"/docs/integrations/telegram","h":"#features","p":186},{"i":213,"t":"Telegram is set up during mercury doctor or initial onboarding. You need a bot token from @BotFather. Variable Description Default TELEGRAM_BOT_TOKEN Bot token from @BotFather — TELEGRAM_ENABLED Enable/disable Telegram channel false TELEGRAM_STREAMING Enable real-time text streaming true Type none as the bot token during mercury doctor to disable Telegram.","s":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":186},{"i":215,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","h":"","p":214},{"i":217,"t":"Tool What it does Parameters read_file Read file contents path write_file Write to an existing file path, content create_file Create a new file (creates parent dirs) path, content edit_file Search and replace text in a file path, old_string, new_string list_dir List directory contents path delete_file Delete a file path send_file Send file to user (Telegram upload) path approve_scope Request read/write access to a directory path, mode","s":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":214},{"i":219,"t":"Tool What it does Parameters send_message Send a message to approved Telegram recipients content","s":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":214},{"i":221,"t":"Tool What it does Parameters run_command Execute a shell command command cd Change working directory (persists across calls) path approve_command Permanently approve a command type command (e.g. \"curl\")","s":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":214},{"i":223,"t":"Tool What it does git_status Working tree status git_diff Show file changes git_log Commit history git_add Stage files git_commit Create a commit git_push Push to remote (needs approval)","s":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":214},{"i":225,"t":"Tool What it does Category fetch_url Fetch a URL and return content (HTML stripped) Web install_skill Install a skill from URL or content Skills list_skills List installed skills Skills use_skill Invoke a skill by name Skills schedule_task Schedule recurring (cron) or one-shot (delay) task Scheduler list_scheduled_tasks View all scheduled tasks Scheduler cancel_scheduled_task Cancel a scheduled task Scheduler budget_status Check token budget usage System ask_user Ask the user a question with choices (CLI: arrow menu, Telegram: inline buttons) System","s":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":214},{"i":227,"t":"Tool What it does Parameters delegate_task Spawn a sub-agent with an isolated context task, workingDirectory?, priority?, allowedTools? list_agents List active sub-agents and their status — stop_agent Stop a sub-agent (or all) agentId (\"a1\" or \"all\")","s":"Sub-Agent Delegation","u":"/docs/reference/built-in-tools","h":"#sub-agent-delegation","p":214},{"i":229,"t":"These tools are available when Spotify is connected. Search and info tools are read-only; playback tools require Spotify Premium. Tool What it does Parameters spotify_search Search for tracks, artists, albums, playlists query, type?, limit? spotify_play Play a track, album, or playlist uri?, deviceId? spotify_pause Pause playback deviceId? spotify_next Skip to next track — spotify_previous Skip to previous track — spotify_now_playing Show currently playing track info — spotify_devices List available playback devices — spotify_queue Add a track to the playback queue uri spotify_like Save a track to your library trackId spotify_volume Set playback volume percent (0–100) spotify_shuffle Toggle shuffle state (boolean) spotify_repeat Set repeat mode state (off/track/context) spotify_top_tracks Get user's top tracks timeRange?, limit? spotify_playlists Get user's playlists —","s":"Spotify","u":"/docs/reference/built-in-tools","h":"#spotify","p":214},{"i":231,"t":"All runtime data lives in ~/.mercury/ — not in your project directory. Path Purpose ~/.mercury/mercury.yaml Main config (providers, channels, budget) ~/.mercury/soul/*.md Agent personality (soul, persona, taste, heartbeat) ~/.mercury/permissions.yaml Capabilities and approval rules ~/.mercury/skills/ Installed skills ~/.mercury/schedules.yaml Scheduled tasks ~/.mercury/token-usage.json Daily token usage tracking ~/.mercury/memory/ Short-term, long-term, episodic memory ~/.mercury/daemon.pid Background process PID ~/.mercury/daemon.log Daemon mode logs","s":"Configuration","u":"/docs/reference/configuration","h":"","p":230},{"i":233,"t":"Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between Ask Me and Allow All modes.","s":"Permissions","u":"/docs/reference/permissions","h":"","p":232},{"i":235,"t":"At session start, Mercury asks you to choose a permission mode: 🔒 Ask Me — Mercury asks for confirmation before risky actions. Default on both CLI and Telegram. ✅ Allow All — Mercury auto-approves everything for this session. No interruptions. Resets on restart. On CLI: an arrow-key menu appears at startup before the first prompt. On Telegram: inline keyboard buttons appear with the first message. Use /permissions to change mode at any time. Scheduled tasks always run in Allow All mode — filesystem access and shell commands are auto-approved.","s":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":232},{"i":237,"t":"Action Ask Me Allow All File reads Auto-approved (via scope matching) Auto-approved File writes Always prompts Auto-approved (via scope matching) Safe shell commands (ls, cat, grep, git status) Auto-approved Auto-approved Other shell commands Prompts Auto-approved New directory scope Prompts Auto-approved Loop continuation Prompts AI self-check (Mercury Autopilot)","s":"How Modes Differ","u":"/docs/reference/permissions","h":"#how-modes-differ","p":232},{"i":239,"t":"When prompted in Ask Me mode, choosing \"Always\" (or pressing A) flips to auto-approve for the rest of the session — equivalent to switching to Allow All mode.","s":"\"Always\" Response","u":"/docs/reference/permissions","h":"#always-response","p":232},{"i":242,"t":"Commands like sudo, rm -rf /, mkfs are never executed regardless of mode.","s":"1. Blocked (never executed)","u":"/docs/reference/permissions","h":"#1-blocked-never-executed","p":232},{"i":244,"t":"Mercury maintains a whitelist of safe read-only commands that never require approval: ls, cat, head, tail, grep, rg, find, wc, file, stat, which, echo, pwd, env, printenv, date, whoami, hostname, uname, git status, git diff, git log, git branch, git show, git remote, node --version, npm list, npx tsc --noEmit, and similar read-only operations.","s":"2. Safe Read Commands (auto-approved in any mode)","u":"/docs/reference/permissions","h":"#2-safe-read-commands-auto-approved-in-any-mode","p":232},{"i":246,"t":"Ask Me mode: Prompts for approval. Approval options: Yes / No / Always. Allow All mode: Auto-approved (except blocked commands). Edit ~/.mercury/permissions.yaml to customize blocked and auto-approved command patterns. Skill elevation: skills with allowed-tools in their SKILL.md get automatic approval for those tools during execution.","s":"3. Everything Else","u":"/docs/reference/permissions","h":"#3-everything-else","p":232},{"i":248,"t":"Mercury uses directory scopes to control file access. When the agent tries to access files in a new directory: Ask Me mode: Prompts for scope approval (reads and writes) Allow All mode: Auto-approves scope access Approved scopes persist for the session. The current working directory is always in scope.","s":"File System Scopes","u":"/docs/reference/permissions","h":"#file-system-scopes","p":232},{"i":250,"t":"Mercury includes an intelligent loop detection system called Mercury Autopilot that prevents the agent from getting stuck in repetitive tool call patterns.","s":"Mercury Autopilot (Loop Detection)","u":"/docs/reference/permissions","h":"#mercury-autopilot-loop-detection","p":232},{"i":252,"t":"Instead of simply counting repeated tool calls, Autopilot analyzes: Parameter diversity — Are the arguments changing between calls, or is it calling the same thing over and over? Success rate — Are the calls succeeding or failing repeatedly? This produces a verdict: Verdict Criteria Action Productive Diversity ≥ 60%, success ≥ 70% Continue without interruption Suspicious Between productive and stuck Monitor (Allow All: AI self-check, Ask Me: prompt user) Stuck Low diversity and/or low success Stop the current execution path","s":"How It Works","u":"/docs/reference/permissions","h":"#how-it-works","p":232},{"i":254,"t":"In Allow All mode, when Autopilot detects suspicious patterns, it asks the AI model itself to evaluate whether it's making progress. The AI sees its recent tool calls and decides whether to continue or stop. This runs up to 3 times before Autopilot forces a stop.","s":"AI Self-Check (Allow All Mode)","u":"/docs/reference/permissions","h":"#ai-self-check-allow-all-mode","p":232},{"i":256,"t":"In Ask Me mode, suspicious patterns trigger a user prompt asking whether to continue. On Telegram, this appears as an inline keyboard with Continue / Stop buttons.","s":"User Prompt (Ask Me Mode)","u":"/docs/reference/permissions","h":"#user-prompt-ask-me-mode","p":232},{"i":258,"t":"Regardless of mode, Mercury enforces absolute limits: Limit Value Description Max steps per task 25 Normal tool call limit Absolute max 75 Hard ceiling (never exceeded) Failed absolute max 20 Max steps if all are failing Max self-checks 3 AI self-check attempts before forced stop All Autopilot messages are branded with ☿ Mercury Autopilot for easy identification.","s":"Hard Limits","u":"/docs/reference/permissions","h":"#hard-limits","p":232},{"i":260,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","h":"","p":259},{"i":262,"t":"You can switch the active provider/model at runtime without restarting Mercury: /models — shows configured providers and current active model /models use <provider> — switches the active session model /models doctor — points to setup flow for adding/configuring providers This is a session-level switch for the running process. Use mercury doctor to change persisted defaults.","s":"Session Model Switching","u":"/docs/reference/provider-fallback","h":"#session-model-switching","p":259},{"i":265,"t":"Provider Default Model API Key Configuration DeepSeek deepseek-chat DEEPSEEK_API_KEY Default provider, cost-effective OpenAI gpt-4o-mini OPENAI_API_KEY GPT-4o-mini, GPT-4o, o3, etc. Anthropic claude-sonnet-4-20250514 ANTHROPIC_API_KEY Claude Sonnet, Haiku, Opus Grok (xAI) grok-4 GROK_API_KEY OpenAI-compatible endpoint Ollama Cloud gpt-oss:120b OLLAMA_CLOUD_API_KEY Remote Ollama models via API Ollama Local gpt-oss:20b No key needed Local Ollama instance (127.0.0.1:11434) OpenAI Compatible Configurable OPENAI_COMPAT_API_KEY Any OpenAI-compatible server","s":"API Key Providers","u":"/docs/reference/provider-fallback","h":"#api-key-providers","p":259},{"i":267,"t":"These providers authenticate through your browser using OAuth device flow — no API key required. Provider Default Model Subscription Required Configuration ChatGPT Web gpt-5.4-mini ChatGPT Plus or Pro Uses your ChatGPT subscription GitHub Copilot gpt-4o GitHub Copilot Uses your Copilot subscription","s":"OAuth Providers (No API Key Needed)","u":"/docs/reference/provider-fallback","h":"#oauth-providers-no-api-key-needed","p":259},{"i":269,"t":"Use your existing ChatGPT Plus or Pro subscription as a Mercury provider. No API key or separate billing — it runs through the same backend as chatgpt.com.","s":"ChatGPT Web (ChatGPT Plus/Pro)","u":"/docs/reference/provider-fallback","h":"#chatgpt-web-chatgpt-pluspro","p":259},{"i":271,"t":"Run mercury doctor (or first-time mercury setup) Select OpenAI from the provider list Choose ChatGPT Plus/Pro (OAuth — use your subscription) A browser window opens — sign in with your OpenAI account and enter the device code shown in the terminal Mercury fetches available models from your account and lets you pick a default","s":"Setup","u":"/docs/reference/provider-fallback","h":"#setup","p":259},{"i":273,"t":"Authenticates via OpenAI's device flow OAuth (same flow used by the Codex CLI) Uses the ChatGPT Responses API at chatgpt.com/backend-api/codex Session tokens are stored locally at ~/.mercury/chatgpt-session.json Access tokens auto-refresh when they expire — no manual re-authentication needed","s":"How It Works","u":"/docs/reference/provider-fallback","h":"#how-it-works","p":259},{"i":275,"t":"Models are fetched from your account. Typical models available on the codex endpoint include: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex, gpt-5.2 Not all ChatGPT models are supported Only models available on the codex/responses endpoint work with this provider. Some models like gpt-4o, o3, and o4-mini are not available through this endpoint.","s":"Available Models","u":"/docs/reference/provider-fallback","h":"#available-models","p":259},{"i":277,"t":"Variable Default Description CHATGPT_WEB_ENABLED false Enable the ChatGPT Web provider CHATGPT_WEB_MODEL gpt-5.4-mini Default model to use","s":"Environment Variables","u":"/docs/reference/provider-fallback","h":"#environment-variables","p":259},{"i":279,"t":"Use your GitHub Copilot subscription as a Mercury provider. Authenticates through GitHub OAuth and accesses models through the Copilot API.","s":"GitHub Copilot","u":"/docs/reference/provider-fallback","h":"#github-copilot","p":259},{"i":281,"t":"Run mercury doctor (or first-time mercury setup) Select GitHub Copilot from the provider list A browser window opens — sign in with your GitHub account and enter the device code shown in the terminal Mercury fetches available models from the Copilot API and lets you pick a default","s":"Setup","u":"/docs/reference/provider-fallback","h":"#setup-1","p":259},{"i":283,"t":"Authenticates via GitHub's device flow OAuth Exchanges the GitHub token for a short-lived Copilot API token (auto-refreshed every ~30 minutes) Uses the Copilot API endpoint with OpenAI-compatible requests Session stored locally at ~/.mercury/github-session.json GitHub OAuth tokens don't expire — they remain valid until revoked on github.com","s":"How It Works","u":"/docs/reference/provider-fallback","h":"#how-it-works-1","p":259},{"i":285,"t":"Models are fetched dynamically from the Copilot API. Typical models include: claude-sonnet-4.6, gpt-4o, gpt-5.4, claude-opus-4.6, gpt-4.1, gpt-4o-mini, gemini-3.1-pro-preview Multi-vendor models through one subscription GitHub Copilot provides access to models from OpenAI, Anthropic, and Google — all through a single subscription. This makes it one of the most versatile provider options.","s":"Available Models","u":"/docs/reference/provider-fallback","h":"#available-models-1","p":259},{"i":287,"t":"Variable Default Description GITHUB_COPILOT_ENABLED false Enable the GitHub Copilot provider GITHUB_COPILOT_MODEL gpt-4o Default model to use Copilot subscription required GitHub Copilot must be active on your GitHub account. If the Copilot token exchange fails, Mercury will show: \"Is GitHub Copilot enabled for your account?\"","s":"Environment Variables","u":"/docs/reference/provider-fallback","h":"#environment-variables-1","p":259},{"i":289,"t":"Run mercury doctor and enter API keys for the providers you want to use. For OAuth providers (ChatGPT Web, GitHub Copilot), the setup flow opens your browser for authentication — no keys to copy/paste. You can also set environment variables directly or edit ~/.mercury/mercury.yaml. Environment variables Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses DEEPSEEK_API_KEY, DEEPSEEK_BASE_URL, and DEEPSEEK_MODEL. Ollama Local requires no API key — just set OLLAMA_LOCAL_ENABLED=true and OLLAMA_LOCAL_MODEL to your preferred local model.","s":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":259},{"i":291,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","h":"","p":290},{"i":293,"t":"Tell Mercury in conversation: \"Remind me every day at 9am to check the server\" \"Schedule a weekly summary every Monday at 10am\"","s":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":290},{"i":295,"t":"\"Remind me in 15 minutes to take a break\" \"Ping me in 2 hours about the deployment\" Tasks persist to ~/.mercury/schedules.yaml and restore on restart. Responses route back to the channel (CLI or Telegram) where the task was created.","s":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":290},{"i":297,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","h":"","p":296},{"i":299,"t":"Extraction — After each conversation, Mercury pulls 0–3 facts and stores them with type, confidence, importance, and durability scores. Retrieval — Before each message, the top 5 relevant memories (within a 900-char budget) are injected into context. Mercury references them naturally. Consolidation — Every 60 minutes, Mercury builds a profile summary, an active-state summary, and generates reflection memories from detected patterns. Pruning — Active-scope memories stale after 21 days. Inferred memories decay. Low-confidence durable memories are dismissed after 120 days. Memories reinforced 3+ times are promoted to durable.","s":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":296},{"i":301,"t":"Type Scope What it stores identity durable Who you are — name, role, background preference durable What you like and dislike goal active What you're working toward project active What you're building habit durable Behavioral patterns and routines decision active Decisions and choices you've made constraint durable Rules and constraints you follow relationship durable People and connections episode active Specific events and experiences reflection durable System-generated insights from patterns","s":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":296},{"i":303,"t":"When Mercury detects opposing memories (e.g. \"prefers TypeScript\" vs \"prefers Python\"), the higher-confidence one wins. If equal, the newer one wins. Negation mismatches (\"likes X\" vs \"does not like X\") are detected and resolved automatically.","s":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":296},{"i":305,"t":"direct — Explicitly stated by you (highest confidence) inferred — Pattern Mercury detected (decays over time) manual — Added via /memory command system — Auto-generated reflections from consolidation","s":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":296},{"i":307,"t":"Use /memory in any channel: Action CLI Telegram Overview Arrow-key menu → Overview Inline button: 📋 Overview Recent memories Arrow-key menu → Recent Inline button: 🔍 Recent Search Arrow-key menu → Search Not available (ask Mercury to search) Pause learning Arrow-key menu → Pause Inline button: ⏸ Pause Resume learning Arrow-key menu → Resume Inline button: ▶ Resume Clear all Arrow-key menu → Clear (with confirmation) Inline button: 🗑 Clear → Yes","s":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":296},{"i":309,"t":"Second Brain is enabled by default. To disable it: Environment variable: SECOND_BRAIN_ENABLED=false Config file: set memory.secondBrain.enabled: false in ~/.mercury/mercury.yaml When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite. All data is stored locally in ~/.mercury/memory/second-brain/second-brain.db (SQLite). Nothing leaves your machine.","s":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":296},{"i":312,"t":"If you see NODE_MODULE_VERSION mismatch errors in logs, the better-sqlite3 native addon was compiled against a different Node.js version than your runtime. Fix with: npm rebuild better-sqlite3 When better-sqlite3 fails to load, Second Brain silently falls back to disabled — memory extraction and consolidation will not run. Check daemon logs (mercury logs) for SQLite-related errors if memories aren't being stored.","s":"Native module version mismatch","u":"/docs/reference/second-brain","h":"#native-module-version-mismatch","p":296},{"i":314,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills/<name>/SKILL.md.","s":"Skills","u":"/docs/reference/skills","h":"","p":313},{"i":316,"t":"On first run, Mercury seeds a built-in web-search skill at: ~/.mercury/skills/web-search/SKILL.md If you already have your own web-search skill, Mercury does not overwrite it.","s":"Default skills","u":"/docs/reference/skills","h":"#default-skills","p":313},{"i":318,"t":"Tell Mercury in conversation: \"Install skill from https://example.com/my-skill.md\" Or paste the SKILL.md content directly","s":"Installing","u":"/docs/reference/skills","h":"#installing","p":313},{"i":320,"t":"\"Use the daily-digest skill\"","s":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":313},{"i":322,"t":"\"Remind me daily at 9am to run the daily-digest skill\" Skills follow the Agent Skills specification. They get elevated permissions via allowed-tools and are loaded with progressive disclosure to save tokens.","s":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":313},{"i":324,"t":"This section tracks Mercury release notes by version.","s":"Releases","u":"/docs/releases","h":"","p":323},{"i":326,"t":"v1.1.7 v1.1.6","s":"Available release notes","u":"/docs/releases","h":"#available-release-notes","p":323},{"i":328,"t":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","s":"v1.1.6","u":"/docs/releases/1.1.6","h":"","p":327},{"i":330,"t":"New Ink-based interactive TUI with improved startup, status, and activity views. Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation. Background task system for long-running shell and agent work (/bg ...) with live status. Sub-agent lifecycle integration with background tracking and coding delegation (/code agent <task>). Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art. New runtime model switching commands (/models, /models use <provider>). New platform diagnostics command (mercury doctor --platform). Default seeded web-search skill for fresh installs.","s":"Highlights","u":"/docs/releases/1.1.6","h":"#highlights","p":327},{"i":332,"t":"Added minimal/detailed activity views and updated controls. Improved streaming responsiveness and markdown rendering stability. Added coding shortcuts: Ctrl+P plan Ctrl+X execute Esc / Ctrl+Q exit workspace Improved startup permission picker behavior and one-step confirm flow. Added raw-mode watchdog to improve terminal input reliability across environments.","s":"CLI/TUI Improvements","u":"/docs/releases/1.1.6","h":"#clitui-improvements","p":327},{"i":334,"t":"Introduced /ws command family with open/refresh/stage/commit/undo/exit. Added dedicated coding workspace docs page and updated command references. Added automatic handoff of interrupted long tasks to background workers.","s":"Workspace + Coding","u":"/docs/releases/1.1.6","h":"#workspace--coding","p":327},{"i":336,"t":"Added BackgroundTaskManager integration into agent lifecycle. Added /bg current to move active work to background. Added /bg list, /bg <id>, /bg cancel <id>, /bg clear for operational control. Added supervisor lifecycle hooks so agent progress/completion is reflected in background board.","s":"Background Tasks + Sub-Agents","u":"/docs/releases/1.1.6","h":"#background-tasks--sub-agents","p":327},{"i":338,"t":"Added Spotify Deck-style panel and clearer action feedback. Added keyboard shortcuts in player mode (N, P, +, -, Z, Esc). Added separate volume up/down controls. Added safe-gated inline album art support (MERCURY_SPOTIFY_ART=1, iTerm local sessions).","s":"Spotify","u":"/docs/releases/1.1.6","h":"#spotify","p":327},{"i":340,"t":"Expanded Docusaurus docs for: coding workspace mode sub-agents + background tasks platform diagnostics Spotify player shortcuts and album art gating default web-search skill Docker status guidance (no first-party Docker assets shipped in repo)","s":"Docs","u":"/docs/releases/1.1.6","h":"#docs","p":327},{"i":342,"t":"This release includes broad UX/system changes across TUI, background execution, and docs. For provider/model management, use mercury doctor to configure and /models to switch session model.","s":"Notes","u":"/docs/releases/1.1.6","h":"#notes","p":327},{"i":344,"t":"Release 1.1.7 brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot.","s":"v1.1.7","u":"/docs/releases/1.1.7","h":"","p":343},{"i":346,"t":"ChatGPT Web provider — use your ChatGPT Plus/Pro subscription directly, with OAuth device flow authentication. GitHub Copilot provider — authenticate via GitHub OAuth and use Copilot models as a Mercury provider. Mercury Autopilot — AI-based loop detection that analyzes parameter diversity and success rates to distinguish productive work from stuck loops, with auto-abort capability. Real-time progress system — live status cards with step tracking, elapsed timers, and collapsed tool execution history. Completion banners — task summaries with elapsed time, step count, model used, and token usage/budget metrics. Interactive Killipi mascot — hero centerpiece on the landing page with cursor tracking, expressions, and ambient glow effects.","s":"Highlights","u":"/docs/releases/1.1.7","h":"#highlights","p":343},{"i":348,"t":"Added ChatGPT Web provider with full OAuth device flow. Authenticate with your ChatGPT Plus or Pro subscription and use it as a Mercury backend. Added GitHub Copilot provider with OAuth device flow and Copilot token exchange. Moved ChatGPT Plus/Pro OAuth option under the OpenAI provider group during onboarding. Fixed ChatGPT Web inclusion in the configured providers list and default selector.","s":"New Providers","u":"/docs/releases/1.1.7","h":"#new-providers","p":343},{"i":350,"t":"Implemented AI-based loop detection with auto-abort capability. Replaced inline tool loop detection with a dedicated ToolCallLoopDetector module. Smart repetition analysis evaluates parameter diversity and success rate to classify work as productive, suspicious, or stuck. Added strict tool usage guidelines to the system prompt to reduce unnecessary repetition. Increased tool loop tolerance thresholds to avoid false positives on legitimate multi-step tasks.","s":"Mercury Autopilot (Loop Detection)","u":"/docs/releases/1.1.7","h":"#mercury-autopilot-loop-detection","p":343},{"i":352,"t":"New progress tracking system with /progress command and foreground heartbeat alerts. Live status bar displays a \"processing\" label before the first tool step occurs. Tool steps are hidden while the agent is in thinking state, shown only when actively executing. Collapsed tool execution history tracked and displayed in agent progress notifications. Completion banners now include elapsed time, step count, and token usage/budget metrics. Completion banners are constrained to substantial tasks — minor step-based interactions no longer trigger them.","s":"Real-Time Progress & Completion","u":"/docs/releases/1.1.7","h":"#real-time-progress--completion","p":343},{"i":354,"t":"Slash command suggestions — type / and get autocomplete suggestions with arrow-key navigation and Enter selection. Multi-line input — Shift+Enter for new lines (later rebound to Ctrl+N). Input cursor support — proper cursor positioning in the TUI input field. Choice prompt selection — interactive prompts for CLI agent interactions. Scrollable Agent Output panel — replaces the old static chat view in the workspace. Workspace focus management — keyboard navigation between panels with scrolling and chat toggling. View toggle rebound to Ctrl+T with improved input sanitization. Dynamic thinking status indicators in the UI header.","s":"CLI / TUI Improvements","u":"/docs/releases/1.1.7","h":"#cli--tui-improvements","p":343},{"i":356,"t":"Implemented Telegram-specific task lifecycle with message deferral and structured help documentation. Ephemeral message tracking and cleanup — permission prompts and transient messages auto-delete after handling. Telegram help command now shows a clean, Telegram-formatted reference with only Telegram-relevant commands.","s":"Telegram","u":"/docs/releases/1.1.7","h":"#telegram","p":343},{"i":358,"t":"Interactive write approval — file write operations now prompt with a clear approval flow. Safe read-only allowlist — shell commands like ls, cat, find, grep, git status, git log, and git diff are auto-approved without prompting. Persistent plan tracking and read-only tool restrictions for programming mode.","s":"Permissions & Safety","u":"/docs/releases/1.1.7","h":"#permissions--safety","p":343},{"i":360,"t":"Human-readable background task IDs (e.g., task-alpha, task-bravo) replace opaque numeric IDs. Mass task termination support via /bg cancel all.","s":"Background Tasks","u":"/docs/releases/1.1.7","h":"#background-tasks","p":343},{"i":362,"t":"Full visual redesign of the landing page with updated color palette and refined layout. Interactive Killipi mascot added to the hero section — eyes follow cursor, click for expressions, ambient particle effects. Fixed Docusaurus admonition rendering — updated all :::tip, :::info, :::warning blocks to use the v3 directive label syntax (:::type[Title]). Fixed mobile sidebar visibility in dark mode with explicit background and text color overrides. Expanded documentation for sub-agents, Spotify integration, autopilot, and provider configuration.","s":"Documentation & Website","u":"/docs/releases/1.1.7","h":"#documentation--website","p":343},{"i":364,"t":"This release includes 35 commits with +3,829 lines of new source code across 25 files. New keyboard shortcut for multi-line input: Ctrl+N (changed from Shift+Enter). View toggle shortcut changed to Ctrl+T.","s":"Notes","u":"/docs/releases/1.1.7","h":"#notes","p":343}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/2",[0,0.801,1,3.69,2,5.283,3,4.678,4,4.449,5,5.538,6,5.733,7,7.979,8,2.412,9,1.82,10,3.69,11,5.733]],["t/4",[0,0.857,4,3.259,5,4.056,6,3.612,9,1.657,12,2.325,13,2.685,14,6.133,15,1.796,16,2.947,17,2.189,18,2.806,19,2.947,20,2.189,21,5.221,22,4.042,23,4.764,24,1.879,25,2.073,26,3.612,27,3.612,28,4.505,29,5.221,30,5.844,31,1.924,32,3.116,33,6.864,34,3.328,35,4.042,36,1.35,37,4.042,38,4.042,39,3.116,40,2.129,41,3.472,42,4.042,43,4.042,44,2.401,45,1.111,46,2.947,47,0.566,48,2.486,49,2.02,50,1.837]],["t/6",[0,1.137,4,2.939,8,0.796,9,1.195,15,1.295,17,1.427,24,1.96,25,3.088,36,2.201,44,1.565,47,0.738,51,1.016,52,1.681,53,1.92,54,4.901,55,3.108,56,2.169,57,2.926,58,1.958,59,1.122,60,3.073,61,1.427,62,0.735,63,2.169,64,1.92,65,2.424,66,2.592,67,3.03,68,1.828,69,2.169,70,1.565,71,1.791,72,2.69,73,1.077,74,1.681,75,1.565,76,2.775,77,2.354,78,1.225,79,1.75,80,1.387,81,1.469,82,0.997,83,1.828,84,3.073,85,2.634,86,2.634,87,1.828,88,2.169,89,2.504,90,2.03,91,2.169,92,1.828,93,0.944,94,1.515,95,2.569,96,1.099,97,2.169,98,3.766,99,2.354,100,2.169,101,2.354]],["t/8",[0,0.877,9,1.195,47,0.844,49,2.107,55,1.657,73,1.724,75,3.578,76,3.172,79,2.8,80,2.22,81,2.351,82,1.596,83,4.181,89,2.504,90,3.249,91,3.47,102,4.216,103,3.249,104,3.073,105,4.216,106,3.578,107,2.926,108,1.796,109,2.107,110,2.8,111,3.766,112,3.766,113,3.766,114,2.677,115,4.216,116,2.592,117,3.47,118,2.866,119,3.47,120,2.323,121,2.763,122,3.766,123,3.073,124,2.69,125,2.592,126,1.361,127,2.055,128,3.073,129,3.073]],["t/10",[0,0.622,2,4.104,9,1.414,20,2.7,23,3.46,25,2.556,45,1.37,47,0.948,62,1.391,71,2.301,76,2.626,82,1.887,84,4.935,87,3.46,130,4.454,131,4.985,132,3.634,133,4.985,134,4.985,135,4.985,136,2.7,137,4.985,138,3.843,139,4.985,140,2.7,141,2.08,142,2.626,143,3.634,144,2.961,145,4.985,146,4.454,147,2.626,148,3.634,149,2.78,150,4.454]],["t/12",[0,0.823,106,3.914,108,2.807,120,2.541,121,2.59,151,3.569,152,3.293,153,2.494,154,5.079,155,2.694,156,6.589,157,5.887,158,6.589,159,6.589]],["t/14",[4,1.796,8,0.974,9,0.913,15,1.516,17,1.745,18,2.236,23,2.236,36,2.004,44,1.913,45,0.885,47,0.84,51,1.242,62,0.899,71,1.677,73,2.018,75,1.913,82,2.27,92,2.236,93,1.768,109,1.61,114,2.193,118,1.533,120,2.314,123,2.348,147,1.697,155,1.317,160,2.878,161,2.14,162,1.796,163,2.055,164,1.432,165,2.931,166,1.913,167,1.728,168,1.981,169,1.61,170,1.852,171,2.878,172,2.599,173,1.57,174,1.796,175,2.643,176,1.796,177,3.221,178,2.673,179,1.852,180,3.221,181,2.348,182,2.838,183,2.931,184,1.852,185,2.236,186,2.483,187,1.981,188,5.308,189,1.697,190,3.034,191,2.652,192,1.852,193,1.852,194,3.221,195,2.348,196,1.57]],["t/16",[15,1.765,36,1.918,50,2.609,51,2.215,71,1.952,75,5.595,78,2.669,118,2.732,121,2.923,128,4.186,197,6.121,198,2.944,199,4.572,200,3.986,201,5.742,202,3.986]],["t/18",[8,1.777,15,1.252,19,2.971,36,1.362,41,2.421,47,0.966,51,1.572,58,1.514,62,2.327,82,2.225,126,2.939,149,2.273,155,1.667,167,1.694,169,2.037,179,3.381,189,2.147,203,4.286,204,3.966,205,2.707,206,3.642,207,2.707,208,3.509,209,2.971,210,2.798,211,2.971,212,3.642,213,2.344,214,2.344,215,1.895,216,2.938,217,1.701]],["t/20",[15,2.149,36,2,41,2.483,51,1.612,62,1.671,71,1.421,92,2.901,94,2.404,118,3.328,148,6.457,149,3.338,169,2.992,175,1.643,196,2.037,216,3.816,217,2.498,218,2.776,219,2.776,220,1.858,221,3.976,222,3.002,223,3.222,224,3.681,225,2.776,226,5.098,227,3.734,228,3.556,229,3.734,230,3.734,231,4.18]],["t/22",[8,2.905,9,1.32,15,1.43,24,3.002,36,1.555,51,1.795,71,1.582,72,2.97,78,3.002,175,1.83,202,3.231,215,4.151,217,2.695,232,4.159,233,4.926,234,5.317,235,3.832,236,4.159,237,4.708,238,3.393]],["t/24",[8,1.222,9,2.132,15,2.109,24,1.879,36,1.952,50,1.837,51,1.559,58,3.262,82,2.212,167,2.529,175,1.589,212,3.612,215,1.879,217,2.864,239,5.223,240,2.325,241,2.579,242,3.328,243,2.486,244,3.328,245,3.612,246,5.22,247,3.328,248,2.254,249,3.612,250,2.02]],["t/26",[15,1.284,36,2,44,2.483,51,1.612,61,2.264,71,1.421,78,1.943,82,1.582,109,2.089,121,1.643,124,2.667,126,2.466,127,2.037,141,3.938,155,1.709,170,2.404,175,1.643,217,1.744,248,2.331,250,2.089,251,3.681,252,3.976,253,2.57,254,2.776,255,3.976,256,3.222,257,2.201,258,3.723,259,2.404,260,1.899,261,2.57,262,2.404,263,3.441,264,3.734,265,2.776]],["t/28",[0,0.531,1,2.445,8,2.135,10,2.445,15,1.862,17,2.303,24,3.782,47,0.596,51,1.64,66,3.727,82,1.609,94,2.445,126,1.373,141,1.774,152,2.125,153,1.609,164,1.89,167,2.217,183,2.526,199,3.727,222,1.672,239,2.445,248,4.292,266,4.989,267,3.799,268,3.727,269,2.824,270,3.278,271,3.278,272,2.526,273,2.824,274,3.799,275,3.799,276,3.501,277,3.501,278,3.501,279,3.799,280,3.501]],["t/30",[3,4.186,15,1.765,17,3.11,36,2.484,51,2.215,68,5.161,93,2.664,147,4.593,164,2.552,189,3.024,210,3.538,281,5.13,282,5.742,283,3.664,284,5.742,285,5.161,286,5.742]],["t/32",[15,1.203,28,3.017,51,1.509,65,2.25,120,3.698,125,3.51,126,1.264,168,2.406,169,1.956,175,2.244,184,2.25,198,3.455,199,2.406,217,3.091,248,2.182,287,4.677,288,3.222,289,2.654,290,3.366,291,4.144,292,4.912,293,3.914,294,4.4,295,3.497,296,4.699,297,5.1]],["t/34",[15,1.922,20,3.387,49,3.125,51,2.412,55,2.459,71,2.125,120,2.412,125,3.845,198,3.207,199,3.845,288,3.415,289,3.65,290,2.842,291,3.845,298,5.587,299,5.148]],["t/36",[0,0.587,36,1.57,51,1.812,58,2.415,62,2.245,70,2.791,82,1.779,126,2.1,136,2.545,147,2.475,149,2.621,153,1.779,155,1.922,164,2.089,167,1.873,179,3.738,189,2.475,204,2.702,208,2.185,243,2.89,276,3.869,281,4.199,300,4.148,301,3.622,302,4.199,303,3.869,304,4.699,305,3.869,306,4.199,307,4.199,308,2.791,309,3.262,310,3.869,311,6.501,312,3.869]],["t/38",[15,2.492,47,1.205,80,3.829,103,4.276,106,3.296,155,2.269,170,3.19,213,3.19,309,5.046,313,4.957,314,5.548,315,3.094,316,5.3,317,4.044,318,4.276,319,6.496,320,4.276,321,3.411,322,5.548]],["t/40",[19,2.379,31,1.553,47,1.077,51,1.259,55,1.96,70,2.961,80,1.719,89,1.939,109,1.631,120,2.812,125,3.065,126,1.953,149,1.82,151,1.768,155,2.038,168,2.007,169,1.631,170,1.877,189,1.719,198,1.674,216,1.631,220,1.451,222,1.96,223,2.516,224,2.007,225,4.843,287,2.265,288,1.42,289,2.317,290,2.265,294,2.516,300,2.083,315,1.82,317,2.379,318,2.516,320,2.516,321,2.007,323,2.379,324,2.687,325,4.935,326,2.516,327,2.916,328,4.198,329,2.916,330,2.916,331,2.379,332,4.198,333,2.916,334,2.916,335,2.687,336,2.265,337,3.264,338,3.264,339,2.379,340,2.916,341,2.516,342,2.916,343,2.961,344,2.687,345,2.687]],["t/42",[0,0.845,9,1.92,25,3.472,58,2.516,59,2.884,81,3.776,120,2.611,136,3.667,153,2.563,167,1.95,187,4.163,346,6.049]],["t/44",[0,0.942,25,3.015,52,3.752,55,2.968,58,2.185,66,3.615,74,4.817,222,2.968,347,4.532,348,5.88,349,5.88,350,3.279,351,5.253,352,4.84,353,4.081,354,4.286,355,4.532,356,3.015,357,3.615]],["t/46",[0,1.078,9,1.796,40,3.336,45,1.74,55,3.111,60,4.617,63,5.215,64,4.617,100,5.215,136,3.431,353,4.396,358,5.659,359,5.215,360,4.617]],["t/48",[0,0.965,4,3.401,9,2.191,15,1.874,25,3.127,36,2.037,50,2.771,52,3.892,54,4.051,55,2.398,58,2.266,74,3.892,95,2.973,273,4.051,361,4.445,362,3.303,363,3.75,364,4.701]],["t/50",[0,0.857,24,3.191,28,5.292,58,2.551,66,4.221,74,4.381,222,2.699,343,4.078,365,6.865,366,6.865,367,4.221]],["t/52",[0,0.801,9,1.82,24,2.983,25,3.29,45,1.763,50,2.916,55,2.523,65,4.588,153,2.429,331,4.678,357,3.946,362,3.475,368,4.678,369,5.733,370,5.283]],["t/54",[0,0.908,36,2.429,67,4.181,68,5.047,69,5.986,70,4.319,354,5.3]],["t/56",[0,0.806,9,1.831,12,2.677,25,2.387,32,4.978,36,1.555,58,1.729,62,1.299,65,2.677,67,2.677,71,1.582,74,4.121,94,2.677,96,1.942,149,2.596,185,3.231,222,2.539,336,3.231,355,3.588,356,2.387,357,2.862,364,3.588,371,3.832,372,5.839,373,3.588,374,3.588,375,3.832,376,3.832,377,4.655,378,4.655,379,4.655,380,4.159,381,3.588,382,2.97,383,3.588,384,3.092,385,3.832]],["t/58",[8,2.019,15,2.052,25,3.425,58,2.481,62,1.864,144,3.967,153,2.528,154,5.148,208,3.105,214,3.84,215,3.105,240,3.84,386,6.679]],["t/60",[45,1.524,46,4.044,47,0.777,58,2.061,167,1.598,217,2.315,387,4.957,388,4.957,389,4.957,390,4.957,391,5.548,392,5.548,393,5.548,394,5.548,395,4.957,396,5.548,397,5.548,398,5.548,399,5.548,400,7.271,401,5.548,402,5.548,403,5.548,404,4.957,405,4.957,406,5.548,407,4.957]],["t/62",[9,1.628,15,1.765,24,2.669,55,2.258,167,1.654,175,2.258,217,3.639,239,5.49,246,5.723,247,4.727,408,5.13,409,5.13,410,5.13]],["t/64",[8,1.799,58,2.211,82,2.252,126,2.457,167,2.546,175,2.34,214,3.422,239,4.823,243,3.659,260,2.704,271,4.587,411,6.263,412,5.317,413,5.317,414,4.338]],["t/66",[0,0.743,9,2.157,25,3.051,58,2.211,65,4.375,81,3.318,153,2.252,157,5.317,166,3.535,167,2.192,193,3.422,411,4.899,415,3.535,416,5.951,417,5.951,418,4.338,419,3.797,420,5.951,421,3.318]],["t/68",[0,0.878,4,2.715,9,1.381,10,1.349,13,1.558,24,1.09,25,1.203,44,2.893,47,0.328,54,3.737,55,2.212,64,1.709,65,1.349,67,2.8,71,0.797,95,1.143,96,2.032,97,1.931,129,2.797,162,1.308,167,1.105,175,0.922,181,3.55,184,2.8,187,1.442,192,2.8,289,3.632,291,1.442,354,2.797,362,2.637,367,2.359,372,4.101,373,3.753,374,1.808,375,1.931,376,1.931,384,1.558,422,2.095,423,2.095,424,2.637,425,3.428,426,4.351,427,3.159,428,2.565,429,4.351,430,2.095,431,2.345,432,4.009,433,3.428,434,2.345,435,2.345,436,2.095,437,2.095,438,2.095,439,2.345,440,5.027,441,2.345,442,2.095,443,2.095,444,2.095,445,1.808,446,2.095,447,2.095,448,1.931,449,2.345,450,2.345,451,5.027,452,1.931,453,2.095,454,4.632,455,2.345,456,2.345,457,2.345,458,1.931,459,4.351,460,2.095,461,1.496]],["t/70",[181,5.38,426,7.758,429,7.758,436,6.594]],["t/72",[0,1.11,24,3.147,55,2.662,71,2.301,289,4.134,440,7.945]],["t/74",[9,1.844,64,4.739,175,2.556,451,7.804,454,7.19,458,5.353,459,7.804,460,5.809,461,4.149]],["t/76",[0,1.012,9,1.358,16,3.492,31,2.28,55,1.883,59,2.041,60,4.802,61,2.595,62,1.337,65,2.755,82,1.813,155,1.959,200,3.325,415,2.846,462,4.28,463,4.28,464,5.886,465,4.28,466,3.182,467,4.791,468,4.791,469,7.53,470,3.944,471,4.791,472,4.28,473,3.182,474,4.28,475,3.492,476,4.791,477,4.791,478,4.28,479,3.944,480,4.791,481,3.325,482,3.492]],["t/78",[0,0.725,1,3.341,4,3.24,10,2.306,13,2.663,50,1.822,54,4.538,55,2.284,65,3.341,72,2.558,84,4.235,95,1.954,96,1.673,97,4.783,140,2.171,167,1.155,187,2.465,192,2.306,219,2.663,289,2.701,291,2.465,356,2.056,362,2.171,367,2.465,372,4.98,373,3.09,374,3.09,422,3.582,423,5.191,425,3.582,427,5.625,430,3.582,432,3.301,437,3.582,438,3.582,442,3.582,443,3.582,444,3.582,445,3.09,446,3.582,447,3.582,453,3.582,454,3.301,483,4.009,484,3.582,485,4.009,486,1.744]],["t/80",[0,1.084,54,5.768,71,2.508,98,6.594]],["t/82",[0,0.915,8,1.258,9,0.735,31,1.98,41,1.54,45,0.712,46,1.89,47,0.977,49,1.296,50,1.178,53,1.89,55,1.636,59,1.773,72,1.654,73,1.702,76,1.365,77,2.316,79,1.722,80,2.192,81,1.446,82,0.981,83,1.799,87,1.799,89,2.472,90,1.998,91,2.134,107,1.799,108,1.104,109,3.487,110,1.722,111,3.718,112,2.316,113,2.316,114,2.653,116,2.559,120,2.011,121,1.019,124,2.656,125,2.559,126,1.344,127,1.264,151,1.404,155,1.06,162,2.321,173,2.029,190,1.594,192,1.491,207,1.722,220,1.85,259,1.491,280,2.134,285,1.799,288,1.128,321,1.594,341,1.998,342,2.316,343,1.54,344,2.134,419,1.654,479,3.426,486,1.81,487,2.134,488,2.134,489,2.134,490,1.998,491,2.472,492,2.134,493,2.134,494,2.889,495,1.998,496,2.316,497,3.426,498,2.316,499,1.446,500,1.799,501,1.722,502,3.034,503,1.998,504,2.593,505,2.593,506,2.593,507,2.593,508,2.134,509,1.446,510,2.316,511,1.998,512,1.998]],["t/84",[0,1.092,4,4.378,9,2.226,25,3.57,31,2.473,36,1.736,52,5.01,53,3.788,54,4.624,55,2.737,56,4.278,74,3.316,95,2.533,273,3.451,362,2.814,363,3.195,364,4.005,370,4.278,415,3.087,513,5.196,514,4.642]],["t/86",[0,0.935,12,3.341,25,2.979,55,2.945,58,2.159,59,2.475,67,3.341,74,3.708,96,2.424,120,2.241,222,2.284,301,4.479,354,4.235,355,4.479,357,3.573,372,4.235,373,4.479,375,4.783,376,4.783,515,5.191,516,5.81,517,4.783]],["t/88",[0,1.047,9,1.974,24,3.236,55,2.737,58,1.931,60,3.788,61,2.814,62,1.943,63,4.278,64,3.788,79,3.451,126,1.678,136,2.814,144,3.087,147,2.737,149,2.898,155,2.125,164,2.31,172,2.737,216,2.597,220,2.31,301,4.005,302,4.642,358,4.642,518,4.642,519,4.005,520,2.473]],["t/90",[0,0.857,15,2.11,40,3.616,55,3.269,67,3.948,99,7.43,100,5.652,101,6.134,521,5.004]],["t/92",[0,0.869,12,4.004,62,1.943,126,2.248,155,2.847,216,3.479,217,2.905,466,4.625,522,5.732,523,6.22]],["t/94",[0,0.67,8,1.622,17,2.906,40,2.826,62,1.498,80,2.826,94,3.086,126,2.576,147,2.826,148,3.912,169,2.682,179,3.086,193,3.086,216,3.987,220,2.385,260,2.439,272,3.188,315,2.992,353,3.725,448,4.418,466,3.564,491,3.188,514,4.794,524,4.136,525,3.725,526,4.794,527,3.3]],["t/96",[31,2.765,45,1.596,47,1.161,62,2.091,118,2.765,126,2.829,152,2.903,203,4.235,204,3.341,208,2.701,209,4.235,257,3.06,326,4.479,481,5.2,525,4.033,528,5.81,529,5.81]],["t/98",[19,3.1,47,0.849,62,1.692,70,2.526,126,1.373,136,2.303,146,3.799,149,3.38,189,2.24,204,2.445,208,1.977,216,3.028,220,1.89,224,3.727,225,4.025,300,2.713,306,5.415,307,5.415,308,2.526,309,2.951,310,3.501,312,3.501,320,3.278,323,3.1,324,3.501,325,5.611,326,3.278,327,3.799,328,4.901,329,3.799,330,3.799,331,4.418,530,2.615,531,6.06,532,2.951,533,4.989,534,4.252,535,3.501,536,3.799]],["t/100",[8,1.915,47,1.25,70,4.701,80,2.781,109,1.76,118,1.676,126,2.556,169,1.76,213,2.025,220,2.815,222,2.49,224,3.246,226,2.567,243,3.246,321,3.894,325,4.617,328,2.444,332,5.493,333,4.717,334,4.717,335,2.899,336,3.664,339,2.567,353,4.396,522,2.899,530,2.165,537,2.714,538,2.899,539,3.521,540,4.346,541,5.279,542,5.279,543,3.521]],["t/102",[8,1.129,15,1.148,41,2.219,47,0.523,50,1.697,51,1.441,62,1.54,70,2.219,71,1.269,94,2.148,118,3.121,126,1.206,148,6.392,149,3.076,169,2.757,189,2.905,196,1.821,202,3.829,216,2.757,218,2.481,219,2.481,220,3.435,221,3.664,222,2.848,223,2.879,224,4.033,225,3.664,226,4.781,227,3.337,228,3.277,229,3.337,230,3.337,325,2.723,328,3.829,331,2.723,332,3.829,353,2.592,532,2.592,544,3.735]],["t/104",[8,1.907,9,1.788,24,1.625,45,0.961,47,1.229,58,2.792,62,0.976,82,1.323,126,1.696,144,2.077,147,1.841,153,2.387,162,1.95,166,2.077,167,2.02,175,1.374,214,3.02,215,2.441,216,1.747,217,3.135,239,4.843,240,2.01,243,2.15,244,2.878,245,3.124,246,4.866,247,2.878,260,1.589,388,3.124,389,3.124,390,3.124,408,3.124,409,3.124,410,3.124,421,1.95,501,2.322,545,3.124,546,3.496,547,3.496,548,2.695,549,3.496]],["t/106",[0,0.545,3,3.182,9,1.238,36,1.458,40,2.299,45,1.199,47,1.195,68,3.03,71,1.484,82,1.652,93,1.564,151,2.364,164,2.745,166,2.593,167,1.258,196,2.128,210,2.938,222,1.716,250,2.181,283,2.786,336,3.03,381,3.365,486,3.117,537,3.365,550,2.9,551,3.365,552,3.594,553,4.365,554,4.101,555,3.03,556,4.365,557,3.594,558,4.365,559,3.594,560,3.9,561,3.9,562,4.365,563,4.365,564,3.9,565,2.593,566,2.51,567,2.684]],["t/108",[0,0.766,10,3.528,13,2.874,47,0.859,76,2.279,93,2.554,120,1.669,121,1.701,136,2.343,152,3.066,176,3.422,184,3.528,198,2.219,213,2.488,228,2.57,241,2.761,254,2.874,259,3.528,315,2.413,424,2.343,428,2.279,466,2.874,501,2.874,568,4.327,569,3.314,570,4.327,571,3.154,572,3.154,573,3.562,574,3.003,575,3.562,576,3.335,577,4.327,578,4.73,579,3.154,580,3.003,581,3.866,582,3.866,583,4.327,584,4.327,585,4.327]],["t/110",[0,0.882,17,2.303,20,2.303,47,1.14,92,2.951,93,1.523,108,1.811,118,2.023,126,1.373,169,3.028,184,2.445,198,2.18,222,1.672,226,3.1,228,4.195,254,2.824,283,2.713,288,1.85,315,2.371,372,3.1,424,2.303,427,3.501,501,2.824,566,2.445,569,1.977,571,3.1,572,4.418,573,5.813,574,4.206,576,3.278,579,3.1,580,2.951,586,3.501,587,3.501,588,3.799,589,4.252,590,3.278,591,3.799,592,3.278,593,3.799,594,4.252,595,2.713]],["t/112",[0,1.056,9,2.003,76,4.455,103,5.444,104,5.148,569,3.283,596,7.062]],["t/114",[45,1.913,108,2.966,228,4.136,565,4.136,569,3.237,597,6.962,598,6.962,599,6.962,600,6.22,601,6.962]],["t/116",[0,0.894,12,3.12,47,0.76,59,2.311,78,2.522,176,3.025,228,3.223,254,4.759,315,3.025,356,2.782,362,2.938,473,3.604,488,4.466,489,4.466,569,2.522,576,5.522,579,3.955,580,3.766,586,4.466,587,4.466,602,5.426,603,4.847,604,4.847,605,4.847,606,4.847,607,5.426,608,4.466]],["t/118",[0,0.752,8,1.499,17,1.756,47,0.945,53,2.363,78,2.306,108,2.113,121,2.858,161,2.154,162,2.766,172,2.612,198,1.663,219,3.294,257,1.708,278,4.083,288,2.158,321,3.05,341,2.499,350,3.359,362,1.756,363,1.994,414,2.363,424,1.756,466,4.481,491,1.926,499,1.808,508,4.083,509,1.808,517,4.083,554,3.294,566,3.464,569,1.507,571,2.363,574,2.25,606,2.897,609,1.994,610,3.165,611,2.363,612,2.897,613,2.669,614,2.669,615,3.242,616,3.242,617,4.083,618,3.242,619,3.242,620,4.083,621,3.615,622,4.431,623,4.083,624,2.897,625,2.363,626,4.083,627,3.242,628,3.242,629,2.154]],["t/120",[0,0.629,8,2.061,10,2.896,40,2.653,47,0.705,59,2.145,78,3.169,79,3.345,80,3.59,81,2.808,82,1.906,83,3.496,93,1.804,104,3.671,162,2.808,283,3.214,285,4.731,356,2.582,424,2.728,466,3.345,486,2.191,569,2.341,574,3.496,578,3.882,617,4.146,623,5.612,630,5.036,631,5.036,632,5.036,633,5.036,634,4.5,635,3.671]],["t/122",[47,0.634,49,2.262,93,1.622,108,1.928,116,2.783,118,2.154,169,2.262,175,1.779,198,2.321,288,1.969,346,4.044,424,3.43,466,3.006,569,2.104,571,3.299,572,4.617,573,3.726,574,4.396,590,3.489,591,4.044,593,4.044,595,2.888,636,4.526,637,6.334,638,6.334,639,4.044,640,5.659,641,2.888,642,4.526,643,4.526,644,4.526,645,4.526,646,5.214,647,6.334,648,4.526,649,4.044,650,4.526,651,4.526,652,4.526,653,4.526]],["t/124",[0,0.921,45,1.56,47,0.795,126,1.833,228,4.384,254,3.77,315,3.165,356,2.91,363,3.49,407,5.071,576,4.375,579,4.137,580,3.94,586,4.673,587,4.673,603,5.071,604,5.071,614,4.673,620,4.673,654,5.071,655,5.071,656,4.375,657,5.676,658,5.676]],["t/126",[47,0.768,54,3.644,108,2.337,119,4.516,121,2.157,176,3.059,222,2.157,228,3.259,360,3.999,363,3.373,414,3.999,470,4.516,478,4.901,509,3.059,535,5.941,569,3.355,579,3.999,610,3.501,611,3.999,617,5.941,659,3.644,660,4.901,661,4.229,662,5.486,663,5.486,664,5.486]],["t/128",[0,0.861,1,2.344,16,2.971,47,0.823,108,1.736,129,2.971,141,3.34,152,2.037,153,1.543,179,2.344,184,2.344,213,2.344,233,2.707,241,2.601,251,2.506,253,2.506,256,4.532,257,3.096,258,1.987,261,2.506,262,3.966,268,2.506,320,3.142,566,2.344,665,3.381,666,3.642,667,4.081,668,3.381,669,4.286,670,3.642,671,3.642,672,3.642,673,2.971,674,4.84,675,3.142,676,2.601,677,2.037,678,3.642,679,2.971,680,2.601,681,2.971,682,2.971,683,2.506,684,3.642]],["t/131",[0,0.67,8,1.088,45,0.989,47,0.899,51,1.388,52,2.296,59,1.533,62,1.498,67,2.069,78,2.494,103,2.774,141,3.174,162,2.007,184,2.069,198,1.845,217,1.501,251,2.213,265,2.39,288,1.565,289,2.983,316,2.623,352,2.962,362,2.906,424,1.949,488,2.962,492,2.962,508,2.962,517,4.417,521,2.623,605,3.215,624,3.215,626,4.417,635,2.623,665,2.069,671,6.354,685,3.598,686,3.598,687,2.498,688,3.215,689,3.598,690,3.598,691,5.366,692,2.623,693,4.417,694,2.962,695,6.416,696,4.417,697,3.598,698,3.598,699,3.215,700,3.598,701,3.598,702,3.598,703,3.598]],["t/133",[0,0.903,9,1.773,31,2.115,40,2.341,47,1.013,76,3.293,79,2.952,80,3.293,81,2.478,82,1.682,83,3.085,89,4.297,104,3.24,124,3.99,141,3.452,210,2.976,217,2.609,251,2.733,252,2.952,486,1.933,491,2.64,520,2.115,540,5.148,635,3.24,665,2.556,693,6.463,694,5.148,704,3.426,705,4.444]],["t/135",[0,0.972,9,1.751,36,1.458,45,1.199,53,3.182,55,1.716,96,1.821,120,1.684,124,4.572,126,2.515,141,2.989,169,3.58,251,2.684,252,4.759,253,4.405,254,4.101,258,2.128,352,3.594,419,2.786,428,2.299,484,5.517,491,2.593,499,2.434,620,3.594,661,3.365,706,6.175,707,5.083,708,2.684,709,4.365,710,3.182,711,4.365]],["t/137",[15,1.263,36,1.976,44,2.441,51,1.585,55,1.616,61,2.226,71,1.397,78,1.911,82,1.556,109,2.054,121,1.616,124,2.623,126,2.447,127,2.003,141,3.804,155,1.681,162,2.292,170,2.363,175,1.616,204,2.363,217,1.715,248,2.292,250,2.054,251,2.527,252,3.929,253,2.527,254,2.73,255,3.929,257,2.165,258,3.914,259,2.363,260,2.688,261,2.527,262,2.363,263,3.383,264,3.672,265,2.73,665,2.363,712,2.527]],["t/139",[0,0.935,45,2.059,93,2.685,256,5.776,713,6.694]],["t/141",[36,1.833,82,2.076,93,1.966,141,2.289,175,2.157,258,2.674,259,3.155,262,3.155,265,3.644,668,3.155,669,5.261,676,3.501,677,4.03,714,4.901,715,4.516,716,3.644,717,4.516,718,4.516,719,4.901,720,4.516,721,5.486,722,5.486,723,4.516,724,4.901,725,4.901,726,4.901]],["t/143",[62,1.391,69,4.104,78,3.147,93,1.786,189,2.626,191,4.104,233,3.311,258,2.43,262,2.867,268,3.065,272,2.961,521,3.634,667,4.699,669,3.634,677,4.308,679,4.935,680,3.181,681,3.634,682,3.634,716,3.311,727,4.454,728,4.104,729,4.104,730,3.311,731,4.454,732,3.843,733,4.454,734,4.985,735,4.454,736,4.454,737,4.104]],["t/145",[0,0.725,36,1.941,47,0.814,78,1.864,82,1.518,164,1.782,233,2.663,241,2.558,256,4.478,258,1.954,262,4.573,268,2.465,316,2.923,521,2.923,551,3.09,565,5.081,668,3.341,669,4.235,672,5.191,676,2.558,677,3.744,679,2.923,680,2.558,681,2.923,713,3.582,715,3.301,717,3.301,718,3.301,720,3.301,728,3.301,729,3.301,737,3.301,738,4.009,739,4.009,740,3.301,741,3.301,742,3.301,743,4.009,744,4.009,745,4.009,746,4.009,747,4.009]],["t/147",[15,1.564,36,1.7,47,1.32,61,2.756,109,2.543,136,2.756,141,2.123,149,2.838,164,2.262,170,2.926,255,4.559,268,3.129,486,2.214,530,3.129,550,3.38,551,3.922,668,2.926,677,2.543,680,3.247,681,3.709,682,3.709,730,3.38,732,3.922,748,5.089,749,5.089,750,4.546,751,3.709]],["t/149",[3,3.182,45,1.697,62,1.218,78,2.029,81,3.995,82,1.652,127,2.128,141,2.576,144,2.593,152,2.181,155,1.785,178,2.364,241,2.786,242,3.594,243,2.684,255,4.101,257,3.252,262,2.51,268,3.797,369,3.9,421,2.434,520,2.938,567,2.684,580,3.03,667,3.03,670,3.9,677,2.181,679,3.182,730,2.9,742,3.594,752,4.365,753,2.786,754,4.365,755,4.365,756,4.365,757,4.365,758,4.365,759,4.365,760,4.365,761,4.365,762,4.365,763,4.365,764,3.182,765,4.365]],["t/151",[47,1.312,141,2.341,149,3.129,155,2.294,202,3.895,221,3.727,255,4.865,261,3.45,262,3.227,317,4.09,323,4.09,336,3.895,474,5.013,677,3.66,680,3.581,730,3.727,732,4.325,766,5.013,767,5.013]],["t/153",[0,0.717,59,2.446,82,2.173,136,3.11,142,3.024,143,4.186,144,3.411,147,3.024,164,2.552,178,3.11,190,4.572,192,3.302,218,3.814,356,2.944,499,3.202,716,3.814,768,5.742,769,5.13,770,4.727,771,5.13,772,4.727,773,5.13,774,4.426,775,5.742]],["t/155",[0,1,20,2.521,31,2.215,47,0.905,48,2.862,59,1.983,78,2.164,141,3.342,169,2.326,178,2.521,217,2.695,258,4.563,259,2.677,260,2.115,262,4.265,415,2.765,473,3.092,499,2.596,610,2.97,776,4.655,777,4.655,778,4.655,779,4.655,780,4.159,781,3.832,782,4.159]],["t/157",[0,0.587,9,1.332,45,1.291,47,1.044,48,2.89,49,2.348,96,1.961,117,3.869,121,3.434,141,2.713,162,2.621,165,3.862,166,2.791,204,2.702,217,1.961,221,5.343,252,3.121,288,2.828,289,2.185,356,2.41,509,2.621,552,3.869,621,4.739,659,3.121,665,2.702,751,3.425,783,3.869,784,4.699,785,3.869,786,4.699]],["t/159",[9,1.947,121,2.699,141,3.47,248,3.828,252,4.56,263,5.652,345,5.652,665,3.948,751,5.004,787,6.865]],["t/161",[0,0.649,45,1.428,47,0.728,108,2.965,119,5.731,121,2.043,141,2.168,217,2.168,221,3.451,222,2.043,288,2.26,343,3.087,414,3.788,470,4.278,499,2.898,509,3.882,595,3.316,609,3.195,610,4.442,612,4.642,613,4.278,659,3.451,660,4.642,661,4.005,693,6.463,694,4.278,788,6.22]],["t/163",[0,0.477,1,2.198,9,1.591,34,4.619,36,1.277,44,2.271,45,1.05,47,0.535,108,2.39,116,2.35,117,3.147,121,2.206,124,2.439,126,1.812,127,1.863,141,3.255,153,1.447,162,2.131,165,2.271,166,2.271,169,2.804,252,4.415,253,2.35,257,2.013,258,1.863,260,1.737,262,2.198,362,2.07,368,2.786,491,2.271,566,2.198,574,2.653,621,2.786,665,3.823,667,3.894,674,5.472,675,2.946,678,5.013,742,3.147,788,5.013,789,3.822,790,3.822,791,3.822,792,3.822,793,3.822,794,3.822,795,3.147,796,3.415,797,3.822]],["t/165",[0,0.95,8,2.3,16,4.338,47,0.833,62,1.661,118,2.832,152,2.974,153,2.252,167,1.714,215,2.766,238,4.338,347,4.587,363,3.659,370,4.899,421,3.318,798,5.951,799,5.317,800,4.338,801,3.422,802,5.951]],["t/167",[0,0.777,8,2.251,9,0.971,27,3.058,32,2.638,47,1.097,50,2.349,58,1.272,81,1.909,96,1.428,126,1.105,130,3.058,140,1.854,153,1.296,167,1.794,173,1.669,195,2.495,208,1.591,210,1.629,214,2.972,215,2.403,220,1.522,222,1.346,235,2.818,237,2.495,238,3.767,270,3.984,272,3.07,350,2.882,367,3.178,486,1.489,490,2.638,500,2.376,524,2.638,532,2.376,572,2.495,641,2.184,730,2.274,741,2.818,785,2.818,800,2.495,801,1.968,803,3.423,804,3.423,805,3.058,806,3.423,807,3.423,808,4.255,809,3.058,810,3.423,811,3.423,812,2.638,813,3.423,814,2.274,815,2.818,816,3.423,817,3.423,818,3.423,819,3.423,820,3.423,821,3.423]],["t/169",[0,0.584,8,2.703,13,1.996,20,1.627,45,1.578,47,0.983,62,0.839,71,1.021,108,2.76,153,2.452,154,3.605,167,0.866,211,4.185,214,2.689,220,2.079,250,2.337,260,2.125,261,2.876,283,1.917,289,2.669,308,1.785,350,3.202,359,2.473,421,2.608,525,2.085,572,2.19,595,3.664,673,4.185,687,3.985,741,2.473,800,2.19,814,1.996,822,4.994,823,4.723,824,5.334,825,3.005,826,3.005,827,3.005,828,2.473,829,3.246,830,2.316,831,2.473,832,3.005,833,3.005,834,3.005,835,2.684,836,2.473,837,3.005]],["t/171",[1,2.069,8,2.73,9,1.307,15,1.106,17,1.949,24,3.536,36,0.725,47,0.751,51,0.837,58,1.713,62,0.605,66,1.334,72,1.384,78,1.673,82,1.362,94,1.247,126,1.489,141,0.905,152,2.304,153,0.821,167,2.126,175,1.813,199,3.299,202,1.506,214,1.247,215,3.709,217,1.501,222,1.813,232,1.938,233,3.063,234,2.962,235,1.786,236,1.938,237,3.361,238,2.623,239,2.651,240,1.247,241,1.384,242,1.786,243,1.334,244,1.786,248,3.578,250,1.084,266,5.282,267,1.938,268,2.213,269,2.39,270,3.554,271,2.774,272,2.739,273,2.39,274,1.938,275,1.938,276,1.786,277,1.786,278,2.962,361,1.581,838,3.215,839,2.169,840,2.169,841,2.169,842,1.672,843,1.938,844,1.672]],["t/173",[0,0.696,8,2.661,9,1.582,20,2.054,36,1.267,40,1.998,45,1.533,47,0.531,51,2.152,62,1.059,71,1.289,93,1.999,153,2.112,161,2.519,167,1.607,184,2.181,193,2.181,205,2.519,207,2.519,208,1.763,215,3.392,217,1.583,220,1.686,250,1.895,260,2.535,261,2.332,266,3.122,272,2.253,308,2.253,347,2.923,363,2.332,421,2.115,565,2.253,635,2.765,800,2.765,814,2.519,815,3.122,823,2.765,836,3.122,845,4.984,846,3.389,847,3.389,848,3.389,849,3.389,850,3.389,851,3.122,852,3.793,853,3.793,854,3.793]],["t/175",[8,2.135,9,0.862,45,1.94,47,1.29,57,3.277,93,1.09,95,1.483,96,1.269,120,1.173,152,2.359,155,1.244,163,1.941,164,1.352,172,1.602,196,1.483,210,1.447,215,2.69,222,1.856,250,2.359,270,3.639,272,3.437,279,2.718,288,1.323,289,2.195,290,1.382,336,2.111,350,1.696,367,1.87,382,1.941,421,1.696,428,1.602,500,2.111,629,2.02,796,2.718,799,2.718,812,3.639,823,5.147,824,5.813,828,2.504,829,2.111,830,2.345,831,2.504,844,3.639,855,3.042,856,2.504,857,3.042,858,2.718,859,2.504,860,2.217,861,2.718,862,3.042,863,3.042,864,2.718,865,3.042,866,3.042,867,2.504,868,3.042]],["t/177",[0,0.845,8,1.507,45,1.37,126,1.61,152,2.491,167,2.375,173,2.43,214,3.893,241,3.181,265,3.311,272,2.961,328,3.46,367,3.065,486,2.169,524,3.843,554,3.311,805,4.454,812,3.843,814,3.311,815,4.104,828,4.104,844,3.843,848,4.454,849,4.454,856,4.104,858,4.454,864,4.454,869,4.985,870,4.985,871,4.104,872,4.985,873,4.454,874,4.454]],["t/179",[0,0.402,8,2.597,9,0.913,17,1.745,40,1.697,45,1.847,47,1.203,50,1.464,55,1.266,58,1.197,66,1.981,71,1.095,81,1.796,108,1.372,126,1.04,153,1.219,163,2.055,164,2.193,167,1.422,175,1.266,196,2.405,205,2.14,211,2.348,214,1.852,215,2.294,220,1.432,239,1.852,240,1.852,250,2.998,287,2.236,315,2.752,343,1.913,350,1.796,413,2.878,414,2.348,525,2.236,595,2.055,635,2.348,673,2.348,677,1.61,687,2.236,822,3.804,823,4.901,824,5.535,829,3.425,830,2.483,835,2.878,850,2.878,860,2.348,861,2.878,867,2.652,875,3.221,876,2.878,877,2.483,878,3.221,879,3.221]],["t/181",[8,2.265,44,4.45,47,0.917,51,1.83,62,1.324,78,2.206,96,3.535,132,3.459,140,2.57,176,2.646,192,2.728,197,3.906,215,3.042,237,3.459,238,3.459,257,2.499,289,2.206,490,3.657,554,3.151,659,3.151,814,3.151,880,4.745,881,4.239,882,4.745,883,4.745,884,4.239,885,4.542,886,4.745,887,4.239,888,4.745,889,4.745,890,4.745]],["t/183",[8,1.477,10,2.81,15,1.501,19,3.562,36,1.632,47,0.935,62,2.282,71,1.661,82,1.849,125,3.004,126,2.922,152,2.442,167,1.408,189,2.573,203,3.562,204,3.84,205,3.245,208,3.104,209,3.562,210,3.178,213,2.81,215,2.271,350,2.725,481,3.391,525,3.391,580,3.391,891,4.886]],["t/185",[0,0.965,8,1.523,47,0.705,93,1.804,109,2.517,120,1.942,126,2.201,142,2.653,151,2.728,153,1.906,155,2.059,167,1.451,168,3.097,170,2.896,204,4.444,205,3.345,206,6.09,208,2.341,214,2.896,215,2.341,260,2.289,363,3.097,501,3.345,800,3.671,892,5.036,893,5.036,894,4.5,895,3.882,896,4.5,897,4.5,898,3.345]],["t/187",[0,0.761,31,2.902,73,2.494,120,2.352,121,2.398,142,3.212,164,2.711,167,1.757,188,4.233,222,2.398,251,3.75,290,2.771,301,4.701,428,3.212,486,2.653,502,4.445,550,4.051,899,5.449,900,5.021,901,3.623]],["t/189",[0,0.685,31,2.61,45,1.019,49,1.852,50,2.493,55,2.567,56,3.052,80,1.952,89,3.259,114,1.648,125,4.015,126,1.771,127,1.807,151,2.008,153,1.403,155,1.516,163,2.365,196,1.807,198,2.813,220,2.438,250,2.741,287,2.573,288,2.841,289,3.035,290,2.493,291,4.959,292,2.702,294,4.228,341,4.228,343,3.879,424,2.971,448,3.052,486,1.613,512,4.228,515,3.312,527,2.279,634,3.312,902,3.312,903,3.707,904,3.312,905,3.707,906,3.312,907,3.312,908,3.707]],["t/191",[31,2.582,40,2.857,51,2.093,55,2.133,71,1.844,125,3.336,193,3.12,196,2.645,198,3.674,199,3.336,287,4.973,288,3.117,289,3.331,290,3.645,291,4.405,292,3.955,343,3.223,344,4.466,611,3.955,704,4.182,909,4.847,910,5.426,911,5.426]],["t/193",[0,1.055,15,1.184,28,4.35,31,1.833,36,1.287,50,1.751,51,1.486,55,1.514,120,3.341,125,2.369,126,1.244,175,1.514,198,3.424,199,2.369,217,1.607,248,2.148,287,5.103,288,2.455,289,1.791,290,3.341,291,5.028,292,5.704,294,4.35,296,4.645,297,5.042,368,2.808,770,3.171,912,3.852,913,7.352]],["t/195",[0,0.57,8,1.703,9,0.827,15,2.127,24,2.123,36,1.526,47,0.893,51,1.124,55,1.146,58,1.083,62,1.275,71,1.914,72,1.86,73,1.192,75,3.346,82,1.103,92,3.909,114,2.03,120,2.832,121,1.146,126,0.942,141,1.906,147,1.536,155,1.192,161,3.034,164,2.03,165,1.732,167,1.316,168,1.793,172,1.536,173,1.421,174,1.626,175,1.796,179,2.627,183,2.713,184,2.627,185,2.024,186,2.247,188,3.171,189,1.536,190,1.793,191,2.4,198,1.495,199,1.793,203,2.125,204,1.677,208,1.355,215,1.355,216,1.457,217,1.216,239,1.677,248,1.626,257,1.536,268,1.793,285,2.024,288,2.45,291,1.793,298,2.605,299,2.4,339,2.125,357,1.793,502,2.125,578,2.247,667,2.024,675,2.247,801,1.677,914,2.605,915,2.605,916,3.521,917,2.916,918,2.4]],["t/197",[0,0.725,18,5.2,36,1.941,40,3.06,45,1.596,47,0.814,50,2.64,71,1.975,81,3.24,151,3.147,167,1.674,195,4.235,196,2.832,210,2.765,220,2.583,308,3.451,357,3.573,482,4.235,718,4.783,919,4.033,920,4.783,921,5.81,922,5.81]],["t/199",[0,0.837,10,2.233,21,3.469,36,1.297,40,2.045,46,2.83,47,1.148,57,2.695,71,2.508,95,1.893,153,1.47,164,2.523,167,1.635,193,2.233,196,3.597,210,3.736,220,1.726,250,2.836,315,2.165,332,2.695,368,2.83,424,3.074,461,2.478,482,2.83,527,2.387,540,4.672,555,2.695,567,2.387,676,2.478,801,2.233,919,5.122,923,3.883,924,3.883,925,2.993,926,3.196,927,3.469,928,2.306,929,3.196,930,3.883,931,3.883,932,2.83]],["t/201",[0,0.709,5,3.94,47,1.37,153,2.148,210,2.701,283,3.622,822,4.375,829,5.122,860,4.137,877,4.375,933,5.071,934,5.071,935,5.676,936,5.071,937,5.676]],["t/203",[47,1.093,49,1.91,52,2.439,68,3.894,70,2.271,71,1.907,93,1.369,110,3.727,142,2.013,151,2.07,164,2.494,167,1.915,172,2.013,193,2.198,196,3.24,210,1.819,220,1.699,250,2.804,260,1.737,283,2.439,332,2.653,340,3.415,357,2.35,361,2.786,367,2.35,424,2.07,461,2.439,520,1.819,555,2.653,567,2.35,610,2.439,611,2.786,655,3.415,676,2.439,801,2.198,836,3.147,859,3.147,901,2.271,919,3.894,920,3.147,926,4.619,927,5.013,928,2.271,929,3.147,938,2.786,939,3.822,940,3.822,941,5.013,942,2.946,943,3.147,944,3.147]],["t/205",[0,0.581,5,3.231,47,1.336,75,2.765,121,1.83,167,1.861,185,3.231,210,3.073,250,3.227,280,3.832,335,3.832,343,2.765,428,2.452,495,3.588,559,3.832,560,4.159,567,2.862,822,3.588,829,3.231,860,3.393,877,3.588,925,3.588,932,3.393,933,4.159,934,4.159,945,3.832,946,3.832,947,4.655,948,4.655,949,4.655,950,4.655]],["t/207",[0,0.757,15,1.307,36,1.421,45,1.168,47,1.185,48,2.615,55,1.672,62,1.692,96,2.529,118,2.023,120,1.64,142,3.192,172,3.719,173,2.954,174,3.38,178,3.824,179,2.445,222,1.672,240,2.445,290,2.754,315,2.371,350,2.371,361,3.1,418,3.1,486,1.85,491,3.6,500,2.951,520,2.884,527,3.727,629,2.824,673,3.1,898,2.824,901,3.6,951,4.252,952,3.799]],["t/209",[47,0.854,62,1.702,81,3.401,172,3.212,220,2.711,277,5.021,321,3.75,356,3.127,357,3.75,382,3.892,421,3.401,461,3.892,520,3.677,764,4.445,859,5.021,919,4.233,942,4.701,953,5.449,954,6.099]],["t/211",[15,1.479,47,0.437,50,1.417,51,1.203,62,1.344,71,1.636,75,1.853,87,2.165,96,2.009,106,1.853,108,1.328,110,2.072,114,1.386,120,1.203,121,1.226,140,1.689,142,1.643,151,1.689,164,1.386,167,1.694,168,2.96,172,2.535,188,3.341,189,1.643,190,1.918,193,2.768,195,2.274,196,2.347,200,2.165,210,2.291,220,1.386,222,1.226,250,1.559,285,2.165,288,2.094,289,1.45,291,1.918,292,2.274,308,2.86,331,2.274,339,2.274,356,1.599,461,1.99,486,1.357,502,3.509,520,2.291,550,2.072,555,3.341,567,1.918,578,2.404,611,2.274,675,2.404,676,1.99,780,2.787,898,2.072,900,2.568,901,1.853,902,2.787,914,2.787,915,2.787,919,4.08,920,2.568,925,2.404,926,3.963,932,2.274,942,2.404,944,2.568,955,3.119,956,3.119,957,3.119,958,2.568,959,4.301,960,2.568,961,3.119,962,3.119,963,2.787]],["t/213",[0,0.828,47,0.678,51,1.866,52,3.087,59,2.061,76,3.493,78,2.249,106,2.874,120,2.919,121,2.976,122,4.322,123,3.527,151,3.592,163,3.087,188,3.358,190,2.975,192,2.782,362,2.62,384,3.214,486,2.105,487,3.983,502,5.517,550,3.214,881,4.322,885,3.358,887,4.322,906,4.322,964,6.633,965,4.838,966,4.838,967,4.838]],["t/215",[0,0.845,8,2.047,13,4.497,15,2.08,45,1.86,47,0.948,151,3.667,152,3.383,155,2.768,565,4.022,581,6.049,814,4.497]],["t/217",[41,3.645,49,2.162,62,1.208,93,1.55,94,5.14,107,3.003,120,1.669,175,1.701,190,2.661,198,2.219,222,3.345,288,1.882,289,2.011,343,2.57,350,2.413,424,3.323,461,2.761,512,3.335,566,2.488,625,5.655,668,2.488,708,2.661,829,3.003,830,3.335,831,3.562,860,3.154,900,3.562,936,3.866,968,4.327,969,4.327,970,4.327,971,4.327,972,4.327,973,4.327,974,4.327,975,4.327]],["t/219",[93,2.53,120,2.724,196,3.442,290,3.209,343,4.195,625,5.148,708,4.343,976,7.062,977,7.062]],["t/221",[15,2.716,41,3.535,93,2.132,94,3.422,106,3.535,118,2.832,153,2.252,208,2.766,240,3.422,290,2.704,415,3.535,554,3.953,565,3.535,708,3.659,877,4.587,978,5.951,979,5.951,980,5.951,981,5.951]],["t/223",[36,1.964,71,1.998,93,2.107,118,2.798,153,2.225,222,2.968,223,4.532,226,4.286,228,4.485,290,2.672,362,3.184,424,3.184,503,4.532,588,5.253,654,5.253,656,4.532,982,5.88,983,5.88,984,5.88,985,5.88,986,5.88]],["t/225",[4,3.221,20,2.154,50,1.807,75,2.362,93,1.425,95,2.815,116,2.445,120,1.534,121,1.563,142,2.095,147,2.095,155,1.626,162,2.218,167,1.959,168,2.445,170,2.287,173,1.939,175,1.563,182,4.755,187,5.084,200,2.76,246,2.76,289,1.849,326,3.065,445,3.065,625,4.21,707,4.755,876,3.553,894,3.553,895,3.065,898,2.642,959,3.553,987,3.977,988,3.977,989,2.362,990,3.977,991,3.977,992,3.977,993,3.977,994,3.977,995,3.977,996,3.553,997,3.553,998,3.977,999,3.977,1000,3.977,1001,3.977]],["t/227",[8,2.493,24,2.669,47,0.804,71,1.952,93,2.057,167,1.654,175,2.258,215,3.833,260,2.609,272,3.411,347,4.426,708,3.531,812,4.426,823,4.186,845,5.13,846,5.13,847,5.13,1002,5.742,1003,5.742,1004,5.742,1005,5.742]],["t/229",[1,1.805,36,1.049,47,1.003,62,0.876,78,2.249,82,1.188,93,2.376,106,1.865,129,3.526,141,2.018,175,1.234,189,1.653,233,2.085,251,1.93,258,1.53,259,2.782,262,2.782,265,2.085,268,1.93,458,2.584,521,2.288,566,1.805,667,4.972,668,2.782,669,4.303,674,2.584,676,2.003,677,4.069,679,3.526,680,2.003,681,2.288,682,2.288,688,4.322,708,1.93,714,2.804,715,2.584,716,3.213,717,2.584,719,2.804,720,2.584,724,2.804,725,2.804,726,2.804,727,2.804,728,2.584,729,2.584,730,2.085,731,2.804,732,2.419,733,2.804,735,2.804,736,2.804,737,2.584,751,3.526,1006,4.838,1007,3.139,1008,3.139,1009,3.139,1010,3.729,1011,3.139,1012,3.139,1013,4.838,1014,3.139]],["t/231",[0,0.54,4,2.413,8,1.308,25,2.219,41,2.57,47,0.606,58,1.608,62,1.208,66,2.661,67,2.488,72,2.761,73,1.769,74,2.761,75,2.57,94,2.488,121,1.701,128,3.154,138,3.335,163,2.761,165,2.57,166,2.57,167,1.247,182,2.488,183,2.57,187,2.661,200,3.003,290,1.966,351,3.866,354,3.154,475,3.154,511,3.335,557,3.562,659,2.874,677,2.162,699,3.866,723,5.051,783,3.562,844,3.335,1015,3.866,1016,4.327,1017,4.327,1018,4.327,1019,4.327,1020,4.327,1021,3.866,1022,3.866,1023,4.327,1024,3.866,1025,4.327,1026,4.327,1027,4.327,1028,3.866]],["t/233",[0,0.812,8,1.966,62,1.815,95,3.169,172,3.424,173,3.169,174,3.626,257,3.424,481,4.513,530,3.998,532,4.513,608,5.353,1029,6.502,1030,5.809,1031,6.502]],["t/235",[0,0.841,9,1.11,15,1.203,31,2.716,45,1.075,47,1.103,48,3.51,55,1.539,59,1.667,62,1.881,65,2.25,96,2.382,109,1.956,118,1.862,120,2.202,142,2.061,154,3.017,155,2.334,167,1.127,168,2.406,170,2.25,172,3.007,173,3.285,174,3.183,178,3.092,187,2.406,196,1.908,199,2.406,240,2.25,273,2.599,288,1.702,290,2.594,315,3.183,361,2.853,383,3.017,418,2.853,486,1.702,491,2.325,520,1.862,527,2.406,530,2.406,898,2.599,901,2.325,1032,3.914,1033,3.914]],["t/237",[0,0.545,15,1.897,20,2.364,41,2.593,49,2.181,71,1.484,96,3.66,173,2.128,174,2.434,222,2.427,224,2.684,240,3.551,290,3.986,316,4.501,350,2.434,382,2.786,421,2.434,428,3.252,520,3.706,527,2.684,530,2.684,566,2.51,629,4.759,801,2.51,928,2.593,1034,3.365,1035,3.594,1036,3.594,1037,3.594,1038,3.594]],["t/239",[47,0.899,62,2.227,79,4.262,96,2.677,173,3.128,174,3.578,178,3.475,179,3.69,290,2.916,491,3.812,520,3.054,527,3.946,673,4.678,952,5.733,1039,6.417]],["t/242",[15,2.139,47,0.975,62,1.943,208,3.237,432,5.732,610,4.443,1040,6.962,1041,6.962,1042,6.962,1043,6.22]],["t/244",[0,0.56,1,2.579,5,3.113,11,4.007,15,1.378,23,3.113,36,1.498,67,2.579,71,1.524,175,1.763,222,1.763,224,5.292,290,2.038,503,3.457,548,3.457,566,3.619,590,3.457,610,2.862,639,4.007,640,4.007,943,3.692,963,4.007,1034,3.457,1035,3.692,1036,3.692,1037,3.692,1044,4.485,1045,4.485,1046,4.485,1047,4.485,1048,4.485,1049,4.485,1050,4.485,1051,4.007,1052,4.485,1053,4.485,1054,4.485,1055,4.485,1056,4.485,1057,4.485,1058,4.485,1059,4.485,1060,4.485]],["t/246",[15,2.095,47,0.955,62,1.903,93,2.442,96,2.844,151,2.728,173,2.455,174,3.801,182,3.92,207,3.345,208,2.341,290,3.932,356,2.582,489,4.146,520,2.397,527,3.097,555,3.496,613,4.146,704,3.882,753,3.214,808,5.612,1021,4.5,1061,4.5,1062,4.5,1063,5.036]],["t/248",[0,0.642,8,1.554,41,4.639,45,1.413,49,2.569,62,1.929,82,1.946,96,2.145,153,1.946,173,2.506,174,2.867,178,2.785,222,2.718,257,2.708,288,3.397,290,3.549,350,2.867,415,3.054,520,2.447,527,3.162,566,2.957,629,5.788,795,4.233]],["t/250",[0,0.988,8,1.915,12,3.642,32,4.882,93,2.269,95,3.088,140,3.431,160,5.659,382,4.042,565,4.701,753,4.042,928,3.763,1064,5.659,1065,4.882,1066,5.659]],["t/252",[10,2.269,20,2.137,24,1.834,46,2.876,47,1.041,57,2.738,82,1.493,93,1.413,94,2.269,118,1.877,173,1.923,174,2.2,205,2.62,208,1.834,289,1.834,381,3.041,418,2.876,419,2.517,421,2.2,520,1.877,530,2.426,532,3.985,565,4.417,682,2.876,708,2.426,710,4.935,801,2.269,928,2.343,1038,3.248,1065,4.426,1067,3.945,1068,3.248,1069,5.573,1070,3.945,1071,3.945,1072,5.13,1073,3.248,1074,3.945,1075,3.945,1076,3.945,1077,5.742,1078,3.945,1079,4.727,1080,3.945,1081,3.041,1082,3.945,1083,5.13,1084,3.945]],["t/254",[9,1.505,24,3.283,40,2.796,48,3.264,52,3.387,62,1.482,93,1.902,114,2.359,140,2.875,164,2.359,173,2.587,174,2.96,363,3.264,371,5.813,421,2.96,486,2.309,565,3.153,567,3.264,575,4.37,753,3.387,785,4.37,801,4.061,814,3.526,928,4.195,1081,4.092,1085,4.743,1086,4.743,1087,4.743]],["t/256",[24,2.907,47,0.876,62,1.745,120,2.412,142,3.294,173,3.827,289,2.907,315,3.487,371,5.148,421,4.378,452,5.148,520,2.976,753,3.991,898,4.154,901,3.715,1081,4.82]],["t/258",[0,0.776,3,3.211,20,3.365,24,2.048,47,0.617,48,2.708,51,1.699,62,1.229,83,3.057,93,1.578,129,5.248,167,1.269,196,2.147,210,2.957,237,6.011,419,3.965,525,3.057,565,2.616,567,2.708,610,2.811,696,3.626,801,2.533,928,3.691,1038,5.115,1043,3.935,1087,3.935,1088,4.405,1089,7.199,1090,4.405,1091,4.405,1092,4.405,1093,4.405,1094,4.405,1095,4.405,1096,4.405,1097,4.405,1098,4.405]],["t/260",[0,0.965,50,2.771,68,4.233,73,3.469,176,3.401,218,4.051,356,3.127,419,3.892,490,4.701,524,4.701,710,4.445,730,4.051,774,4.701,782,5.449,795,6.362,1099,6.099]],["t/262",[0,0.822,9,1.358,10,2.755,36,1.6,45,1.81,47,1.055,59,2.041,65,2.755,66,2.946,73,3.079,76,3.47,82,1.813,89,2.846,114,3.779,118,2.28,127,2.335,176,2.672,178,3.568,179,4.33,260,3.422,415,2.846,433,4.28,475,3.492,897,4.28,1100,4.28,1101,4.791]],["t/265",[59,2.35,73,2.256,87,4.552,108,2.35,109,2.757,114,2.452,150,3.337,176,3.076,220,1.66,299,3.075,362,2.023,428,1.967,493,4.541,494,5.027,495,2.879,496,4.928,497,5.963,498,3.337,499,3.076,503,2.879,595,2.383,884,4.928,945,4.541,946,4.541,1102,3.337,1103,3.735,1104,3.075,1105,5.363,1106,4.781,1107,4.021,1108,3.735,1109,3.337,1110,3.735,1111,3.735,1112,3.735,1113,3.337,1114,3.735,1115,3.735,1116,3.735,1117,3.735,1118,3.735,1119,3.735,1120,3.735,1121,3.337]],["t/267",[1,3.893,45,2.112,47,0.698,59,2.123,73,2.768,108,2.123,109,2.491,114,2.216,127,2.43,176,2.78,213,2.867,253,3.065,258,2.43,569,3.147,609,3.065,683,4.727,712,3.065,842,3.843,989,2.961,1105,4.699,1106,3.634,1107,3.634,1122,4.566,1123,3.843,1124,3.843,1125,4.566]],["t/269",[0,0.781,9,1.773,45,1.718,47,0.876,57,4.341,73,2.557,108,2.664,109,3.125,213,3.596,482,4.559,512,4.82,683,3.845,842,4.82,1122,3.715,1124,4.82,1126,6.254,1127,5.587,1128,6.254]],["t/271",[0,0.96,9,1.414,31,2.372,45,1.37,47,0.948,59,2.123,73,2.038,76,2.626,80,2.626,89,2.961,110,3.311,114,2.216,116,3.065,126,1.61,136,2.7,169,2.491,175,1.96,253,3.065,258,2.43,259,2.867,321,3.065,367,3.065,486,2.169,491,2.961,494,4.699,501,3.311,665,3.893,683,3.065,712,3.065,740,4.104,1122,2.961,1129,4.104,1130,4.454]],["t/273",[44,3.12,45,1.926,47,0.736,57,3.645,90,4.048,96,2.191,108,2.237,121,2.756,127,3.418,155,2.147,178,2.844,193,3.02,221,3.488,258,2.56,288,2.284,362,2.844,428,2.766,499,2.928,509,2.928,609,4.311,621,3.828,712,3.229,1122,3.12,1131,5.252,1132,4.692,1133,5.252,1134,5.252,1135,5.252,1136,4.692]],["t/275",[12,2.838,73,2.018,114,3.819,116,3.035,144,2.932,153,1.868,213,2.838,259,4.397,595,4.88,665,2.838,1105,6.153,1106,3.597,1107,4.901,1109,4.409,1122,2.932,1123,5.183,1132,6.007,1137,4.409,1138,4.935,1139,4.935,1140,4.935,1141,4.935,1142,4.935]],["t/277",[45,1.763,51,2.475,59,3.398,73,2.624,114,2.852,192,3.69,384,4.262,885,4.454,989,3.812,1105,4.454,1107,4.678,1122,3.812,1123,4.946,1143,6.417,1144,6.417]],["t/279",[0,0.812,45,1.786,73,2.659,108,2.769,114,2.89,213,4.626,288,2.828,569,3.739,609,3.998,683,3.998,712,3.998,1125,4.778]],["t/281",[0,0.985,9,1.489,31,2.499,47,0.736,59,2.237,73,2.147,76,2.766,80,2.766,89,3.12,108,2.237,110,3.488,114,2.334,116,3.229,126,1.696,136,2.844,169,2.624,175,2.065,253,3.229,258,2.56,259,3.02,321,3.229,367,3.229,486,2.284,501,3.488,569,3.259,665,3.02,740,4.323,1125,4.165,1130,4.692]],["t/283",[45,1.329,47,0.678,87,3.358,96,2.019,108,2.825,121,2.976,127,2.358,165,2.874,178,2.62,198,2.481,221,3.214,258,2.358,295,4.322,428,2.548,479,3.983,494,3.358,499,2.698,509,2.698,535,3.983,559,3.983,569,3.083,595,3.087,609,2.975,614,3.983,621,3.527,712,4.079,764,3.527,770,3.983,783,3.983,941,4.322,1125,3.94,1136,4.322,1145,3.983,1146,4.838,1147,4.838]],["t/285",[12,2.556,47,0.622,50,2.842,73,2.557,108,1.893,114,3.49,116,2.733,195,3.24,207,2.952,213,3.596,288,1.933,308,2.64,494,3.085,495,3.426,569,2.066,575,3.659,683,3.845,945,5.148,946,3.659,1105,5.449,1106,4.558,1107,3.24,1113,3.971,1123,3.426,1124,3.426,1125,3.714,1137,3.971,1148,3.971,1149,6.253,1150,4.444,1151,4.444,1152,4.444,1153,3.971,1154,4.444,1155,4.444,1156,4.444]],["t/287",[0,0.656,1,3.02,36,1.754,45,1.443,51,2.025,59,2.986,73,2.147,114,2.334,121,2.065,192,4.032,260,2.386,384,3.488,419,3.351,569,3.915,665,4.032,683,3.229,885,3.645,1105,3.645,1106,3.828,1125,5.213,1145,4.323,1157,5.252,1158,5.252]],["t/289",[0,0.517,1,2.383,9,1.175,45,1.635,47,0.833,73,2.846,76,2.183,78,2.766,80,2.183,89,2.462,108,2.965,109,3.802,114,2.645,127,2.02,132,4.337,169,2.071,253,2.549,359,3.412,360,3.021,473,2.753,493,3.412,497,3.412,499,3.318,500,2.877,555,2.877,569,1.927,600,3.703,609,2.549,641,2.645,659,2.753,707,3.412,712,2.549,885,4.13,989,2.462,1051,3.703,1102,3.703,1122,2.462,1125,2.462,1159,4.145,1160,4.145,1161,4.145,1162,4.145,1163,4.145,1164,4.145]],["t/291",[0,0.882,45,1.94,50,3.209,167,2.035,187,4.343,445,5.444,996,6.31,997,6.31,1165,5.814]],["t/293",[0,0.834,20,3.617,152,3.337,187,4.107,592,5.148,781,5.498,1121,5.967,1166,5.498,1167,5.967,1168,5.967,1169,6.679,1170,6.679,1171,6.679]],["t/295",[65,3.422,120,2.295,155,2.433,163,3.797,167,2.192,193,3.422,218,3.953,339,4.338,415,3.535,424,3.223,472,5.317,764,4.338,809,5.317,953,5.317,1024,5.317,1030,5.317,1166,4.899,1172,5.951,1173,5.951,1174,5.951,1175,5.951]],["t/297",[0,0.781,47,0.876,152,3.125,183,3.715,192,3.596,356,3.207,415,3.715,473,4.154,492,5.148,509,3.487,511,4.82,851,5.148,1176,6.254,1177,4.82,1178,5.587,1179,5.148,1180,5.587,1181,5.587]],["t/299",[0,0.815,47,1.011,48,2.279,75,2.202,106,2.202,140,2.008,152,1.852,183,4.791,196,1.807,211,2.702,219,2.462,241,2.365,249,3.312,260,2.493,272,2.202,283,2.365,296,3.052,355,2.857,380,3.312,381,2.857,486,1.613,500,3.807,509,2.067,567,2.279,571,2.702,592,4.228,629,2.462,676,2.365,753,2.365,764,2.702,916,2.857,918,3.052,938,2.702,1010,2.857,1083,3.312,1167,4.901,1177,2.857,1178,3.312,1179,3.052,1182,3.707,1183,4.516,1184,3.707,1185,5.834,1186,3.707,1187,3.707,1188,3.707,1189,3.707,1190,3.707,1191,2.857,1192,3.707,1193,3.312,1194,3.312,1195,3.707,1196,3.707,1197,3.707]],["t/301",[47,0.611,58,1.622,95,2.128,106,2.593,153,1.652,161,2.9,162,2.434,211,3.182,219,2.9,251,2.684,260,3.539,473,2.9,481,3.03,509,2.434,511,3.365,564,3.9,629,2.9,753,3.94,895,3.365,896,5.517,909,3.9,1022,3.9,1028,3.9,1180,3.9,1181,3.9,1185,7.623,1191,3.365,1198,4.365,1199,6.175,1200,4.365,1201,4.365,1202,4.365,1203,4.365,1204,6.175,1205,3.594,1206,4.365,1207,4.365,1208,4.365,1209,4.365,1210,4.365]],["t/303",[0,0.7,50,3.329,140,3.967,183,3.333,356,2.877,473,4.865,554,3.727,838,6.544,856,6.03,1183,4.619,1211,5.611,1212,5.611,1213,5.611,1214,5.611,1215,7.325,1216,5.611,1217,5.611,1218,5.611,1219,5.013,1220,5.611,1221,5.611]],["t/305",[0,0.709,15,1.744,44,3.372,47,1.216,95,2.767,96,2.368,140,3.074,183,3.372,219,3.77,428,2.989,486,2.469,753,3.622,873,5.071,938,4.137,1010,4.375,1072,5.071,1183,4.673,1191,4.375,1193,5.071,1194,5.071,1222,5.071,1223,5.676,1224,3.622]],["t/307",[0,0.463,45,1.019,47,1.28,109,4.03,120,1.43,142,4.057,155,1.516,163,2.365,168,4.959,170,4.638,173,1.807,183,3.259,233,4.337,234,5.376,248,3.641,259,2.132,273,2.462,530,2.279,668,3.755,704,2.857,898,5.116,1086,5.834,1225,6.53,1226,5.486]],["t/309",[0,0.616,59,2.102,72,3.149,78,2.294,123,4.901,132,3.597,166,2.932,185,3.425,186,3.804,190,3.035,192,2.838,218,3.278,222,1.94,316,3.597,384,3.278,499,2.752,509,2.752,510,4.409,582,4.409,659,3.278,661,3.804,668,2.838,723,4.063,774,3.804,885,3.425,938,3.597,1015,4.409,1177,3.804,1179,4.063,1227,4.935,1228,4.935,1229,4.935,1230,4.935,1231,6.007,1232,4.935,1233,4.935,1234,4.935]],["t/312",[0,0.57,2,3.761,5,3.171,9,1.295,20,2.474,23,3.171,25,2.342,34,5.248,39,3.521,40,2.406,47,0.64,67,4.222,123,3.33,181,3.33,183,3.787,185,3.171,186,3.521,218,3.034,419,2.915,475,3.33,509,2.547,608,3.761,666,4.081,774,3.521,938,3.33,1177,3.521,1219,4.081,1231,4.081,1235,4.568,1236,7.343,1237,7.343,1238,4.568,1239,4.568,1240,4.568,1241,4.568,1242,4.568,1243,4.568,1244,4.568,1245,4.568]],["t/314",[165,4.384,182,4.244,641,4.71,960,6.076,1246,7.381,1247,7.381]],["t/316",[0,0.996,9,1.82,13,4.262,31,3.054,182,4.588,364,4.946,668,4.588,989,4.739,1248,5.733,1249,6.417,1250,6.417,1251,6.417]],["t/318",[0,0.857,4,3.828,124,4.381,152,3.431,182,3.948,360,5.004,625,5.004,781,5.652,1062,7.43,1252,6.865]],["t/320",[45,2.091,128,5.546,182,4.375,1253,6.798]],["t/322",[8,1.799,9,1.687,93,2.132,121,2.34,128,5.546,161,3.953,164,2.645,172,3.134,174,3.318,181,4.338,182,4.823,265,3.953,428,3.134,1061,5.317,1166,4.899,1168,5.317,1205,4.899,1253,5.317,1254,5.951]],["t/324",[0,0.921,23,5.123,269,4.902,677,3.688,1255,6.594,1256,7.381]],["t/326",[1257,7.852,1258,7.852]],["t/328",[14,5.887,58,2.448,127,3.212,208,3.063,216,3.293,217,2.749,269,4.377,523,5.887,1259,6.589,1260,5.887,1261,6.589,1262,5.887,1263,5.079,1264,6.589]],["t/330",[0,0.44,4,1.964,8,1.915,9,0.998,15,1.622,45,0.967,47,0.493,49,3.165,58,1.961,59,1.5,61,1.907,62,0.983,71,1.794,73,1.44,76,1.854,84,3.848,88,2.899,95,1.716,114,2.815,126,2.045,141,2.203,142,1.854,143,2.567,147,1.854,153,1.333,165,2.092,166,2.092,167,1.521,179,2.025,182,2.025,207,2.339,214,2.025,215,1.637,216,1.76,217,1.469,220,1.565,224,2.165,225,2.339,239,2.025,240,2.025,260,1.6,300,2.247,317,2.567,318,2.714,325,2.567,368,2.567,383,2.714,475,2.567,518,3.146,519,2.714,641,2.247,668,2.025,677,1.76,680,2.247,687,2.444,716,2.339,901,2.092,989,2.092,1153,3.146,1248,3.146,1265,2.714,1266,2.899,1267,3.521,1268,3.521,1269,3.146]],["t/332",[18,3.325,47,0.671,50,2.177,62,1.337,126,1.547,127,2.335,132,3.492,136,2.595,147,2.523,149,2.672,171,4.28,172,2.523,188,3.325,193,2.755,204,2.755,208,2.227,210,2.28,216,2.394,257,2.523,260,2.177,273,3.182,300,3.057,309,3.325,310,3.944,312,3.944,323,3.492,324,3.944,374,3.693,383,3.693,481,3.325,649,4.28,772,3.944,960,3.944,1224,4.805,1262,4.28,1265,5.804,1270,4.791,1271,4.791]],["t/334",[15,2.338,18,4.13,58,2.211,126,1.922,148,4.338,166,3.535,167,1.714,216,2.974,356,3.051,411,4.899,418,4.338,692,4.338,871,4.899,916,4.587,1224,4.855,1263,4.587,1272,5.951,1273,5.951,1274,5.951,1275,5.951]],["t/336",[8,2.12,58,2.605,82,1.988,153,1.988,175,2.065,217,2.925,239,5.046,243,3.229,246,3.645,248,2.928,257,2.766,260,2.386,271,4.048,412,4.692,548,4.048,687,3.645,1191,4.048,1224,5.374,1266,5.772,1276,5.252,1277,5.252,1278,5.252]],["t/338",[47,0.968,62,1.435,141,2.145,142,2.708,143,3.748,144,3.054,178,2.785,202,3.569,225,3.415,255,3.415,257,2.708,300,3.281,317,3.748,323,3.748,482,3.748,499,2.867,522,4.233,530,3.162,680,3.281,716,3.415,750,4.594,766,4.594,767,4.594,771,4.594,773,4.594,901,3.054,1034,3.963,1224,5.329,1269,4.594,1279,5.142,1280,4.594]],["t/340",[8,1.605,31,2.526,47,0.743,58,1.972,59,2.261,62,1.482,71,1.804,84,3.869,88,4.37,126,1.714,141,2.215,143,3.869,167,1.529,182,3.052,215,2.468,216,2.653,255,3.526,300,3.387,462,4.743,463,4.743,464,6.309,465,4.743,538,4.37,623,4.37,668,3.052,716,3.526,989,3.153,1263,4.092,1280,4.743,1281,4.743,1282,5.308]],["t/342",[0,0.771,12,3.551,45,1.697,58,2.294,76,3.252,114,3.462,118,2.938,176,3.444,178,3.344,179,3.551,184,3.551,208,2.871,269,4.102,519,4.76,1100,5.517,1263,4.76,1283,6.175,1284,6.175]],["t/344",[0,0.677,17,2.938,49,2.711,61,2.938,73,2.218,95,2.645,120,2.093,140,2.938,164,2.412,269,3.604,382,3.462,486,2.36,550,3.604,569,2.522,692,3.955,874,4.847,928,3.223,989,3.223,1064,4.847,1122,3.223,1125,3.223,1260,4.847,1265,4.182,1285,5.426,1286,5.426,1287,6.401,1288,4.466,1289,4.466,1290,4.466]],["t/346",[0,0.622,45,1.662,47,1.077,61,1.768,71,1.109,73,2.473,93,1.169,95,1.591,96,1.362,114,2.216,121,1.283,127,1.591,138,2.516,140,1.768,153,1.235,164,1.451,165,1.939,167,0.94,205,2.168,208,1.517,210,2.372,250,1.631,258,1.591,360,2.379,382,3.181,428,1.719,486,2.168,536,2.916,537,2.516,550,2.168,569,2.317,592,2.516,609,3.065,641,2.083,656,2.516,677,2.491,683,2.007,692,2.379,708,2.007,710,2.379,712,3.065,801,1.877,919,2.265,928,1.939,932,2.379,989,1.939,1065,2.516,1068,2.687,1069,2.687,1073,2.687,1079,2.687,1104,2.687,1122,2.961,1125,2.961,1129,2.687,1165,2.687,1288,2.687,1289,2.687,1290,2.687,1291,2.916,1292,4.454,1293,3.264,1294,2.916,1295,2.916,1296,2.916,1297,3.264,1298,2.687,1299,2.916,1300,3.264]],["t/348",[0,0.576,17,2.497,39,3.554,45,1.267,59,1.964,73,3.262,121,1.813,127,3.128,151,2.497,175,1.813,176,2.571,207,3.063,243,2.835,258,3.128,487,3.796,494,3.2,569,2.144,609,2.835,622,4.12,683,2.835,712,4.538,842,3.554,907,4.12,989,3.811,1122,4.739,1124,3.554,1125,3.811,1127,4.12,1129,3.796,1145,3.796,1224,4.094,1301,4.611,1302,4.611]],["t/350",[26,3.935,93,2.579,95,2.147,96,1.838,107,3.057,138,3.395,140,3.365,142,2.32,153,1.667,167,1.269,200,3.057,209,3.211,210,2.096,308,2.616,382,4.594,384,2.926,385,3.626,520,2.096,561,3.935,641,2.811,708,2.708,710,3.211,801,2.533,871,3.626,904,3.935,1065,3.395,1066,5.551,1069,3.626,1073,3.626,1079,3.626,1081,3.395,1085,3.935,1224,2.811,1291,3.935,1303,4.405,1304,4.405,1305,4.405,1306,4.405,1307,4.405,1308,4.405,1309,4.405,1310,4.405,1311,4.405,1312,4.405,1313,4.405]],["t/352",[8,1.767,12,2.325,15,1.242,31,1.924,47,0.566,48,2.486,49,2.02,60,2.947,61,2.189,66,2.486,71,1.374,93,2.459,95,1.97,110,2.685,121,1.589,164,3.051,165,2.401,167,1.165,208,2.717,210,3.579,250,2.92,260,1.837,261,2.486,404,3.612,452,3.328,486,1.758,537,3.116,551,3.116,552,4.811,557,3.328,641,2.579,646,3.328,656,3.116,677,2.92,867,3.328,925,3.116,932,4.26,1010,3.116,1068,3.328,1292,3.612,1294,3.612,1295,3.612,1314,4.042,1315,4.042,1316,3.612,1317,4.042,1318,4.042,1319,4.042]],["t/354",[8,1.613,15,1.098,29,3.192,47,1.155,49,1.785,61,2.89,70,3.17,71,1.214,80,1.881,104,2.604,106,2.122,107,2.479,109,1.785,144,2.122,147,2.811,155,1.461,170,2.054,184,2.054,189,2.811,216,2.667,220,2.372,225,3.545,303,2.941,305,2.941,308,2.122,309,4.919,313,3.192,318,4.113,319,4.768,321,3.282,328,2.479,332,2.479,345,2.941,353,2.479,385,2.941,519,2.754,520,2.539,526,3.192,532,2.479,533,2.941,769,3.192,843,3.192,895,2.754,901,2.122,944,2.941,1148,3.192,1265,2.754,1298,4.393,1316,3.192,1320,5.337,1321,3.572,1322,3.572,1323,3.572,1324,3.572]],["t/356",[15,2.139,16,3.788,36,1.736,47,0.728,92,4.832,96,2.168,120,3.235,161,3.451,167,1.497,172,2.737,196,3.827,209,3.788,261,3.195,285,3.606,357,3.195,461,3.316,520,2.473,677,2.597,851,4.278,916,4.005,918,4.278,942,4.005,958,4.278,1266,4.278,1325,5.196,1326,5.196,1327,5.196]],["t/358",[10,2.81,15,1.501,47,0.935,61,2.646,62,1.364,67,2.81,71,1.661,93,1.751,96,2.039,127,2.382,203,3.562,204,2.81,222,1.921,224,4.678,240,2.81,248,2.725,261,3.004,290,3.457,350,3.724,415,2.902,520,3.178,548,3.766,566,3.84,590,3.766,677,2.442,684,4.365,943,4.022,1034,3.766,1035,4.022,1036,4.022,1037,4.022,1328,4.886]],["t/360",[58,2.238,107,4.181,136,3.262,144,3.578,167,2.558,217,3.199,239,3.464,246,4.181,387,5.382,395,5.382,405,5.382,428,3.173,554,4.001,1329,6.024,1330,6.024,1331,6.024,1332,6.024]],["t/362",[8,1.222,17,2.189,18,4.056,39,4.505,45,1.111,47,0.819,58,1.502,61,2.189,62,1.128,73,1.653,141,1.687,176,2.254,190,2.486,197,3.328,215,1.879,538,3.328,545,3.612,626,3.328,646,3.328,687,2.806,692,2.947,751,2.947,772,3.328,808,3.328,899,3.612,928,2.401,929,3.328,958,3.328,1104,3.328,1165,3.328,1205,3.328,1222,3.612,1224,2.579,1255,3.612,1281,3.612,1287,3.612,1288,3.328,1289,3.328,1290,3.328,1296,3.612,1298,3.328,1299,3.612,1333,4.042,1334,5.844,1335,4.042,1336,4.042,1337,4.042,1338,4.042,1339,4.042,1340,4.042,1341,4.042,1342,4.042,1343,4.042,1344,4.042,1345,4.042,1346,4.042,1347,4.042]],["t/364",[12,3.302,49,3.716,70,4.417,118,3.538,126,1.854,147,3.024,189,3.024,222,2.258,228,3.411,269,3.814,300,4.745,303,4.727,305,4.727,308,3.411,309,3.986,533,4.727,696,4.727,901,3.411,1348,5.742,1349,5.742,1350,5.742]]],"invertedIndex":[["",{"_index":47,"t":{"4":{"position":[[463,1]]},"6":{"position":[[60,1],[75,1],[518,1]]},"8":{"position":[[307,1],[401,1]]},"10":{"position":[[132,1],[172,1]]},"14":{"position":[[208,1],[307,1],[710,1]]},"18":{"position":[[289,1],[296,1],[306,1]]},"28":{"position":[[179,1]]},"38":{"position":[[14,1],[97,1],[141,1],[224,1]]},"40":{"position":[[25,1],[189,1],[196,1],[240,1],[288,1],[333,1]]},"60":{"position":[[163,1]]},"68":{"position":[[210,1]]},"82":{"position":[[74,1],[120,1],[172,1],[294,1],[407,1],[886,1]]},"96":{"position":[[54,1],[116,1],[148,1]]},"98":{"position":[[175,1],[182,1]]},"100":{"position":[[27,1],[29,1],[55,1],[57,1],[68,1],[123,1],[125,1],[242,1],[244,1],[371,1],[373,1]]},"102":{"position":[[101,1]]},"104":{"position":[[82,1],[132,1],[184,1],[222,1],[244,1],[327,1],[374,1],[390,1],[423,1],[437,1]]},"106":{"position":[[116,1],[125,1],[127,2],[187,1],[193,1],[199,1]]},"108":{"position":[[41,1],[130,1]]},"110":{"position":[[20,1],[107,1],[210,1],[280,1],[360,1]]},"116":{"position":[[138,1]]},"118":{"position":[[436,1],[478,1],[509,1],[533,1]]},"120":{"position":[[377,1]]},"122":{"position":[[363,1]]},"124":{"position":[[209,1]]},"126":{"position":[[142,1]]},"128":{"position":[[50,1],[473,1]]},"131":{"position":[[236,1],[491,1],[509,1]]},"133":{"position":[[142,1],[198,1],[342,1]]},"145":{"position":[[450,1],[458,1]]},"147":{"position":[[87,1],[100,1],[111,2],[119,2],[129,2],[140,2],[150,2],[160,2],[169,1]]},"151":{"position":[[35,1],[50,1],[67,1],[69,1],[73,1],[99,1],[125,1]]},"155":{"position":[[30,1],[350,1]]},"157":{"position":[[76,1],[120,1],[177,1]]},"161":{"position":[[171,1]]},"163":{"position":[[397,1]]},"165":{"position":[[29,1]]},"167":{"position":[[193,1],[275,1],[365,1],[445,1],[533,1],[620,1]]},"169":{"position":[[91,2],[541,2],[584,2],[624,1],[692,1]]},"171":{"position":[[562,1],[761,1],[932,1],[1187,1]]},"173":{"position":[[380,2]]},"175":{"position":[[13,1],[41,2],[72,1],[106,2],[138,1],[172,2],[198,1],[217,1],[223,3],[249,3],[275,3],[300,2],[325,3],[353,2],[418,1],[568,1],[697,1]]},"179":{"position":[[164,2],[194,2],[235,2],[278,1],[334,2],[366,1],[480,2],[512,1],[541,1],[571,1]]},"181":{"position":[[99,1],[166,1]]},"183":{"position":[[228,1],[263,1]]},"185":{"position":[[240,1]]},"195":{"position":[[436,1],[524,1],[534,1],[817,1]]},"197":{"position":[[108,1]]},"199":{"position":[[14,1],[47,2],[90,1],[187,1],[295,1],[430,1]]},"201":{"position":[[0,2],[28,1],[40,1],[55,1],[67,1],[82,1],[96,1],[107,1],[119,1],[134,1],[147,1]]},"203":{"position":[[134,1],[223,1],[296,1],[381,1],[524,1]]},"205":{"position":[[96,1],[121,1],[128,1],[158,1],[181,15],[208,1],[218,1],[230,1],[245,1],[257,1],[272,1],[286,1]]},"207":{"position":[[101,2],[111,1],[227,1],[236,1],[252,1],[264,1]]},"209":{"position":[[86,1]]},"211":{"position":[[91,1]]},"213":{"position":[[176,1]]},"215":{"position":[[91,1]]},"227":{"position":[[188,1]]},"229":{"position":[[374,1],[416,1],[472,1],[522,1],[880,1]]},"231":{"position":[[38,1]]},"235":{"position":[[64,2],[74,1],[162,1],[174,1],[492,1]]},"239":{"position":[[114,1]]},"242":{"position":[[27,2]]},"246":{"position":[[57,1],[62,1]]},"252":{"position":[[88,1],[192,1],[312,1],[327,1]]},"256":{"position":[[148,1]]},"258":{"position":[[321,1]]},"262":{"position":[[88,1],[165,1],[216,1]]},"267":{"position":[[74,1]]},"269":{"position":[[105,1]]},"271":{"position":[[117,1],[165,1]]},"273":{"position":[[256,1]]},"281":{"position":[[117,1]]},"283":{"position":[[295,1]]},"285":{"position":[[296,1]]},"289":{"position":[[177,1],[487,1]]},"297":{"position":[[159,1]]},"299":{"position":[[11,1],[146,1],[300,1],[445,1]]},"301":{"position":[[55,1]]},"305":{"position":[[7,1],[64,1],[117,1],[152,1]]},"307":{"position":[[72,1],[98,2],[141,1],[165,2],[197,1],[274,1],[297,1],[336,1],[360,1],[394,1],[437,2],[446,1]]},"312":{"position":[[273,1]]},"330":{"position":[[239,4]]},"332":{"position":[[183,1]]},"338":{"position":[[107,2],[111,1]]},"340":{"position":[[63,1]]},"346":{"position":[[21,1],[135,1],[231,1],[412,1],[525,1],[644,1]]},"352":{"position":[[495,1]]},"354":{"position":[[26,1],[33,1],[132,1],[208,1],[284,1],[364,1],[445,1]]},"356":{"position":[[141,1]]},"358":{"position":[[27,1],[115,1]]},"362":{"position":[[141,1],[250,1]]}}}],["0",{"_index":734,"t":{"143":{"position":[[203,2]]}}}],["0–100",{"_index":1009,"t":{"229":{"position":[[669,7]]}}}],["0–3",{"_index":1182,"t":{"299":{"position":[[52,3]]}}}],["1",{"_index":540,"t":{"100":{"position":[[139,2],[266,2]]},"133":{"position":[[174,1],[234,1]]},"199":{"position":[[5,1],[72,2]]}}}],["1.1.6",{"_index":1259,"t":{"328":{"position":[[8,5]]}}}],["1.1.7",{"_index":1285,"t":{"344":{"position":[[8,5]]}}}],["1.25",{"_index":378,"t":{"56":{"position":[[212,6]]}}}],["1.56",{"_index":379,"t":{"56":{"position":[[219,10]]}}}],["1/4",{"_index":852,"t":{"173":{"position":[[498,3]]}}}],["10",{"_index":336,"t":{"40":{"position":[[317,2]]},"56":{"position":[[236,2]]},"100":{"position":[[215,3],[309,3]]},"106":{"position":[[252,2]]},"151":{"position":[[93,3]]},"175":{"position":[[489,2]]}}}],["100",{"_index":69,"t":{"6":{"position":[[395,3]]},"54":{"position":[[28,3]]},"143":{"position":[[206,4]]}}}],["100.0k",{"_index":950,"t":{"205":{"position":[[210,7]]}}}],["10am",{"_index":1171,"t":{"293":{"position":[[122,5]]}}}],["12",{"_index":834,"t":{"169":{"position":[[726,3]]}}}],["12.3",{"_index":832,"t":{"169":{"position":[[649,8]]}}}],["12.4k",{"_index":947,"t":{"205":{"position":[[160,5]]}}}],["120",{"_index":1196,"t":{"299":{"position":[[567,3]]}}}],["127.0.0.1:11434",{"_index":1119,"t":{"265":{"position":[[457,17]]}}}],["14.5",{"_index":878,"t":{"179":{"position":[[387,8]]}}}],["15",{"_index":339,"t":{"40":{"position":[[354,2]]},"100":{"position":[[174,3]]},"195":{"position":[[18,2]]},"211":{"position":[[730,2]]},"295":{"position":[[14,2]]}}}],["15.1",{"_index":862,"t":{"175":{"position":[[366,8]]}}}],["18.7",{"_index":833,"t":{"169":{"position":[[717,8]]}}}],["1:1",{"_index":342,"t":{"40":{"position":[[414,3]]},"82":{"position":[[448,3]]}}}],["1s",{"_index":377,"t":{"56":{"position":[[207,4]]}}}],["2",{"_index":953,"t":{"209":{"position":[[148,1]]},"295":{"position":[[54,1]]}}}],["2,304",{"_index":397,"t":{"60":{"position":[[122,5]]}}}],["2/4",{"_index":825,"t":{"169":{"position":[[283,3]]}}}],["20",{"_index":3,"t":{"2":{"position":[[25,4]]},"30":{"position":[[146,2]]},"106":{"position":[[182,4]]},"149":{"position":[[367,2]]},"258":{"position":[[189,2]]}}}],["20250514",{"_index":1110,"t":{"265":{"position":[[208,8]]}}}],["21",{"_index":1192,"t":{"299":{"position":[[481,2]]}}}],["25",{"_index":696,"t":{"131":{"position":[[455,2],[655,2]]},"258":{"position":[[97,2]]},"364":{"position":[[77,2]]}}}],["3",{"_index":567,"t":{"106":{"position":[[343,1]]},"149":{"position":[[283,1]]},"199":{"position":[[165,2]]},"203":{"position":[[272,1]]},"205":{"position":[[33,3]]},"211":{"position":[[174,2]]},"254":{"position":[[224,1]]},"258":{"position":[[237,1]]},"299":{"position":[[597,2]]}}}],["3,829",{"_index":1349,"t":{"364":{"position":[[38,6]]}}}],["3.1",{"_index":1152,"t":{"285":{"position":[[159,3]]}}}],["30",{"_index":559,"t":{"106":{"position":[[189,3]]},"205":{"position":[[47,3]]},"283":{"position":[[130,3]]}}}],["35",{"_index":1348,"t":{"364":{"position":[[22,2]]}}}],["4",{"_index":884,"t":{"181":{"position":[[152,2]]},"265":{"position":[[206,1],[278,1]]}}}],["4.1",{"_index":1150,"t":{"285":{"position":[[134,4]]}}}],["4.6",{"_index":1149,"t":{"285":{"position":[[91,4],[125,4]]}}}],["403",{"_index":791,"t":{"163":{"position":[[138,3]]}}}],["45",{"_index":560,"t":{"106":{"position":[[195,3]]},"205":{"position":[[123,4]]}}}],["48",{"_index":400,"t":{"60":{"position":[[148,3],[165,2]]}}}],["4o",{"_index":1106,"t":{"265":{"position":[[129,2],[156,2],[169,3]]},"267":{"position":[[251,2]]},"275":{"position":[[286,3]]},"285":{"position":[[100,3],[143,2]]},"287":{"position":[[118,2]]}}}],["5",{"_index":283,"t":{"30":{"position":[[92,1]]},"106":{"position":[[123,1]]},"110":{"position":[[293,3]]},"120":{"position":[[403,3]]},"169":{"position":[[679,1]]},"201":{"position":[[25,2]]},"203":{"position":[[186,1]]},"299":{"position":[[177,1]]}}}],["5.2",{"_index":1140,"t":{"275":{"position":[[145,3]]}}}],["5.3",{"_index":1139,"t":{"275":{"position":[[130,3]]}}}],["5.4",{"_index":1123,"t":{"267":{"position":[[172,3]]},"275":{"position":[[107,4],[116,3]]},"277":{"position":[[109,3]]},"285":{"position":[[108,4]]}}}],["5.5",{"_index":1138,"t":{"275":{"position":[[98,4]]}}}],["50",{"_index":745,"t":{"145":{"position":[[363,3]]}}}],["5s",{"_index":444,"t":{"68":{"position":[[710,2]]},"78":{"position":[[370,2]]}}}],["60",{"_index":381,"t":{"56":{"position":[[254,2]]},"106":{"position":[[201,4]]},"252":{"position":[[314,4]]},"299":{"position":[[308,2]]}}}],["67",{"_index":948,"t":{"205":{"position":[[197,3]]}}}],["67.2k",{"_index":949,"t":{"205":{"position":[[201,6]]}}}],["70",{"_index":1080,"t":{"252":{"position":[[329,3]]}}}],["75",{"_index":1091,"t":{"258":{"position":[[136,2]]}}}],["8",{"_index":335,"t":{"40":{"position":[[315,1]]},"100":{"position":[[358,2]]},"205":{"position":[[112,2]]}}}],["8.2",{"_index":861,"t":{"175":{"position":[[313,7]]},"179":{"position":[[299,7]]}}}],["900",{"_index":1187,"t":{"299":{"position":[[207,3]]}}}],["9am",{"_index":1168,"t":{"293":{"position":[[54,3]]},"322":{"position":[[20,3]]}}}],["a1",{"_index":823,"t":{"169":{"position":[[130,4],[426,2],[550,3],[634,4]]},"173":{"position":[[419,4]]},"175":{"position":[[84,2],[219,3],[245,3],[296,3],[702,2]]},"179":{"position":[[173,3],[203,3],[286,2],[483,3]]},"227":{"position":[[235,5]]}}}],["a2",{"_index":824,"t":{"169":{"position":[[199,4],[459,2],[593,3],[702,4]]},"175":{"position":[[150,2],[271,3],[321,3],[349,3],[724,2]]},"179":{"position":[[244,3],[343,3],[374,2],[543,3]]}}}],["abort",{"_index":1291,"t":{"346":{"position":[[368,5]]},"350":{"position":[[46,5]]}}}],["abov",{"_index":653,"t":{"122":{"position":[[410,5]]}}}],["absolut",{"_index":1089,"t":{"258":{"position":[[37,8],[123,8],[176,8]]}}}],["accept",{"_index":505,"t":{"82":{"position":[[609,9]]}}}],["access",{"_index":288,"t":{"32":{"position":[[100,6],[228,6],[291,6],[510,6]]},"34":{"position":[[44,6],[135,6]]},"40":{"position":[[384,6]]},"82":{"position":[[430,6]]},"110":{"position":[[353,6]]},"118":{"position":[[268,6],[361,7]]},"122":{"position":[[356,6]]},"131":{"position":[[439,6]]},"157":{"position":[[63,6],[150,6]]},"161":{"position":[[246,6]]},"175":{"position":[[529,6]]},"189":{"position":[[29,6],[173,6],[425,7]]},"191":{"position":[[84,6],[137,7]]},"193":{"position":[[246,6],[523,6]]},"195":{"position":[[63,7],[106,6],[659,6]]},"211":{"position":[[662,6],[786,6]]},"217":{"position":[[406,6]]},"235":{"position":[[505,6]]},"248":{"position":[[46,7],[78,6],[206,6]]},"273":{"position":[[212,6]]},"279":{"position":[[99,8]]},"285":{"position":[[244,6]]}}}],["account",{"_index":665,"t":{"128":{"position":[[33,7],[354,9]]},"131":{"position":[[63,7]]},"133":{"position":[[375,7]]},"137":{"position":[[53,7]]},"157":{"position":[[164,7]]},"159":{"position":[[43,7]]},"163":{"position":[[128,9],[173,7],[487,7]]},"271":{"position":[[192,7],[291,7]]},"275":{"position":[[29,8]]},"281":{"position":[[144,7]]},"287":{"position":[[217,8],[318,9]]}}}],["act",{"_index":568,"t":{"108":{"position":[[12,3]]}}}],["action",{"_index":530,"t":{"98":{"position":[[9,6]]},"100":{"position":[[11,6]]},"147":{"position":[[182,6]]},"233":{"position":[[59,7]]},"235":{"position":[[119,8]]},"237":{"position":[[0,6]]},"252":{"position":[[284,6]]},"307":{"position":[[28,6]]},"338":{"position":[[43,6]]}}}],["activ",{"_index":260,"t":{"26":{"position":[[336,6]]},"64":{"position":[[60,6]]},"94":{"position":[[111,7]]},"104":{"position":[[139,6]]},"137":{"position":[[77,6],[416,6]]},"155":{"position":[[188,7]]},"163":{"position":[[244,6]]},"169":{"position":[[111,10],[268,6]]},"173":{"position":[[400,10],[483,6]]},"185":{"position":[[19,7]]},"203":{"position":[[10,6]]},"227":{"position":[[153,6]]},"262":{"position":[[19,6],[129,6],[180,6]]},"287":{"position":[[195,6]]},"299":{"position":[[357,6],[447,6]]},"301":{"position":[[130,6],[172,6],[256,6],[401,6]]},"330":{"position":[[65,8]]},"332":{"position":[[23,8]]},"336":{"position":[[88,6]]},"352":{"position":[[242,8]]}}}],["ad",{"_index":1224,"t":{"305":{"position":[[119,5]]},"332":{"position":[[0,5],[128,5],[278,5]]},"334":{"position":[[72,5],[147,5]]},"336":{"position":[[0,5],[62,5],[115,5],[193,5]]},"338":{"position":[[0,5],[60,5],[122,5],[162,5]]},"348":{"position":[[0,5],[145,5]]},"350":{"position":[[273,5]]},"362":{"position":[[115,5]]}}}],["add",{"_index":521,"t":{"90":{"position":[[0,3]]},"131":{"position":[[511,3]]},"143":{"position":[[316,3]]},"145":{"position":[[473,4]]},"229":{"position":[[538,3]]}}}],["adding/configur",{"_index":1101,"t":{"262":{"position":[[243,18]]}}}],["addit",{"_index":903,"t":{"189":{"position":[[148,10]]}}}],["addon",{"_index":1238,"t":{"312":{"position":[[82,5]]}}}],["address",{"_index":488,"t":{"82":{"position":[[97,7]]},"116":{"position":[[324,8]]},"131":{"position":[[533,9]]}}}],["adject",{"_index":401,"t":{"60":{"position":[[152,10]]}}}],["adjust",{"_index":757,"t":{"149":{"position":[[193,6]]}}}],["admin",{"_index":291,"t":{"32":{"position":[[155,6],[413,5],[459,5]]},"34":{"position":[[104,5]]},"68":{"position":[[1181,5]]},"78":{"position":[[216,5]]},"189":{"position":[[47,6],[94,5],[205,6],[262,6],[441,5],[510,6]]},"191":{"position":[[39,5],[171,6]]},"193":{"position":[[56,7],[313,5],[383,5],[432,5],[462,5],[530,8]]},"195":{"position":[[666,6]]},"211":{"position":[[693,6]]}}}],["admonit",{"_index":1340,"t":{"362":{"position":[[229,10]]}}}],["advanced/custom",{"_index":471,"t":{"76":{"position":[[177,15]]}}}],["again",{"_index":117,"t":{"8":{"position":[[262,5]]},"157":{"position":[[333,6]]},"163":{"position":[[320,6]]}}}],["against",{"_index":1240,"t":{"312":{"position":[[101,7]]}}}],["agent",{"_index":8,"t":{"2":{"position":[[78,5],[136,5]]},"6":{"position":[[110,5]]},"14":{"position":[[104,5]]},"18":{"position":[[318,5],[363,5]]},"22":{"position":[[20,7],[41,6],[65,7],[98,5],[115,6],[122,7],[161,5],[167,7],[207,5],[213,7],[237,5],[263,7],[306,6]]},"24":{"position":[[111,5]]},"28":{"position":[[46,6],[93,7],[251,8]]},"58":{"position":[[90,5]]},"64":{"position":[[27,5]]},"82":{"position":[[88,5],[109,5]]},"94":{"position":[[175,5]]},"100":{"position":[[253,5],[296,5],[345,5]]},"102":{"position":[[388,5]]},"104":{"position":[[69,5],[114,5],[228,6]]},"118":{"position":[[315,6],[674,6]]},"120":{"position":[[162,5],[209,5]]},"131":{"position":[[165,5]]},"165":{"position":[[78,6],[161,5]]},"167":{"position":[[15,6],[226,6],[492,6],[598,6],[637,6]]},"169":{"position":[[100,5],[122,7],[191,7],[275,7],[323,6],[340,7],[412,7],[420,5],[453,5],[544,5],[587,5],[626,7],[694,7],[762,6]]},"171":{"position":[[20,7],[41,6],[72,7],[105,5],[122,6],[129,7],[168,5],[174,7],[214,5],[220,7],[244,5],[293,7],[336,6],[349,5],[394,5],[451,5],[536,5],[568,5],[621,6],[675,7],[855,6],[1105,8],[1173,5]]},"173":{"position":[[39,7],[90,5],[188,6],[234,5],[389,5],[411,7],[490,7],[538,5],[587,7]]},"175":{"position":[[20,5],[78,5],[144,5],[384,6],[497,7]]},"177":{"position":[[347,6]]},"179":{"position":[[85,5],[167,5],[197,5],[238,5],[280,5],[337,5],[368,5],[427,8],[470,9],[600,5]]},"181":{"position":[[4,6],[307,6],[364,6]]},"183":{"position":[[4,6]]},"185":{"position":[[145,6]]},"195":{"position":[[278,6],[541,7],[569,6]]},"215":{"position":[[97,5]]},"227":{"position":[[55,5],[164,6],[212,5]]},"231":{"position":[[171,5]]},"233":{"position":[[71,5]]},"248":{"position":[[63,5]]},"250":{"position":[[97,5]]},"322":{"position":[[73,5]]},"330":{"position":[[223,5],[266,5],[348,5]]},"336":{"position":[[45,5],[229,5]]},"340":{"position":[[56,6]]},"352":{"position":[[198,5],[320,5]]},"354":{"position":[[314,5],[345,5]]},"362":{"position":[[481,7]]}}}],["agent'",{"_index":863,"t":{"175":{"position":[[429,7]]}}}],["agentid",{"_index":1005,"t":{"227":{"position":[[227,7]]}}}],["ai",{"_index":801,"t":{"165":{"position":[[75,2]]},"167":{"position":[[12,2]]},"195":{"position":[[486,2]]},"199":{"position":[[477,2]]},"203":{"position":[[283,2]]},"237":{"position":[[333,2]]},"252":{"position":[[423,2]]},"254":{"position":[[75,2],[137,2]]},"258":{"position":[[239,2]]},"346":{"position":[[233,2]]},"350":{"position":[[12,2]]}}}],["album",{"_index":716,"t":{"141":{"position":[[57,7]]},"143":{"position":[[45,6]]},"153":{"position":[[24,5]]},"229":{"position":[[202,7],[268,6]]},"330":{"position":[[444,5]]},"338":{"position":[[186,5]]},"340":{"position":[[132,5]]}}}],["alert",{"_index":1314,"t":{"352":{"position":[[77,7]]}}}],["alia",{"_index":212,"t":{"18":{"position":[[202,5]]},"24":{"position":[[341,5]]}}}],["alias",{"_index":546,"t":{"104":{"position":[[392,7]]}}}],["alloc",{"_index":236,"t":{"22":{"position":[[252,10]]},"171":{"position":[[259,10]]}}}],["allow",{"_index":174,"t":{"14":{"position":[[309,5]]},"195":{"position":[[438,5]]},"207":{"position":[[221,5],[254,5]]},"233":{"position":[[141,5]]},"235":{"position":[[164,5],[477,5]]},"237":{"position":[[14,5]]},"239":{"position":[[143,5]]},"246":{"position":[[72,5],[248,7]]},"248":{"position":[[170,5]]},"252":{"position":[[411,6]]},"254":{"position":[[3,5]]},"322":{"position":[[135,7]]}}}],["allowedtool",{"_index":1004,"t":{"227":{"position":[[122,13]]}}}],["allowlist",{"_index":1328,"t":{"358":{"position":[[105,9]]}}}],["alongsid",{"_index":579,"t":{"108":{"position":[[216,9]]},"110":{"position":[[47,9]]},"116":{"position":[[190,9]]},"124":{"position":[[166,9]]},"126":{"position":[[65,9]]}}}],["alpha",{"_index":1330,"t":{"360":{"position":[[47,6]]}}}],["alreadi",{"_index":364,"t":{"48":{"position":[[155,7]]},"56":{"position":[[354,8]]},"84":{"position":[[178,7]]},"316":{"position":[[105,7]]}}}],["alt+ent",{"_index":534,"t":{"98":{"position":[[321,9]]}}}],["alway",{"_index":527,"t":{"94":{"position":[[244,6]]},"189":{"position":[[644,6]]},"199":{"position":[[249,6]]},"207":{"position":[[229,6],[381,8]]},"235":{"position":[[463,6]]},"237":{"position":[[96,6]]},"239":{"position":[[39,8]]},"246":{"position":[[64,7]]},"248":{"position":[[287,6]]}}}],["ambient",{"_index":1299,"t":{"346":{"position":[[722,7]]},"362":{"position":[[186,7]]}}}],["analysi",{"_index":1306,"t":{"350":{"position":[[163,8]]}}}],["analysis/plan",{"_index":528,"t":{"96":{"position":[[56,17]]}}}],["analyz",{"_index":205,"t":{"18":{"position":[[87,8]]},"173":{"position":[[443,8]]},"179":{"position":[[307,9]]},"183":{"position":[[107,7]]},"185":{"position":[[40,7]]},"252":{"position":[[58,9]]},"346":{"position":[[262,8]]}}}],["and/or",{"_index":1084,"t":{"252":{"position":[[479,6]]}}}],["anthrop",{"_index":495,"t":{"82":{"position":[[212,10]]},"205":{"position":[[148,9]]},"265":{"position":[[182,9]]},"285":{"position":[[274,10]]}}}],["anthropic_api_key",{"_index":1111,"t":{"265":{"position":[[217,17]]}}}],["anyon",{"_index":697,"t":{"131":{"position":[[546,6]]}}}],["anyth",{"_index":686,"t":{"131":{"position":[[121,8]]}}}],["anywher",{"_index":612,"t":{"118":{"position":[[144,8]]},"161":{"position":[[322,8]]}}}],["api",{"_index":108,"t":{"8":{"position":[[159,3]]},"12":{"position":[[127,3]]},"82":{"position":[[984,3]]},"110":{"position":[[349,3]]},"114":{"position":[[81,3]]},"118":{"position":[[61,4],[169,4]]},"122":{"position":[[352,3]]},"126":{"position":[[163,3]]},"128":{"position":[[493,3]]},"161":{"position":[[149,3],[348,3]]},"163":{"position":[[217,4],[571,3]]},"169":{"position":[[19,3],[166,3],[445,3],[664,3]]},"179":{"position":[[498,3]]},"211":{"position":[[357,3]]},"265":{"position":[[23,3],[392,3]]},"267":{"position":[[79,3]]},"269":{"position":[[77,3]]},"273":{"position":[[106,3]]},"279":{"position":[[135,4]]},"281":{"position":[[250,3]]},"283":{"position":[[98,3],[160,3]]},"285":{"position":[[48,4]]},"289":{"position":[[29,3],[340,3],[479,3]]}}}],["api/codex",{"_index":1134,"t":{"273":{"position":[[133,9]]}}}],["app",{"_index":671,"t":{"128":{"position":[[175,3]]},"131":{"position":[[85,4],[99,3],[140,3],[383,3]]}}}],["app'",{"_index":691,"t":{"131":{"position":[[280,5],[476,5]]}}}],["app.tsx",{"_index":556,"t":{"106":{"position":[[138,8]]}}}],["appear",{"_index":315,"t":{"38":{"position":[[50,7]]},"40":{"position":[[582,6]]},"94":{"position":[[191,6]]},"108":{"position":[[371,6]]},"110":{"position":[[39,7]]},"116":{"position":[[183,6]]},"124":{"position":[[158,7]]},"179":{"position":[[115,6],[617,6]]},"199":{"position":[[511,6]]},"207":{"position":[[189,6]]},"235":{"position":[[290,7],[371,6]]},"256":{"position":[[104,7]]}}}],["append",{"_index":407,"t":{"60":{"position":[[219,9]]},"124":{"position":[[61,7]]}}}],["appropri",{"_index":483,"t":{"78":{"position":[[163,11]]}}}],["approv",{"_index":290,"t":{"32":{"position":[[137,8],[184,7],[202,7],[338,8]]},"34":{"position":[[79,9]]},"40":{"position":[[498,7],[626,8]]},"175":{"position":[[584,7]]},"187":{"position":[[118,8]]},"189":{"position":[[216,7],[521,7]]},"191":{"position":[[21,7],[156,8],[254,9]]},"193":{"position":[[47,8],[111,7],[133,7],[304,8]]},"207":{"position":[[271,7],[429,7]]},"219":{"position":[[60,8]]},"221":{"position":[[158,7]]},"223":{"position":[[177,9]]},"231":{"position":[[268,8]]},"235":{"position":[[189,8],[540,9]]},"237":{"position":[[40,8],[75,8],[116,8],[199,8],[213,8],[256,8],[298,8]]},"239":{"position":[[78,7]]},"244":{"position":[[76,9]]},"246":{"position":[[25,9],[35,8],[93,8],[192,8],[294,8]]},"248":{"position":[[142,8],[191,8],[213,8]]},"358":{"position":[[18,8],[75,8],[201,8]]}}}],["approve/reject",{"_index":910,"t":{"191":{"position":[[69,14]]}}}],["approve_command",{"_index":979,"t":{"221":{"position":[[130,15]]}}}],["approve_scop",{"_index":974,"t":{"217":{"position":[[373,13]]}}}],["architectur",{"_index":135,"t":{"10":{"position":[[134,12]]}}}],["area",{"_index":544,"t":{"102":{"position":[[124,6]]}}}],["aren't",{"_index":1244,"t":{"312":{"position":[[396,6]]}}}],["argument",{"_index":1070,"t":{"252":{"position":[[98,9]]}}}],["arriv",{"_index":194,"t":{"14":{"position":[[722,6]]}}}],["arrow",{"_index":170,"t":{"14":{"position":[[238,5]]},"26":{"position":[[244,5]]},"38":{"position":[[90,6]]},"40":{"position":[[210,5]]},"137":{"position":[[313,5]]},"147":{"position":[[52,5]]},"185":{"position":[[260,5]]},"225":{"position":[[511,5]]},"235":{"position":[[275,5]]},"307":{"position":[[57,5],[126,5],[182,5],[259,5],[321,5],[379,5]]},"354":{"position":[[73,5]]}}}],["art",{"_index":143,"t":{"10":{"position":[[244,3]]},"153":{"position":[[30,3]]},"330":{"position":[[450,4]]},"338":{"position":[[192,3]]},"340":{"position":[[138,3]]}}}],["artist",{"_index":715,"t":{"141":{"position":[[48,8]]},"145":{"position":[[443,6]]},"229":{"position":[[193,8]]}}}],["ask",{"_index":173,"t":{"14":{"position":[[299,4]]},"82":{"position":[[54,4],[569,4]]},"167":{"position":[[90,3]]},"177":{"position":[[314,3]]},"195":{"position":[[429,3]]},"207":{"position":[[104,3],[121,4]]},"225":{"position":[[468,3]]},"233":{"position":[[130,3]]},"235":{"position":[[26,4],[67,3],[84,4]]},"237":{"position":[[7,3]]},"239":{"position":[[17,3]]},"246":{"position":[[0,3]]},"248":{"position":[[111,3]]},"252":{"position":[[438,3]]},"254":{"position":[[66,4]]},"256":{"position":[[3,3],[58,6]]},"307":{"position":[[220,4]]}}}],["ask_us",{"_index":894,"t":{"185":{"position":[[178,8]]},"225":{"position":[[459,8]]}}}],["asset",{"_index":465,"t":{"76":{"position":[[51,6]]},"340":{"position":[[220,6]]}}}],["assigne",{"_index":647,"t":{"122":{"position":[[248,9],[320,9]]}}}],["assist",{"_index":602,"t":{"116":{"position":[[14,8]]}}}],["async",{"_index":386,"t":{"58":{"position":[[21,5]]}}}],["asynchron",{"_index":549,"t":{"104":{"position":[[540,15]]}}}],["attach",{"_index":358,"t":{"46":{"position":[[40,8]]},"88":{"position":[[40,8]]}}}],["attempt",{"_index":1095,"t":{"258":{"position":[[253,8]]}}}],["attribut",{"_index":598,"t":{"114":{"position":[[46,11]]}}}],["audio",{"_index":780,"t":{"155":{"position":[[81,5]]},"211":{"position":[[291,6]]}}}],["auth",{"_index":252,"t":{"26":{"position":[[69,4],[150,4]]},"133":{"position":[[357,4]]},"135":{"position":[[32,4],[278,4],[433,5]]},"137":{"position":[[100,4],[177,4]]},"157":{"position":[[328,4]]},"159":{"position":[[70,4]]},"163":{"position":[[352,4],[392,4],[462,4]]}}}],["authent",{"_index":609,"t":{"118":{"position":[[32,12]]},"161":{"position":[[121,12]]},"267":{"position":[[16,12]]},"273":{"position":[[0,13],[271,14]]},"279":{"position":[[60,13]]},"283":{"position":[[0,13]]},"289":{"position":[[162,14]]},"346":{"position":[[95,15],[137,12]]},"348":{"position":[[56,12]]}}}],["author",{"_index":254,"t":{"26":{"position":[[169,13]]},"108":{"position":[[113,8]]},"110":{"position":[[3,8]]},"116":{"position":[[58,8],[317,6]]},"124":{"position":[[74,8]]},"135":{"position":[[49,13],[171,13]]},"137":{"position":[[196,13]]}}}],["auto",{"_index":96,"t":{"6":{"position":[[814,5]]},"56":{"position":[[319,4]]},"68":{"position":[[123,4],[606,4],[1071,4]]},"78":{"position":[[222,4]]},"86":{"position":[[159,4]]},"135":{"position":[[203,4]]},"157":{"position":[[91,4]]},"167":{"position":[[647,4]]},"175":{"position":[[579,4]]},"181":{"position":[[94,4],[101,4],[161,4],[168,6],[386,4]]},"207":{"position":[[266,4],[424,4]]},"211":{"position":[[319,4],[553,4]]},"235":{"position":[[184,4],[535,4]]},"237":{"position":[[35,4],[70,4],[111,4],[194,4],[208,4],[251,4],[293,4]]},"239":{"position":[[73,4]]},"246":{"position":[[88,4],[187,4]]},"248":{"position":[[186,4]]},"273":{"position":[[226,4]]},"283":{"position":[[108,5]]},"305":{"position":[[154,4]]},"346":{"position":[[363,4]]},"350":{"position":[[41,4]]},"356":{"position":[[185,4]]},"358":{"position":[[196,4]]}}}],["autocomplet",{"_index":313,"t":{"38":{"position":[[31,12]]},"354":{"position":[[43,12]]}}}],["automat",{"_index":356,"t":{"44":{"position":[[197,13]]},"56":{"position":[[168,13]]},"78":{"position":[[49,13]]},"116":{"position":[[30,13]]},"120":{"position":[[258,13]]},"124":{"position":[[47,13]]},"153":{"position":[[177,13]]},"157":{"position":[[237,13]]},"209":{"position":[[104,13]]},"211":{"position":[[386,13]]},"246":{"position":[[284,9]]},"260":{"position":[[77,14]]},"297":{"position":[[97,13]]},"303":{"position":[[229,14]]},"334":{"position":[[153,9]]}}}],["autopilot",{"_index":928,"t":{"199":{"position":[[326,9]]},"203":{"position":[[204,9]]},"237":{"position":[[356,10]]},"250":{"position":[[69,9]]},"252":{"position":[[48,9]]},"254":{"position":[[24,9],[239,9]]},"258":{"position":[[285,9],[331,9]]},"344":{"position":[[121,9]]},"346":{"position":[[221,9]]},"362":{"position":[[510,10]]}}}],["avail",{"_index":259,"t":{"26":{"position":[[285,9]]},"82":{"position":[[517,9]]},"108":{"position":[[340,12],[491,9]]},"137":{"position":[[365,9]]},"141":{"position":[[146,9]]},"155":{"position":[[144,10]]},"229":{"position":[[16,9],[495,9]]},"271":{"position":[[264,9]]},"275":{"position":[[53,9],[198,9],[314,9]]},"281":{"position":[[216,9]]},"307":{"position":[[210,9]]}}}],["avatar",{"_index":586,"t":{"110":{"position":[[32,6]]},"116":{"position":[[171,6]]},"124":{"position":[[151,6]]}}}],["avoid",{"_index":26,"t":{"4":{"position":[[186,5]]},"350":{"position":[[407,5]]}}}],["awar",{"_index":818,"t":{"167":{"position":[[614,5]]}}}],["back",{"_index":218,"t":{"20":{"position":[[136,4]]},"102":{"position":[[441,4]]},"153":{"position":[[197,4]]},"260":{"position":[[72,4]]},"295":{"position":[[167,4]]},"309":{"position":[[207,4]]},"312":{"position":[[256,4]]}}}],["backend",{"_index":1127,"t":{"269":{"position":[[132,7]]},"348":{"position":[[136,8]]}}}],["background",{"_index":58,"t":{"6":{"position":[[163,10],[298,10],[345,10]]},"18":{"position":[[376,10]]},"24":{"position":[[61,10],[125,10],[183,10],[208,10],[262,10],[311,10],[393,10],[436,10]]},"36":{"position":[[153,10],[195,10]]},"42":{"position":[[18,10]]},"44":{"position":[[34,10]]},"48":{"position":[[95,10]]},"50":{"position":[[60,10]]},"56":{"position":[[99,10]]},"58":{"position":[[27,10]]},"60":{"position":[[0,10]]},"64":{"position":[[152,10]]},"66":{"position":[[0,10]]},"86":{"position":[[34,10]]},"88":{"position":[[259,10]]},"104":{"position":[[48,14],[164,10],[198,10],[344,10],[458,10]]},"167":{"position":[[511,10]]},"171":{"position":[[465,10],[521,10],[574,10]]},"179":{"position":[[581,10]]},"195":{"position":[[580,10]]},"231":{"position":[[496,10]]},"301":{"position":[[69,10]]},"328":{"position":[[70,10]]},"330":{"position":[[173,10],[299,10]]},"334":{"position":[[200,10]]},"336":{"position":[[103,11],[271,10]]},"340":{"position":[[65,10]]},"342":{"position":[[58,10]]},"360":{"position":[[15,10]]},"362":{"position":[[413,10]]}}}],["backgroundtaskmanag",{"_index":1276,"t":{"336":{"position":[[6,21]]}}}],["backoff",{"_index":376,"t":{"56":{"position":[[199,7]]},"68":{"position":[[1170,7]]},"86":{"position":[[214,8]]}}}],["balanc",{"_index":282,"t":{"30":{"position":[[73,8]]}}}],["balanced/detail",{"_index":281,"t":{"30":{"position":[[47,19]]},"36":{"position":[[121,19]]}}}],["banner",{"_index":932,"t":{"199":{"position":[[504,6]]},"205":{"position":[[88,7]]},"211":{"position":[[592,7]]},"346":{"position":[[517,7]]},"352":{"position":[[361,7],[450,7]]}}}],["bar",{"_index":551,"t":{"106":{"position":[[72,3]]},"145":{"position":[[469,3]]},"147":{"position":[[245,4]]},"352":{"position":[[97,3]]}}}],["base",{"_index":641,"t":{"122":{"position":[[85,4]]},"167":{"position":[[407,5]]},"289":{"position":[[349,4]]},"314":{"position":[[20,5]]},"330":{"position":[[8,5]]},"346":{"position":[[236,5]]},"350":{"position":[[15,5]]},"352":{"position":[[508,5]]}}}],["basic",{"_index":1229,"t":{"309":{"position":[[215,5]]}}}],["be",{"_index":1245,"t":{"312":{"position":[[403,5]]}}}],["becom",{"_index":515,"t":{"86":{"position":[[73,7]]},"189":{"position":[[82,7]]}}}],["befor",{"_index":48,"t":{"4":{"position":[[502,6]]},"155":{"position":[[96,6]]},"157":{"position":[[251,6]]},"207":{"position":[[126,6]]},"235":{"position":[[106,6],[309,6]]},"254":{"position":[[232,6]]},"258":{"position":[[262,6]]},"299":{"position":[[148,6]]},"352":{"position":[[131,6]]}}}],["before/aft",{"_index":37,"t":{"4":{"position":[[307,12]]}}}],["begin",{"_index":923,"t":{"199":{"position":[[7,6]]}}}],["behavior",{"_index":481,"t":{"76":{"position":[[387,8]]},"96":{"position":[[33,9],[180,8]]},"183":{"position":[[82,8]]},"233":{"position":[[91,8]]},"301":{"position":[[214,10]]},"332":{"position":[[242,8]]}}}],["benefit",{"_index":849,"t":{"173":{"position":[[295,7]]},"177":{"position":[[114,8]]}}}],["better",{"_index":1236,"t":{"312":{"position":[[60,6],[178,6],[198,6]]}}}],["between",{"_index":532,"t":{"98":{"position":[[128,7]]},"102":{"position":[[340,7]]},"167":{"position":[[590,7]]},"233":{"position":[[122,7]]},"252":{"position":[[117,7],[374,7]]},"354":{"position":[[467,7]]}}}],["bg",{"_index":239,"t":{"24":{"position":[[20,3],[72,4],[136,3],[194,3],[225,3],[278,3],[327,3],[351,3],[362,3],[410,3]]},"28":{"position":[[315,3]]},"62":{"position":[[11,3],[38,3],[51,3],[72,3],[92,3],[107,3],[152,3],[168,3]]},"64":{"position":[[43,4],[87,3],[174,4]]},"104":{"position":[[120,3],[175,3],[235,3],[311,3],[360,3],[376,3],[411,3],[425,3]]},"171":{"position":[[412,4],[476,3],[542,3]]},"179":{"position":[[627,3]]},"195":{"position":[[576,3]]},"330":{"position":[[234,4]]},"336":{"position":[[68,3],[121,3],[131,3],[141,3],[158,3]]},"360":{"position":[[128,3]]}}}],["bill",{"_index":1126,"t":{"269":{"position":[[97,7]]}}}],["block",{"_index":808,"t":{"167":{"position":[[205,6],[436,8]]},"246":{"position":[[110,7],[175,7]]},"362":{"position":[[292,6]]}}}],["board",{"_index":271,"t":{"28":{"position":[[145,5]]},"64":{"position":[[168,5]]},"171":{"position":[[727,5],[982,6]]},"336":{"position":[[282,6]]}}}],["bodi",{"_index":638,"t":{"122":{"position":[[62,5],[302,5]]}}}],["boolean",{"_index":1011,"t":{"229":{"position":[[714,9]]}}}],["boot",{"_index":97,"t":{"6":{"position":[[829,5]]},"68":{"position":[[754,4]]},"78":{"position":[[66,4],[450,4]]}}}],["bot",{"_index":502,"t":{"82":{"position":[[397,3],[741,3]]},"187":{"position":[[35,3]]},"195":{"position":[[44,3]]},"211":{"position":[[712,3],[767,3]]},"213":{"position":[[75,3],[150,3],[306,3]]}}}],["botfath",{"_index":964,"t":{"213":{"position":[[90,11],[165,10]]}}}],["both",{"_index":154,"t":{"12":{"position":[[60,4]]},"58":{"position":[[52,4]]},"169":{"position":[[389,4],[757,4]]},"235":{"position":[[139,4]]}}}],["bottleneck",{"_index":810,"t":{"167":{"position":[[244,11]]}}}],["brain",{"_index":186,"t":{"14":{"position":[[543,5]]},"195":{"position":[[396,5]]},"309":{"position":[[7,5]]},"312":{"position":[[235,5]]}}}],["brain.db",{"_index":1234,"t":{"309":{"position":[[381,8]]}}}],["brain/second",{"_index":1233,"t":{"309":{"position":[[368,12]]}}}],["branch",{"_index":640,"t":{"122":{"position":[[73,7],[90,6]]},"244":{"position":[[238,7]]}}}],["brand",{"_index":1096,"t":{"258":{"position":[[308,7]]}}}],["bravo",{"_index":1331,"t":{"360":{"position":[[59,6]]}}}],["break",{"_index":809,"t":{"167":{"position":[[233,5]]},"295":{"position":[[35,6]]}}}],["bright",{"_index":393,"t":{"60":{"position":[[69,6]]}}}],["bring",{"_index":1286,"t":{"344":{"position":[[14,6]]}}}],["broad",{"_index":1283,"t":{"342":{"position":[[22,5]]}}}],["browser",{"_index":253,"t":{"26":{"position":[[90,8]]},"128":{"position":[[158,7]]},"135":{"position":[[95,7],[195,7],[317,8]]},"137":{"position":[[122,8]]},"163":{"position":[[327,7]]},"267":{"position":[[42,7]]},"271":{"position":[[144,7]]},"281":{"position":[[96,7]]},"289":{"position":[[150,7]]}}}],["budget",{"_index":75,"t":{"6":{"position":[[475,6]]},"8":{"position":[[394,6],[420,6]]},"14":{"position":[[126,7]]},"16":{"position":[[20,7],[39,6],[53,7],[79,6],[102,7],[136,7],[171,6]]},"195":{"position":[[201,7],[301,7],[315,6]]},"205":{"position":[[173,7]]},"211":{"position":[[616,6]]},"225":{"position":[[439,6]]},"231":{"position":[[142,7]]},"299":{"position":[[216,7]]}}}],["budget_statu",{"_index":1000,"t":{"225":{"position":[[413,13]]}}}],["bug",{"_index":589,"t":{"110":{"position":[[243,3]]}}}],["build",{"_index":211,"t":{"18":{"position":[[196,5]]},"169":{"position":[[5,6],[154,6],[432,8]]},"179":{"position":[[487,5]]},"299":{"position":[[328,6]]},"301":{"position":[[191,8]]}}}],["built",{"_index":13,"t":{"4":{"position":[[19,5]]},"68":{"position":[[1135,5]]},"78":{"position":[[425,5]]},"108":{"position":[[236,5]]},"169":{"position":[[668,5]]},"215":{"position":[[14,5]]},"316":{"position":[[30,5]]}}}],["busi",{"_index":276,"t":{"28":{"position":[[350,4]]},"36":{"position":[[209,5]]},"171":{"position":[[1182,4]]}}}],["button",{"_index":898,"t":{"185":{"position":[[300,8]]},"207":{"position":[[243,8]]},"211":{"position":[[501,7]]},"225":{"position":[[540,8]]},"235":{"position":[[363,7]]},"256":{"position":[[155,8]]},"307":{"position":[[90,7],[157,7],[289,7],[352,7],[429,7]]}}}],["call",{"_index":565,"t":{"106":{"position":[[310,5]]},"114":{"position":[[85,6]]},"145":{"position":[[174,5],[231,5],[258,5],[367,5],[410,5],[496,5],[548,5]]},"173":{"position":[[331,5]]},"215":{"position":[[119,4]]},"221":{"position":[[118,6]]},"250":{"position":[[54,6],[141,4]]},"252":{"position":[[41,6],[125,6],[141,7],[202,5]]},"254":{"position":[[161,5]]},"258":{"position":[[112,4]]}}}],["calm",{"_index":391,"t":{"60":{"position":[[56,4]]}}}],["calmer",{"_index":762,"t":{"149":{"position":[[330,7]]}}}],["cancel",{"_index":246,"t":{"24":{"position":[[282,6],[294,6],[355,6],[374,6]]},"62":{"position":[[60,6],[76,6],[122,6]]},"104":{"position":[[315,6],[329,6],[404,6],[439,6]]},"225":{"position":[[379,6]]},"336":{"position":[[145,6]]},"360":{"position":[[132,6]]}}}],["cancel_scheduled_task",{"_index":999,"t":{"225":{"position":[[357,21]]}}}],["capabl",{"_index":138,"t":{"10":{"position":[[187,10]]},"231":{"position":[[251,12]]},"346":{"position":[[374,11]]},"350":{"position":[[52,11]]}}}],["card",{"_index":919,"t":{"197":{"position":[[54,4]]},"199":{"position":[[41,5],[200,4],[372,4],[443,4]]},"203":{"position":[[114,5],[261,4]]},"209":{"position":[[66,5]]},"211":{"position":[[34,4],[135,4],[547,5]]},"346":{"position":[[426,5]]}}}],["cat",{"_index":1036,"t":{"237":{"position":[[171,4]]},"244":{"position":[[90,4]]},"358":{"position":[[141,4]]}}}],["categori",{"_index":987,"t":{"225":{"position":[[18,8]]}}}],["cd",{"_index":978,"t":{"221":{"position":[[73,2]]}}}],["ceil",{"_index":1093,"t":{"258":{"position":[[144,7]]}}}],["centerpiec",{"_index":1297,"t":{"346":{"position":[[651,11]]}}}],["chang",{"_index":118,"t":{"8":{"position":[[272,7],[403,6]]},"14":{"position":[[276,6]]},"16":{"position":[[152,6]]},"20":{"position":[[249,7],[292,7],[328,7]]},"96":{"position":[[94,7]]},"100":{"position":[[388,7]]},"102":{"position":[[218,7],[261,7],[297,7]]},"110":{"position":[[131,7]]},"122":{"position":[[135,8]]},"165":{"position":[[180,7]]},"207":{"position":[[172,8]]},"221":{"position":[[76,6]]},"223":{"position":[[68,7]]},"235":{"position":[[422,6]]},"252":{"position":[[108,8]]},"262":{"position":[[350,6]]},"342":{"position":[[38,7]]},"364":{"position":[[138,8],[187,7]]}}}],["channel",{"_index":163,"t":{"14":{"position":[[138,8]]},"175":{"position":[[651,7]]},"179":{"position":[[155,8]]},"189":{"position":[[631,8]]},"213":{"position":[[219,7]]},"231":{"position":[[132,9]]},"295":{"position":[[179,7]]},"307":{"position":[[19,8]]}}}],["char",{"_index":1188,"t":{"299":{"position":[[211,4]]}}}],["chat",{"_index":220,"t":{"20":{"position":[[152,4]]},"40":{"position":[[152,4]]},"82":{"position":[[346,4],[452,5]]},"88":{"position":[[133,5]]},"94":{"position":[[223,4]]},"98":{"position":[[136,4]]},"100":{"position":[[237,4],[274,4],[319,4]]},"102":{"position":[[170,4],[316,4],[348,4],[365,4],[457,4]]},"167":{"position":[[460,8]]},"169":{"position":[[304,8],[522,8]]},"173":{"position":[[519,8]]},"179":{"position":[[13,8]]},"189":{"position":[[548,5],[602,6]]},"197":{"position":[[97,4]]},"199":{"position":[[233,4]]},"203":{"position":[[58,5]]},"209":{"position":[[182,4]]},"211":{"position":[[150,4]]},"265":{"position":[[63,4]]},"330":{"position":[[142,5]]},"354":{"position":[[390,4],[501,4]]}}}],["chatbot",{"_index":798,"t":{"165":{"position":[[21,7]]}}}],["chatgpt",{"_index":1122,"t":{"267":{"position":[[156,7],[181,7],[211,7]]},"269":{"position":[[18,7]]},"271":{"position":[[93,7]]},"273":{"position":[[88,7]]},"275":{"position":[[157,7]]},"277":{"position":[[66,7]]},"289":{"position":[[93,8]]},"344":{"position":[[39,8]]},"346":{"position":[[0,7],[32,7]]},"348":{"position":[[6,7],[79,7],[232,7],[319,7]]}}}],["chatgpt.com",{"_index":1128,"t":{"269":{"position":[[143,12]]}}}],["chatgpt.com/backend",{"_index":1133,"t":{"273":{"position":[[113,19]]}}}],["chatgpt_web_en",{"_index":1143,"t":{"277":{"position":[[29,19]]}}}],["chatgpt_web_model",{"_index":1144,"t":{"277":{"position":[[87,17]]}}}],["check",{"_index":20,"t":{"4":{"position":[[110,6]]},"10":{"position":[[54,5]]},"34":{"position":[[66,5]]},"110":{"position":[[212,6]]},"155":{"position":[[120,6]]},"169":{"position":[[351,5]]},"173":{"position":[[598,5]]},"225":{"position":[[427,5]]},"237":{"position":[[341,5]]},"252":{"position":[[431,6]]},"258":{"position":[[230,6],[247,5]]},"293":{"position":[[61,5]]},"312":{"position":[[325,5]]}}}],["checkmark",{"_index":924,"t":{"199":{"position":[[149,10]]}}}],["checkout",{"_index":231,"t":{"20":{"position":[[345,8]]}}}],["child",{"_index":349,"t":{"44":{"position":[[71,5]]}}}],["chill",{"_index":672,"t":{"128":{"position":[[210,5]]},"145":{"position":[[76,5],[105,7]]}}}],["choic",{"_index":895,"t":{"185":{"position":[[213,7]]},"225":{"position":[[497,7]]},"301":{"position":[[277,7]]},"354":{"position":[[260,6]]}}}],["choos",{"_index":491,"t":{"82":{"position":[[174,6],[371,6]]},"94":{"position":[[57,6]]},"118":{"position":[[396,6]]},"133":{"position":[[102,6]]},"135":{"position":[[37,6]]},"163":{"position":[[399,6]]},"207":{"position":[[75,6],[372,8]]},"235":{"position":[[38,6]]},"239":{"position":[[30,8]]},"271":{"position":[[86,6]]}}}],["classic",{"_index":627,"t":{"118":{"position":[[595,7]]}}}],["classifi",{"_index":1307,"t":{"350":{"position":[[222,8]]}}}],["claud",{"_index":945,"t":{"205":{"position":[[130,6]]},"265":{"position":[[192,6],[235,6]]},"285":{"position":[[77,6],[113,6]]}}}],["clean",{"_index":357,"t":{"44":{"position":[[211,7]]},"52":{"position":[[131,5]]},"56":{"position":[[324,7]]},"86":{"position":[[164,8]]},"195":{"position":[[736,6]]},"197":{"position":[[102,5]]},"203":{"position":[[348,5]]},"209":{"position":[[187,6]]},"356":{"position":[[247,6]]}}}],["cleanup",{"_index":1326,"t":{"356":{"position":[[133,7]]}}}],["clear",{"_index":248,"t":{"24":{"position":[[414,5]]},"26":{"position":[[441,5]]},"28":{"position":[[57,5],[101,5],[134,5],[181,5]]},"32":{"position":[[491,5]]},"137":{"position":[[254,5]]},"159":{"position":[[21,6]]},"171":{"position":[[632,5],[683,5],[716,5],[763,5],[966,6],[1028,6]]},"193":{"position":[[504,5]]},"195":{"position":[[289,5]]},"307":{"position":[[369,5],[396,5],[440,5]]},"336":{"position":[[162,5]]},"358":{"position":[[69,5]]}}}],["clearer",{"_index":1279,"t":{"338":{"position":[[35,7]]}}}],["cli",{"_index":155,"t":{"12":{"position":[[65,3]]},"14":{"position":[[219,3]]},"18":{"position":[[403,3]]},"26":{"position":[[204,3]]},"36":{"position":[[28,3]]},"38":{"position":[[23,4]]},"40":{"position":[[525,3],[656,3]]},"76":{"position":[[423,3]]},"82":{"position":[[829,3]]},"88":{"position":[[120,3]]},"92":{"position":[[19,3]]},"137":{"position":[[332,4]]},"149":{"position":[[87,3]]},"151":{"position":[[26,6]]},"175":{"position":[[659,4]]},"185":{"position":[[245,3]]},"189":{"position":[[346,3]]},"195":{"position":[[822,3]]},"215":{"position":[[78,3]]},"225":{"position":[[505,5]]},"235":{"position":[[144,3],[267,4]]},"273":{"position":[[74,4]]},"295":{"position":[[187,4]]},"307":{"position":[[35,3]]},"354":{"position":[[310,3]]}}}],["cli/tui",{"_index":1261,"t":{"328":{"position":[[33,7]]}}}],["click",{"_index":626,"t":{"118":{"position":[[550,5],[764,5]]},"131":{"position":[[71,5],[262,5]]},"362":{"position":[[163,5]]}}}],["client",{"_index":693,"t":{"131":{"position":[[310,6],[324,6]]},"133":{"position":[[132,6],[154,6],[184,6],[210,6]]},"161":{"position":[[0,6],[32,6],[46,6]]}}}],["close",{"_index":346,"t":{"42":{"position":[[100,5]]},"122":{"position":[[227,7]]}}}],["cloud",{"_index":498,"t":{"82":{"position":[[236,6]]},"265":{"position":[[327,5]]}}}],["clutter",{"_index":955,"t":{"211":{"position":[[104,7]]}}}],["co",{"_index":576,"t":{"108":{"position":[[110,2]]},"110":{"position":[[0,2]]},"116":{"position":[[55,2],[314,2]]},"124":{"position":[[71,2]]}}}],["code",{"_index":126,"t":{"8":{"position":[[378,4]]},"18":{"position":[[20,5],[56,5],[120,7],[128,5],[190,5],[225,5],[257,5],[312,5],[342,6],[387,5]]},"26":{"position":[[109,4],[129,4],[134,6],[183,4]]},"28":{"position":[[295,6]]},"32":{"position":[[220,4]]},"36":{"position":[[273,4],[332,4]]},"40":{"position":[[191,4],[472,4],[511,4]]},"64":{"position":[[9,6],[21,5]]},"82":{"position":[[775,4],[815,4]]},"88":{"position":[[139,6]]},"92":{"position":[[71,7]]},"94":{"position":[[47,5],[74,5],[139,6]]},"96":{"position":[[43,5],[89,4],[102,5],[138,5]]},"98":{"position":[[177,4]]},"100":{"position":[[118,4],[134,4],[147,4],[169,4],[184,4],[210,4]]},"102":{"position":[[156,5]]},"104":{"position":[[63,5],[93,6]]},"110":{"position":[[268,4]]},"124":{"position":[[21,4]]},"135":{"position":[[185,4],[341,4],[388,4],[405,4]]},"137":{"position":[[141,5],[156,4],[161,6],[210,4]]},"163":{"position":[[372,4],[413,5]]},"167":{"position":[[137,5]]},"171":{"position":[[343,5],[373,6],[1142,5]]},"177":{"position":[[96,4]]},"179":{"position":[[664,6]]},"183":{"position":[[57,4],[91,5],[131,4],[136,5],[181,5],[215,5],[250,5]]},"185":{"position":[[5,5],[159,5]]},"189":{"position":[[124,4],[313,4]]},"193":{"position":[[159,4]]},"195":{"position":[[495,5]]},"271":{"position":[[221,4]]},"281":{"position":[[173,4]]},"330":{"position":[[135,6],[323,6],[341,6]]},"332":{"position":[[134,6]]},"334":{"position":[[88,6]]},"340":{"position":[[30,6]]},"364":{"position":[[65,4]]}}}],["codebas",{"_index":850,"t":{"173":{"position":[[456,8]]},"179":{"position":[[321,12]]}}}],["codex",{"_index":1132,"t":{"273":{"position":[[68,5]]},"275":{"position":[[70,5],[134,6]]}}}],["codex/respons",{"_index":1141,"t":{"275":{"position":[[215,15]]}}}],["code|id",{"_index":293,"t":{"32":{"position":[[192,9]]}}}],["code|userid",{"_index":912,"t":{"193":{"position":[[119,13]]}}}],["coding/chat",{"_index":547,"t":{"104":{"position":[[498,15]]}}}],["coding/workspac",{"_index":311,"t":{"36":{"position":[[292,16],[354,16]]}}}],["collaps",{"_index":537,"t":{"100":{"position":[[59,8]]},"106":{"position":[[320,9]]},"346":{"position":[[472,9]]},"352":{"position":[[262,9]]}}}],["collis",{"_index":403,"t":{"60":{"position":[[181,9]]}}}],["color",{"_index":1334,"t":{"362":{"position":[[54,5],[433,5]]}}}],["combin",{"_index":399,"t":{"60":{"position":[[135,12]]}}}],["come",{"_index":875,"t":{"179":{"position":[[72,4]]}}}],["command",{"_index":15,"t":{"4":{"position":[[36,7],[101,8]]},"6":{"position":[[0,7],[740,9]]},"14":{"position":[[0,7],[248,7]]},"16":{"position":[[0,7]]},"18":{"position":[[0,7]]},"20":{"position":[[0,7],[39,8],[378,7]]},"22":{"position":[[0,7]]},"24":{"position":[[0,7],[24,9],[46,7]]},"26":{"position":[[0,7]]},"28":{"position":[[0,7],[242,8]]},"30":{"position":[[0,7]]},"32":{"position":[[0,7]]},"34":{"position":[[0,7]]},"38":{"position":[[72,9],[215,8],[237,7]]},"48":{"position":[[20,7]]},"58":{"position":[[63,8]]},"62":{"position":[[15,9]]},"90":{"position":[[27,7]]},"102":{"position":[[0,7]]},"137":{"position":[[0,7]]},"147":{"position":[[20,7]]},"171":{"position":[[0,7],[1091,8]]},"183":{"position":[[69,7]]},"193":{"position":[[0,7]]},"195":{"position":[[21,8],[71,7],[167,7],[762,7],[808,8]]},"207":{"position":[[152,9]]},"211":{"position":[[716,8],[733,8]]},"215":{"position":[[82,8]]},"221":{"position":[[57,7],[65,7],[168,7],[181,7]]},"235":{"position":[[522,8]]},"237":{"position":[[157,8],[234,8]]},"242":{"position":[[0,8]]},"244":{"position":[[48,8]]},"246":{"position":[[118,10],[201,7]]},"305":{"position":[[137,7]]},"330":{"position":[[483,8],[552,7]]},"334":{"position":[[15,7],[127,7]]},"352":{"position":[[44,7]]},"354":{"position":[[6,7]]},"356":{"position":[[227,7],[311,9]]},"358":{"position":[[123,8]]}}}],["comment",{"_index":643,"t":{"122":{"position":[[160,8]]}}}],["commit",{"_index":228,"t":{"20":{"position":[[261,6],[278,6]]},"102":{"position":[[230,6],[247,6]]},"108":{"position":[[122,7]]},"110":{"position":[[12,7],[72,6],[159,8]]},"114":{"position":[[39,6]]},"116":{"position":[[23,6]]},"124":{"position":[[13,7],[194,6]]},"126":{"position":[[244,6]]},"223":{"position":[[84,6],[139,6]]},"364":{"position":[[25,7]]}}}],["compact",{"_index":284,"t":{"30":{"position":[[106,7]]}}}],["companion",{"_index":570,"t":{"108":{"position":[[31,9]]}}}],["comparison",{"_index":38,"t":{"4":{"position":[[328,10]]}}}],["compat",{"_index":87,"t":{"6":{"position":[[617,13]]},"10":{"position":[[40,13]]},"82":{"position":[[267,10]]},"211":{"position":[[422,10]]},"265":{"position":[[300,10],[482,10],[539,10]]},"283":{"position":[[185,10]]}}}],["compil",{"_index":1239,"t":{"312":{"position":[[92,8]]}}}],["complet",{"_index":250,"t":{"24":{"position":[[426,9]]},"26":{"position":[[141,8]]},"106":{"position":[[255,9]]},"137":{"position":[[168,8]]},"169":{"position":[[639,9],[707,9]]},"171":{"position":[[61,10]]},"173":{"position":[[174,9]]},"175":{"position":[[303,9],[356,9]]},"179":{"position":[[104,10],[289,9],[377,9]]},"189":{"position":[[103,10],[353,8]]},"199":{"position":[[420,9],[493,10]]},"203":{"position":[[188,9],[322,10]]},"205":{"position":[[77,10],[103,8]]},"211":{"position":[[581,10]]},"346":{"position":[[506,10]]},"352":{"position":[[350,10],[439,10]]}}}],["complex",{"_index":815,"t":{"167":{"position":[[421,10]]},"173":{"position":[[277,7]]},"177":{"position":[[207,7]]}}}],["compose.yml",{"_index":468,"t":{"76":{"position":[[102,11]]}}}],["compromis",{"_index":664,"t":{"126":{"position":[[312,12]]}}}],["concurr",{"_index":238,"t":{"22":{"position":[[291,10]]},"165":{"position":[[101,12]]},"167":{"position":[[563,10],[626,10]]},"171":{"position":[[275,11],[321,10]]},"181":{"position":[[353,10]]}}}],["condit",{"_index":583,"t":{"108":{"position":[[328,11]]}}}],["confid",{"_index":1183,"t":{"299":{"position":[[89,11],[519,10]]},"303":{"position":[[99,10]]},"305":{"position":[[43,11]]}}}],["config",{"_index":72,"t":{"6":{"position":[[440,7],[750,6]]},"22":{"position":[[221,6]]},"78":{"position":[[183,7]]},"82":{"position":[[854,6]]},"171":{"position":[[228,6]]},"195":{"position":[[193,7]]},"231":{"position":[[113,6]]},"309":{"position":[[100,6]]}}}],["config/systemd/user/mercury.servic",{"_index":439,"t":{"68":{"position":[[566,39]]}}}],["configur",{"_index":176,"t":{"14":{"position":[[333,10]]},"108":{"position":[[171,11],[399,10]]},"116":{"position":[[117,13]]},"126":{"position":[[86,14]]},"181":{"position":[[15,10]]},"260":{"position":[[0,9]]},"262":{"position":[[96,10]]},"265":{"position":[[31,13],[493,12]]},"267":{"position":[[142,13]]},"342":{"position":[[143,9]]},"348":{"position":[[348,10]]},"362":{"position":[[534,14]]}}}],["confirm",{"_index":273,"t":{"28":{"position":[[218,13]]},"48":{"position":[[118,8]]},"84":{"position":[[211,8]]},"171":{"position":[[800,13],[1070,14]]},"235":{"position":[[93,12]]},"307":{"position":[[408,13]]},"332":{"position":[[264,7]]}}}],["conflict",{"_index":27,"t":{"4":{"position":[[192,9]]},"167":{"position":[[580,9]]}}}],["connect",{"_index":251,"t":{"26":{"position":[[42,10],[74,7]]},"128":{"position":[[8,8]]},"131":{"position":[[575,8]]},"133":{"position":[[332,9]]},"135":{"position":[[463,9]]},"137":{"position":[[34,10]]},"187":{"position":[[8,8]]},"229":{"position":[[42,10]]},"301":{"position":[[381,11]]}}}],["consecut",{"_index":563,"t":{"106":{"position":[[283,11]]}}}],["consolid",{"_index":938,"t":{"203":{"position":[[78,12]]},"299":{"position":[[286,13]]},"305":{"position":[[186,13]]},"309":{"position":[[287,14]]},"312":{"position":[[297,13]]}}}],["constrain",{"_index":1317,"t":{"352":{"position":[[462,11]]}}}],["constraint",{"_index":1204,"t":{"301":{"position":[[297,10],[326,11]]}}}],["consum",{"_index":159,"t":{"12":{"position":[[119,7]]}}}],["contain",{"_index":469,"t":{"76":{"position":[[151,10],[268,9],[286,9]]}}}],["content",{"_index":625,"t":{"118":{"position":[[469,8]]},"217":{"position":[[49,8],[106,7],[172,7],[277,8]]},"219":{"position":[[89,7]]},"225":{"position":[[60,7],[130,7]]},"318":{"position":[[105,7]]}}}],["context",{"_index":272,"t":{"28":{"position":[[200,7]]},"94":{"position":[[146,7]]},"143":{"position":[[293,8]]},"167":{"position":[[47,7],[327,7]]},"171":{"position":[[782,7],[889,7],[1052,7]]},"173":{"position":[[133,7]]},"175":{"position":[[97,8],[163,8],[403,7]]},"177":{"position":[[140,7]]},"227":{"position":[[78,7]]},"299":{"position":[[242,8]]}}}],["continu",{"_index":421,"t":{"66":{"position":[[217,10]]},"104":{"position":[[489,8]]},"149":{"position":[[134,9]]},"165":{"position":[[120,10]]},"169":{"position":[[295,8],[513,8]]},"173":{"position":[[510,8]]},"175":{"position":[[175,9]]},"209":{"position":[[25,12]]},"237":{"position":[[312,12]]},"252":{"position":[[333,8]]},"254":{"position":[[190,8]]},"256":{"position":[[76,9],[139,8]]}}}],["control",{"_index":257,"t":{"26":{"position":[[254,8]]},"96":{"position":[[25,7]]},"118":{"position":[[731,7]]},"128":{"position":[[52,7],[373,7]]},"137":{"position":[[323,8]]},"149":{"position":[[184,8],[412,8]]},"163":{"position":[[81,8]]},"181":{"position":[[207,9]]},"195":{"position":[[623,8]]},"233":{"position":[[45,8]]},"248":{"position":[[33,7]]},"332":{"position":[[50,9]]},"336":{"position":[[184,8]]},"338":{"position":[[152,9]]}}}],["convers",{"_index":152,"t":{"12":{"position":[[20,12]]},"28":{"position":[[187,12]]},"96":{"position":[[167,12]]},"108":{"position":[[152,13],[504,13]]},"128":{"position":[[141,13]]},"149":{"position":[[63,12]]},"165":{"position":[[135,13]]},"171":{"position":[[769,12],[876,12],[1039,12]]},"175":{"position":[[185,12],[437,12]]},"177":{"position":[[183,13]]},"183":{"position":[[202,12]]},"215":{"position":[[49,14]]},"293":{"position":[[16,13]]},"297":{"position":[[66,13]]},"299":{"position":[[24,13]]},"318":{"position":[[16,13]]}}}],["convert",{"_index":961,"t":{"211":{"position":[[400,9]]}}}],["copi",{"_index":508,"t":{"82":{"position":[[758,4]]},"118":{"position":[[575,4],[789,4]]},"131":{"position":[[301,4]]}}}],["copilot",{"_index":1125,"t":{"267":{"position":[[239,7],[261,7],[279,7]]},"279":{"position":[[16,7],[127,7]]},"281":{"position":[[63,7],[242,7]]},"283":{"position":[[90,7],[152,7]]},"285":{"position":[[40,7],[227,7]]},"287":{"position":[[76,7],[142,7],[179,7],[233,7],[293,7]]},"289":{"position":[[114,9]]},"344":{"position":[[63,9]]},"346":{"position":[[118,7],[175,7]]},"348":{"position":[[158,7],[202,7]]}}}],["copy/past",{"_index":1159,"t":{"289":{"position":[[190,11]]}}}],["cosmicstack/mercuri",{"_index":7,"t":{"2":{"position":[[57,20],[115,20]]}}}],["cost",{"_index":1103,"t":{"265":{"position":[[103,4]]}}}],["count",{"_index":1068,"t":{"252":{"position":[[18,8]]},"346":{"position":[[566,6]]},"352":{"position":[[400,6]]}}}],["cover",{"_index":652,"t":{"122":{"position":[[402,7]]}}}],["coverag",{"_index":1264,"t":{"328":{"position":[[113,9]]}}}],["cpu",{"_index":820,"t":{"167":{"position":[[680,3]]}}}],["cpu/ram",{"_index":883,"t":{"181":{"position":[[120,8]]}}}],["crash",{"_index":372,"t":{"56":{"position":[[84,5],[147,8],[239,7],[286,5]]},"68":{"position":[[169,5],[230,5],[670,5],[1119,5]]},"78":{"position":[[87,6],[233,5],[306,6]]},"86":{"position":[[182,5]]},"110":{"position":[[261,6]]}}}],["creat",{"_index":424,"t":{"68":{"position":[[44,7],[535,7],[1013,7]]},"108":{"position":[[43,8]]},"110":{"position":[[109,7]]},"118":{"position":[[183,6]]},"120":{"position":[[40,7]]},"122":{"position":[[28,6],[271,6]]},"131":{"position":[[77,7]]},"189":{"position":[[295,7],[480,6]]},"199":{"position":[[24,7],[388,8]]},"203":{"position":[[43,7]]},"217":{"position":[[126,6],[144,8]]},"223":{"position":[[130,6]]},"295":{"position":[[224,8]]}}}],["create_fil",{"_index":830,"t":{"169":{"position":[[572,11]]},"175":{"position":[[336,12]]},"179":{"position":[[266,11]]},"217":{"position":[[114,11]]}}}],["create_issu",{"_index":648,"t":{"122":{"position":[[258,12]]}}}],["create_pr",{"_index":636,"t":{"122":{"position":[[18,9]]}}}],["credenti",{"_index":119,"t":{"8":{"position":[[280,11]]},"126":{"position":[[226,11]]},"161":{"position":[[7,11],[229,11]]}}}],["credit",{"_index":657,"t":{"124":{"position":[[218,6]]}}}],["criteria",{"_index":1078,"t":{"252":{"position":[[275,8]]}}}],["cron",{"_index":996,"t":{"225":{"position":[[259,6]]},"291":{"position":[[33,4]]}}}],["cross",{"_index":85,"t":{"6":{"position":[[586,5]]}}}],["ctrl+b",{"_index":304,"t":{"36":{"position":[[141,6]]}}}],["ctrl+c",{"_index":302,"t":{"36":{"position":[[73,6]]},"88":{"position":[[100,6]]}}}],["ctrl+d",{"_index":334,"t":{"40":{"position":[[290,6]]},"100":{"position":[[196,6],[331,6]]}}}],["ctrl+e",{"_index":327,"t":{"40":{"position":[[87,6]]},"98":{"position":[[53,6]]}}}],["ctrl+g",{"_index":329,"t":{"40":{"position":[[115,6]]},"98":{"position":[[80,6]]}}}],["ctrl+j",{"_index":330,"t":{"40":{"position":[[138,6]]},"98":{"position":[[102,6]]}}}],["ctrl+n",{"_index":305,"t":{"36":{"position":[[215,6]]},"354":{"position":[[178,8]]},"364":{"position":[[131,6]]}}}],["ctrl+p",{"_index":310,"t":{"36":{"position":[[256,6]]},"98":{"position":[[16,6]]},"332":{"position":[[152,6]]}}}],["ctrl+q",{"_index":324,"t":{"40":{"position":[[27,6]]},"98":{"position":[[253,6]]},"332":{"position":[[185,6]]}}}],["ctrl+t",{"_index":303,"t":{"36":{"position":[[93,6]]},"354":{"position":[[539,6]]},"364":{"position":[[198,7]]}}}],["ctrl+u",{"_index":333,"t":{"40":{"position":[[281,6]]},"100":{"position":[[189,6],[324,6]]}}}],["ctrl+x",{"_index":312,"t":{"36":{"position":[[315,6]]},"98":{"position":[[33,6]]},"332":{"position":[[164,6]]}}}],["curl",{"_index":981,"t":{"221":{"position":[[195,7]]}}}],["current",{"_index":82,"t":{"6":{"position":[[540,7]]},"8":{"position":[[50,7]]},"10":{"position":[[69,7]]},"14":{"position":[[182,7],[412,7],[459,9]]},"18":{"position":[[31,7],[418,7]]},"24":{"position":[[140,7],[157,7]]},"26":{"position":[[384,9]]},"28":{"position":[[428,7]]},"36":{"position":[[179,7]]},"64":{"position":[[91,7]]},"76":{"position":[[17,9]]},"82":{"position":[[1053,7]]},"104":{"position":[[124,7]]},"106":{"position":[[89,7]]},"120":{"position":[[329,7]]},"133":{"position":[[279,7]]},"137":{"position":[[456,9]]},"141":{"position":[[107,9]]},"145":{"position":[[521,7]]},"149":{"position":[[117,7]]},"153":{"position":[[129,9]]},"171":{"position":[[480,7],[493,7]]},"183":{"position":[[270,7]]},"195":{"position":[[250,7]]},"229":{"position":[[443,9]]},"248":{"position":[[258,7]]},"252":{"position":[[507,7]]},"262":{"position":[[121,7]]},"336":{"position":[[72,7]]}}}],["cursor",{"_index":1298,"t":{"346":{"position":[[688,6]]},"354":{"position":[[193,6],[217,6]]},"362":{"position":[[155,7]]}}}],["custom",{"_index":489,"t":{"82":{"position":[[145,9]]},"116":{"position":[[225,9]]},"246":{"position":[[165,9]]}}}],["cycl",{"_index":19,"t":{"4":{"position":[[73,6]]},"18":{"position":[[270,5]]},"40":{"position":[[167,5]]},"98":{"position":[[153,5]]},"183":{"position":[[230,5]]}}}],["daemon",{"_index":25,"t":{"4":{"position":[[164,6]]},"6":{"position":[[68,6],[174,6],[408,6],[459,6]]},"10":{"position":[[215,6]]},"42":{"position":[[29,6]]},"44":{"position":[[45,7]]},"48":{"position":[[106,7]]},"52":{"position":[[34,6]]},"56":{"position":[[33,6]]},"58":{"position":[[0,6]]},"66":{"position":[[51,6]]},"68":{"position":[[287,6]]},"84":{"position":[[119,7],[316,7]]},"86":{"position":[[45,6]]},"231":{"position":[[541,6]]},"312":{"position":[[331,6]]}}}],["daili",{"_index":128,"t":{"8":{"position":[[388,5]]},"16":{"position":[[159,5]]},"231":{"position":[[389,5]]},"320":{"position":[[9,5]]},"322":{"position":[[11,5],[35,5]]}}}],["dark",{"_index":1347,"t":{"362":{"position":[[389,4]]}}}],["data",{"_index":1015,"t":{"231":{"position":[[12,4]]},"309":{"position":[[317,4]]}}}],["date",{"_index":1053,"t":{"244":{"position":[[172,5]]}}}],["day",{"_index":1167,"t":{"293":{"position":[[47,3]]},"299":{"position":[[484,5],[571,5]]}}}],["debug",{"_index":100,"t":{"6":{"position":[[969,5]]},"46":{"position":[[78,9]]},"90":{"position":[[42,5]]}}}],["decay",{"_index":1194,"t":{"299":{"position":[[508,6]]},"305":{"position":[[91,7]]}}}],["decid",{"_index":814,"t":{"167":{"position":[[382,7]]},"169":{"position":[[70,7]]},"173":{"position":[[259,7]]},"177":{"position":[[8,7]]},"181":{"position":[[180,8]]},"215":{"position":[[103,7]]},"254":{"position":[[171,7]]}}}],["decis",{"_index":896,"t":{"185":{"position":[[224,8]]},"301":{"position":[[247,8],[263,9]]}}}],["deck",{"_index":1269,"t":{"330":{"position":[[390,6]]},"338":{"position":[[14,4]]}}}],["dedic",{"_index":871,"t":{"177":{"position":[[233,9]]},"334":{"position":[[78,9]]},"350":{"position":[[107,9]]}}}],["deepseek",{"_index":493,"t":{"82":{"position":[[194,9]]},"265":{"position":[[45,8],[54,8]]},"289":{"position":[[383,8]]}}}],["deepseek_api_key",{"_index":1102,"t":{"265":{"position":[[68,16]]},"289":{"position":[[397,17]]}}}],["deepseek_base_url",{"_index":1161,"t":{"289":{"position":[[415,18]]}}}],["deepseek_model",{"_index":1162,"t":{"289":{"position":[[438,15]]}}}],["default",{"_index":59,"t":{"6":{"position":[[181,9]]},"42":{"position":[[39,8]]},"76":{"position":[[117,9]]},"82":{"position":[[122,8],[380,7]]},"86":{"position":[[55,8]]},"116":{"position":[[152,8]]},"120":{"position":[[6,7]]},"131":{"position":[[415,9]]},"153":{"position":[[84,9]]},"155":{"position":[[267,7]]},"213":{"position":[[123,7]]},"235":{"position":[[128,7]]},"262":{"position":[[367,9]]},"265":{"position":[[9,7],[85,7]]},"267":{"position":[[106,7]]},"271":{"position":[[319,7]]},"277":{"position":[[9,7],[118,7]]},"281":{"position":[[274,7]]},"287":{"position":[[9,7],[121,7]]},"309":{"position":[[27,8]]},"330":{"position":[[589,7]]},"340":{"position":[[149,7]]},"348":{"position":[[378,7]]}}}],["defer",{"_index":940,"t":{"203":{"position":[[298,8]]}}}],["deferr",{"_index":1325,"t":{"356":{"position":[[58,8]]}}}],["delay",{"_index":445,"t":{"68":{"position":[[713,5]]},"78":{"position":[[373,5]]},"225":{"position":[[278,7]]},"291":{"position":[[62,7]]}}}],["deleg",{"_index":214,"t":{"18":{"position":[[331,8]]},"58":{"position":[[76,9]]},"64":{"position":[[0,8]]},"104":{"position":[[33,10],[84,8]]},"167":{"position":[[354,10],[398,8]]},"169":{"position":[[81,9],[379,9]]},"171":{"position":[[362,8]]},"177":{"position":[[19,8],[367,9]]},"179":{"position":[[654,9]]},"185":{"position":[[123,8]]},"330":{"position":[[330,10]]}}}],["delegate_task",{"_index":845,"t":{"173":{"position":[[64,13],[337,14]]},"227":{"position":[[29,13]]}}}],["delegate_task(\"impl",{"_index":857,"t":{"175":{"position":[[109,24]]}}}],["delegate_task(\"research",{"_index":855,"t":{"175":{"position":[[44,23]]}}}],["delet",{"_index":461,"t":{"68":{"position":[[1383,7]]},"74":{"position":[[86,7]]},"199":{"position":[[464,8]]},"203":{"position":[[428,7]]},"209":{"position":[[96,7]]},"211":{"position":[[558,7]]},"217":{"position":[[303,6]]},"356":{"position":[[190,6]]}}}],["delete_fil",{"_index":972,"t":{"217":{"position":[[291,11]]}}}],["demot",{"_index":297,"t":{"32":{"position":[[429,6],[441,6]]},"193":{"position":[[406,6],[422,6]]}}}],["deni",{"_index":951,"t":{"207":{"position":[[238,4]]}}}],["deploy",{"_index":472,"t":{"76":{"position":[[193,11]]},"295":{"position":[[72,11]]}}}],["descript",{"_index":51,"t":{"6":{"position":[[8,11]]},"14":{"position":[[8,11]]},"16":{"position":[[8,11]]},"18":{"position":[[8,11]]},"20":{"position":[[8,11]]},"22":{"position":[[8,11]]},"24":{"position":[[8,11]]},"26":{"position":[[8,11]]},"28":{"position":[[8,11]]},"30":{"position":[[8,11]]},"32":{"position":[[8,11]]},"34":{"position":[[8,11]]},"36":{"position":[[61,11]]},"40":{"position":[[9,11]]},"102":{"position":[[8,11]]},"131":{"position":[[144,12]]},"137":{"position":[[8,11]]},"171":{"position":[[8,11]]},"173":{"position":[[52,11],[108,11]]},"181":{"position":[[258,11]]},"191":{"position":[[5,11]]},"193":{"position":[[8,11]]},"195":{"position":[[79,11]]},"211":{"position":[[8,11]]},"213":{"position":[[111,11]]},"258":{"position":[[66,11]]},"277":{"position":[[17,11]]},"287":{"position":[[17,11]]}}}],["design",{"_index":420,"t":{"66":{"position":[[157,8]]}}}],["desktop",{"_index":777,"t":{"155":{"position":[[39,8]]}}}],["destruct",{"_index":131,"t":{"10":{"position":[[28,11]]}}}],["detach",{"_index":348,"t":{"44":{"position":[[62,8]]}}}],["detail",{"_index":286,"t":{"30":{"position":[[127,8]]}}}],["details/output",{"_index":245,"t":{"24":{"position":[[239,14]]},"104":{"position":[[256,14]]}}}],["detect",{"_index":140,"t":{"10":{"position":[[205,9]]},"78":{"position":[[123,7]]},"167":{"position":[[652,8]]},"181":{"position":[[106,8]]},"211":{"position":[[324,8]]},"250":{"position":[[37,9]]},"254":{"position":[[34,7]]},"299":{"position":[[418,8]]},"303":{"position":[[13,7],[207,8]]},"305":{"position":[[82,8]]},"344":{"position":[[153,10]]},"346":{"position":[[247,9]]},"350":{"position":[[26,9],[90,9]]}}}],["develop",{"_index":695,"t":{"131":{"position":[[338,11],[373,9],[393,11]]}}}],["developer.spotify.com/dashboard",{"_index":685,"t":{"131":{"position":[[6,31]]}}}],["devic",{"_index":258,"t":{"26":{"position":[[272,7],[303,7],[320,6],[351,6]]},"128":{"position":[[117,7]]},"135":{"position":[[303,6]]},"137":{"position":[[84,6],[352,7],[383,7],[400,6],[423,6]]},"141":{"position":[[164,7]]},"143":{"position":[[69,6]]},"145":{"position":[[141,6]]},"155":{"position":[[22,7],[132,7],[164,7],[178,6],[239,6],[275,7],[292,6],[299,7],[315,6],[385,7]]},"163":{"position":[[251,7]]},"229":{"position":[[514,7]]},"267":{"position":[[62,6]]},"271":{"position":[[214,6]]},"273":{"position":[[27,6]]},"281":{"position":[[166,6]]},"283":{"position":[[27,6]]},"346":{"position":[[83,6]]},"348":{"position":[[43,6],[186,6]]}}}],["deviceid",{"_index":1006,"t":{"229":{"position":[[293,9],[332,9]]}}}],["diagnost",{"_index":88,"t":{"6":{"position":[[631,11]]},"330":{"position":[[540,11]]},"340":{"position":[[91,11]]}}}],["diff",{"_index":590,"t":{"110":{"position":[[319,4]]},"122":{"position":[[118,5]]},"244":{"position":[[219,5]]},"358":{"position":[[187,4]]}}}],["differ",{"_index":608,"t":{"116":{"position":[[304,9]]},"233":{"position":[[100,7]]},"312":{"position":[[111,9]]}}}],["digest",{"_index":1253,"t":{"320":{"position":[[15,6]]},"322":{"position":[[41,6]]}}}],["dir",{"_index":969,"t":{"217":{"position":[[160,5]]}}}],["direct",{"_index":1222,"t":{"305":{"position":[[0,6]]},"362":{"position":[[313,9]]}}}],["directli",{"_index":360,"t":{"46":{"position":[[119,9]]},"126":{"position":[[167,8]]},"289":{"position":[[241,8]]},"318":{"position":[[113,8]]},"346":{"position":[[62,9]]}}}],["directori",{"_index":41,"t":{"4":{"position":[[375,9],[492,9]]},"18":{"position":[[426,9]]},"20":{"position":[[71,9]]},"82":{"position":[[912,10]]},"102":{"position":[[43,9]]},"217":{"position":[[267,9],[418,9]]},"221":{"position":[[91,9]]},"231":{"position":[[60,10]]},"237":{"position":[[269,9]]},"248":{"position":[[13,9],[100,10],[274,9]]}}}],["disabl",{"_index":123,"t":{"8":{"position":[[322,7]]},"14":{"position":[[692,7]]},"213":{"position":[[341,7]]},"309":{"position":[[39,7],[183,9]]},"312":{"position":[[264,8]]}}}],["disclosur",{"_index":1254,"t":{"322":{"position":[[181,10]]}}}],["disconnect",{"_index":264,"t":{"26":{"position":[[418,10]]},"137":{"position":[[231,10]]}}}],["discoveri",{"_index":504,"t":{"82":{"position":[[544,9]]}}}],["disk",{"_index":416,"t":{"66":{"position":[[34,4]]}}}],["dislik",{"_index":1198,"t":{"301":{"position":[[117,7]]}}}],["dismiss",{"_index":1195,"t":{"299":{"position":[[551,9]]}}}],["display",{"_index":552,"t":{"106":{"position":[[76,8]]},"157":{"position":[[179,7]]},"352":{"position":[[101,8],[307,9]]}}}],["distinguish",{"_index":536,"t":{"98":{"position":[[381,11]]},"346":{"position":[[312,11]]}}}],["divers",{"_index":1069,"t":{"252":{"position":[[78,9],[302,9],[469,9]]},"346":{"position":[[281,9]]},"350":{"position":[[192,9]]}}}],["dj",{"_index":670,"t":{"128":{"position":[[106,2]]},"149":{"position":[[44,2]]}}}],["doc",{"_index":1263,"t":{"328":{"position":[[108,4]]},"334":{"position":[[105,4]]},"340":{"position":[[20,4]]},"342":{"position":[[84,5]]}}}],["docker",{"_index":464,"t":{"76":{"position":[[44,6],[95,6]]},"340":{"position":[[174,6],[213,6]]}}}],["dockerfil",{"_index":467,"t":{"76":{"position":[[81,10]]}}}],["doctor",{"_index":76,"t":{"6":{"position":[[490,6],[563,6],[690,7]]},"8":{"position":[[8,6],[441,6]]},"10":{"position":[[98,6]]},"82":{"position":[[967,7]]},"108":{"position":[[422,7]]},"112":{"position":[[12,6],[63,6]]},"133":{"position":[[12,6],[68,6]]},"213":{"position":[[34,6],[331,6]]},"262":{"position":[[209,6],[340,6]]},"271":{"position":[[12,6]]},"281":{"position":[[12,6]]},"289":{"position":[[12,6]]},"330":{"position":[[569,6]]},"342":{"position":[[133,6]]}}}],["document",{"_index":958,"t":{"211":{"position":[[309,9]]},"356":{"position":[[87,14]]},"362":{"position":[[459,13]]}}}],["docusauru",{"_index":1281,"t":{"340":{"position":[[9,10]]},"362":{"position":[[218,10]]}}}],["doesn't",{"_index":796,"t":{"163":{"position":[[335,7]]},"175":{"position":[[450,7]]}}}],["don't",{"_index":535,"t":{"98":{"position":[[375,5]]},"126":{"position":[[238,5],[255,5]]},"283":{"position":[[282,5]]}}}],["done",{"_index":836,"t":{"169":{"position":[[773,5]]},"173":{"position":[[577,5]]},"203":{"position":[[571,5]]}}}],["driven",{"_index":813,"t":{"167":{"position":[[347,6]]}}}],["due",{"_index":658,"t":{"124":{"position":[[236,4]]}}}],["durabl",{"_index":1185,"t":{"299":{"position":[[117,10],[530,7],[622,8]]},"301":{"position":[[35,7],[91,7],[206,7],[308,7],[362,7],[451,7]]}}}],["dure",{"_index":151,"t":{"12":{"position":[[11,6]]},"40":{"position":[[529,6]]},"82":{"position":[[655,6]]},"106":{"position":[[0,6]]},"185":{"position":[[152,6]]},"189":{"position":[[134,6]]},"197":{"position":[[0,6]]},"203":{"position":[[0,6]]},"211":{"position":[[67,6]]},"213":{"position":[[19,6],[316,6]]},"215":{"position":[[42,6]]},"246":{"position":[[319,6]]},"348":{"position":[[294,6]]}}}],["dynam",{"_index":1148,"t":{"285":{"position":[[19,11]]},"354":{"position":[[580,7]]}}}],["e.g",{"_index":554,"t":{"106":{"position":[[109,6],[330,6]]},"118":{"position":[[301,5],[660,5]]},"177":{"position":[[69,6]]},"181":{"position":[[145,6]]},"221":{"position":[[189,5]]},"303":{"position":[[39,5]]},"360":{"position":[[35,6]]}}}],["each",{"_index":500,"t":{"82":{"position":[[302,4]]},"167":{"position":[[195,4]]},"175":{"position":[[375,4]]},"207":{"position":[[16,4]]},"289":{"position":[[305,4]]},"299":{"position":[[19,4],[155,4]]}}}],["easi",{"_index":1097,"t":{"258":{"position":[[345,4]]}}}],["easiest",{"_index":513,"t":{"84":{"position":[[28,7]]}}}],["echo",{"_index":1049,"t":{"244":{"position":[[146,5]]}}}],["edit",{"_index":555,"t":{"106":{"position":[[130,7]]},"199":{"position":[[112,6]]},"203":{"position":[[136,6]]},"211":{"position":[[51,6],[217,7]]},"246":{"position":[[129,4]]},"289":{"position":[[253,4]]}}}],["edit_fil",{"_index":860,"t":{"175":{"position":[[260,10]]},"179":{"position":[[225,9]]},"201":{"position":[[57,9]]},"205":{"position":[[247,9]]},"217":{"position":[[180,9]]}}}],["effect",{"_index":1104,"t":{"265":{"position":[[108,9]]},"346":{"position":[[735,8]]},"362":{"position":[[203,8]]}}}],["elaps",{"_index":1292,"t":{"346":{"position":[[452,7],[547,7]]},"352":{"position":[[381,7]]}}}],["elev",{"_index":1061,"t":{"246":{"position":[[225,10]]},"322":{"position":[[110,8]]}}}],["email",{"_index":605,"t":{"116":{"position":[[239,5]]},"131":{"position":[[527,5]]}}}],["emerg",{"_index":267,"t":{"28":{"position":[[26,10]]},"171":{"position":[[597,10]]}}}],["empti",{"_index":42,"t":{"4":{"position":[[389,6]]}}}],["enabl",{"_index":192,"t":{"14":{"position":[[643,6]]},"68":{"position":[[618,7],[647,6],[792,6]]},"78":{"position":[[487,6]]},"82":{"position":[[639,6]]},"153":{"position":[[94,6]]},"181":{"position":[[65,8]]},"213":{"position":[[252,6]]},"277":{"position":[[55,6]]},"287":{"position":[[58,6],[301,7]]},"297":{"position":[[85,8]]},"309":{"position":[[16,7]]}}}],["enable/dis",{"_index":887,"t":{"181":{"position":[[288,14]]},"213":{"position":[[195,14]]}}}],["endpoint",{"_index":595,"t":{"110":{"position":[[410,8]]},"122":{"position":[[389,8]]},"161":{"position":[[352,10]]},"169":{"position":[[170,9],[257,10],[681,10]]},"179":{"position":[[502,9]]},"265":{"position":[[311,8]]},"275":{"position":[[76,8],[231,8],[337,9]]},"283":{"position":[[164,8]]}}}],["energi",{"_index":758,"t":{"149":{"position":[[200,6]]}}}],["enforc",{"_index":1088,"t":{"258":{"position":[[28,8]]}}}],["enhanc",{"_index":768,"t":{"153":{"position":[[51,11]]}}}],["enotempti",{"_index":33,"t":{"4":{"position":[[243,9],[339,9],[364,10]]}}}],["enough",{"_index":848,"t":{"173":{"position":[[285,6]]},"177":{"position":[[215,6]]}}}],["ensur",{"_index":56,"t":{"6":{"position":[[77,6]]},"84":{"position":[[131,7]]},"189":{"position":[[374,7]]}}}],["enter",{"_index":80,"t":{"6":{"position":[[526,5]]},"8":{"position":[[83,5]]},"38":{"position":[[135,5],[187,5]]},"40":{"position":[[256,5]]},"82":{"position":[[584,5],[1035,5]]},"94":{"position":[[8,5]]},"100":{"position":[[93,5],[406,5]]},"120":{"position":[[106,5],[298,5]]},"133":{"position":[[117,6],[242,5]]},"189":{"position":[[331,7]]},"271":{"position":[[204,5]]},"281":{"position":[[156,5]]},"289":{"position":[[23,5]]},"354":{"position":[[98,5]]}}}],["env",{"_index":1051,"t":{"244":{"position":[[157,4]]},"289":{"position":[[323,3]]}}}],["environ",{"_index":132,"t":{"10":{"position":[[77,12]]},"181":{"position":[[217,11]]},"289":{"position":[[219,11],[283,11]]},"309":{"position":[[51,11]]},"332":{"position":[[347,13]]}}}],["ephemer",{"_index":942,"t":{"203":{"position":[[392,9]]},"209":{"position":[[76,9]]},"211":{"position":[[509,9]]},"356":{"position":[[102,9]]}}}],["episod",{"_index":1028,"t":{"231":{"position":[[458,8]]},"301":{"position":[[393,7]]}}}],["equal",{"_index":1216,"t":{"303":{"position":[[123,6]]}}}],["equival",{"_index":1039,"t":{"239":{"position":[[116,10]]}}}],["error",{"_index":34,"t":{"4":{"position":[[253,6]]},"163":{"position":[[45,5],[142,6]]},"312":{"position":[[40,6],[377,6]]}}}],["error.log",{"_index":435,"t":{"68":{"position":[[344,9]]}}}],["esc",{"_index":323,"t":{"40":{"position":[[21,3]]},"98":{"position":[[196,3]]},"151":{"position":[[121,3]]},"332":{"position":[[179,3]]},"338":{"position":[[116,5]]}}}],["escal",{"_index":558,"t":{"106":{"position":[[166,8]]}}}],["escap",{"_index":650,"t":{"122":{"position":[[368,6]]}}}],["etc",{"_index":150,"t":{"10":{"position":[[302,5]]},"265":{"position":[[177,4]]}}}],["evalu",{"_index":1085,"t":{"254":{"position":[[94,8]]},"350":{"position":[[172,9]]}}}],["even",{"_index":275,"t":{"28":{"position":[[328,4]]},"171":{"position":[[1153,4]]}}}],["event",{"_index":1208,"t":{"301":{"position":[[417,6]]}}}],["everyth",{"_index":361,"t":{"48":{"position":[[33,11]]},"171":{"position":[[1001,10]]},"203":{"position":[[64,10]]},"207":{"position":[[279,10]]},"235":{"position":[[198,10]]}}}],["exactli",{"_index":690,"t":{"131":{"position":[[254,7]]}}}],["exampl",{"_index":600,"t":{"114":{"position":[[92,8]]},"289":{"position":[[374,8]]}}}],["exceed",{"_index":1094,"t":{"258":{"position":[[159,9]]}}}],["except",{"_index":613,"t":{"118":{"position":[[153,6]]},"161":{"position":[[331,6]]},"246":{"position":[[102,7]]}}}],["exchang",{"_index":1145,"t":{"283":{"position":[[45,9]]},"287":{"position":[[247,8]]},"348":{"position":[[216,9]]}}}],["execut",{"_index":208,"t":{"18":{"position":[[134,7],[152,7],[212,7],[298,7]]},"36":{"position":[[337,7]]},"58":{"position":[[38,9]]},"96":{"position":[[108,7]]},"98":{"position":[[40,7]]},"167":{"position":[[265,9]]},"173":{"position":[[317,10]]},"183":{"position":[[142,7],[150,7]]},"185":{"position":[[165,8]]},"195":{"position":[[526,7]]},"221":{"position":[[41,7]]},"242":{"position":[[45,8]]},"246":{"position":[[326,10]]},"252":{"position":[[515,9]]},"328":{"position":[[81,9]]},"332":{"position":[[171,7]]},"342":{"position":[[69,10]]},"346":{"position":[[487,9]]},"352":{"position":[[251,10],[277,9]]}}}],["exist",{"_index":512,"t":{"82":{"position":[[975,8]]},"189":{"position":[[269,5],[447,7]]},"217":{"position":[[86,8]]},"269":{"position":[[9,8]]}}}],["exit",{"_index":149,"t":{"10":{"position":[[296,5]]},"18":{"position":[[235,4]]},"20":{"position":[[107,4],[112,4]]},"36":{"position":[[80,4]]},"40":{"position":[[34,4]]},"56":{"position":[[269,5]]},"88":{"position":[[110,5]]},"98":{"position":[[223,4],[260,4]]},"102":{"position":[[416,4],[421,4]]},"147":{"position":[[171,4]]},"151":{"position":[[127,4]]},"332":{"position":[[192,4]]}}}],["expand",{"_index":538,"t":{"100":{"position":[[70,6]]},"340":{"position":[[0,8]]},"362":{"position":[[450,8]]}}}],["experi",{"_index":1209,"t":{"301":{"position":[[428,11]]}}}],["expir",{"_index":621,"t":{"118":{"position":[[333,10],[692,10]]},"157":{"position":[[263,7],[299,7]]},"163":{"position":[[425,7]]},"273":{"position":[[249,6]]},"283":{"position":[[288,6]]}}}],["explicit",{"_index":545,"t":{"104":{"position":[[24,8]]},"362":{"position":[[404,8]]}}}],["explicitli",{"_index":873,"t":{"177":{"position":[[326,11]]},"305":{"position":[[9,10]]}}}],["explor",{"_index":325,"t":{"40":{"position":[[55,9],[78,8],[100,8],[180,8]]},"98":{"position":[[66,8],[166,8],[210,8],[243,9]]},"100":{"position":[[18,8],[46,8],[84,8]]},"102":{"position":[[146,9]]},"330":{"position":[[105,9]]}}}],["exponenti",{"_index":375,"t":{"56":{"position":[[187,11]]},"68":{"position":[[1158,11]]},"86":{"position":[[202,11]]}}}],["express",{"_index":1165,"t":{"291":{"position":[[38,11]]},"346":{"position":[[705,12]]},"362":{"position":[[173,12]]}}}],["extend",{"_index":702,"t":{"131":{"position":[[688,8]]}}}],["extens",{"_index":1246,"t":{"314":{"position":[[26,10]]}}}],["extern",{"_index":660,"t":{"126":{"position":[[125,8]]},"161":{"position":[[186,11]]}}}],["extract",{"_index":1177,"t":{"297":{"position":[[111,9]]},"299":{"position":[[0,10]]},"309":{"position":[[272,11]]},"312":{"position":[[282,10]]}}}],["ey",{"_index":1338,"t":{"362":{"position":[[143,4]]}}}],["f",{"_index":64,"t":{"6":{"position":[[270,1]]},"46":{"position":[[155,2]]},"68":{"position":[[1410,2]]},"74":{"position":[[113,2]]},"88":{"position":[[240,2]]}}}],["fact",{"_index":1179,"t":{"297":{"position":[[143,5]]},"299":{"position":[[56,5]]},"309":{"position":[[231,4]]}}}],["fail",{"_index":419,"t":{"66":{"position":[[131,7]]},"82":{"position":[[554,6]]},"135":{"position":[[213,6]]},"252":{"position":[[222,7]]},"258":{"position":[[169,6],[213,7]]},"260":{"position":[[108,6]]},"287":{"position":[[256,6]]},"312":{"position":[[213,5]]}}}],["failur",{"_index":443,"t":{"68":{"position":[[697,7]]},"78":{"position":[[361,8]]}}}],["fall",{"_index":774,"t":{"153":{"position":[[191,5]]},"260":{"position":[[66,5]]},"309":{"position":[[201,5]]},"312":{"position":[[250,5]]}}}],["fallback",{"_index":146,"t":{"10":{"position":[[274,9]]},"98":{"position":[[346,9]]}}}],["fals",{"_index":384,"t":{"56":{"position":[[372,5]]},"68":{"position":[[212,5]]},"213":{"position":[[227,5]]},"277":{"position":[[49,5]]},"287":{"position":[[52,5]]},"309":{"position":[[145,5]]},"350":{"position":[[413,5]]}}}],["famili",{"_index":1273,"t":{"334":{"position":[[23,6]]}}}],["fast",{"_index":274,"t":{"28":{"position":[[232,4]]},"171":{"position":[[1224,4]]}}}],["featur",{"_index":675,"t":{"128":{"position":[[279,8]]},"163":{"position":[[100,8]]},"195":{"position":[[831,8]]},"211":{"position":[[0,7]]}}}],["feedback",{"_index":750,"t":{"147":{"position":[[205,8]]},"338":{"position":[[50,9]]}}}],["fetch",{"_index":116,"t":{"8":{"position":[[247,7]]},"82":{"position":[[326,7],[508,8]]},"122":{"position":[[107,5]]},"163":{"position":[[542,5]]},"225":{"position":[[37,5]]},"271":{"position":[[256,7]]},"275":{"position":[[11,7]]},"281":{"position":[[208,7]]},"285":{"position":[[11,7]]}}}],["fetch_url",{"_index":876,"t":{"179":{"position":[[255,10]]},"225":{"position":[[27,9]]}}}],["fi",{"_index":739,"t":{"145":{"position":[[102,2]]}}}],["field",{"_index":104,"t":{"8":{"position":[[96,5]]},"112":{"position":[[47,7]]},"120":{"position":[[311,5]]},"133":{"position":[[261,5]]},"354":{"position":[[253,6]]}}}],["file",{"_index":222,"t":{"20":{"position":[[177,4],[237,4],[309,6],[323,4]]},"28":{"position":[[122,4]]},"40":{"position":[[230,4],[276,4]]},"44":{"position":[[99,4],[187,5]]},"50":{"position":[[99,5]]},"56":{"position":[[73,4],[309,5]]},"86":{"position":[[149,5]]},"100":{"position":[[113,4],[396,5],[427,4]]},"102":{"position":[[91,4],[206,4],[278,6],[292,4]]},"106":{"position":[[345,7]]},"110":{"position":[[235,5]]},"126":{"position":[[206,4]]},"161":{"position":[[209,4]]},"167":{"position":[[522,4]]},"171":{"position":[[704,4],[901,4],[951,4]]},"175":{"position":[[686,4],[718,5]]},"187":{"position":[[97,4]]},"207":{"position":[[133,4]]},"211":{"position":[[270,4]]},"217":{"position":[[44,4],[95,4],[139,4],[219,4],[312,4],[337,4]]},"223":{"position":[[63,4],[113,5]]},"237":{"position":[[24,4],[84,4]]},"244":{"position":[[127,5]]},"248":{"position":[[41,4],[85,5]]},"309":{"position":[[107,5]]},"358":{"position":[[29,4]]},"364":{"position":[[80,6]]}}}],["filesystem",{"_index":1033,"t":{"235":{"position":[[494,10]]}}}],["file|al",{"_index":227,"t":{"20":{"position":[[218,10]]},"102":{"position":[[185,10]]}}}],["fill",{"_index":103,"t":{"8":{"position":[[69,7]]},"38":{"position":[[143,4]]},"112":{"position":[[23,4]]},"131":{"position":[[90,4]]}}}],["filter",{"_index":645,"t":{"122":{"position":[[190,6]]}}}],["find",{"_index":943,"t":{"203":{"position":[[496,4]]},"244":{"position":[[117,5]]},"358":{"position":[[146,5]]}}}],["fine",{"_index":615,"t":{"118":{"position":[[201,4]]}}}],["finish",{"_index":280,"t":{"28":{"position":[[444,7]]},"82":{"position":[[836,6]]},"205":{"position":[[24,8]]}}}],["first",{"_index":31,"t":{"4":{"position":[[226,5]]},"40":{"position":[[428,5]]},"76":{"position":[[32,5]]},"82":{"position":[[20,5],[662,5]]},"84":{"position":[[293,6]]},"96":{"position":[[74,6]]},"133":{"position":[[41,5]]},"155":{"position":[[246,6]]},"187":{"position":[[65,5]]},"189":{"position":[[71,5],[235,5]]},"191":{"position":[[45,5]]},"193":{"position":[[145,5]]},"235":{"position":[[320,5],[387,5]]},"271":{"position":[[23,5]]},"281":{"position":[[23,5]]},"316":{"position":[[3,5]]},"340":{"position":[[201,5]]},"352":{"position":[[142,5]]}}}],["five",{"_index":577,"t":{"108":{"position":[[183,4]]}}}],["fix",{"_index":39,"t":{"4":{"position":[[349,3]]},"312":{"position":[[156,3]]},"348":{"position":[[313,5]]},"362":{"position":[[212,5],[354,5]]}}}],["flight",{"_index":244,"t":{"24":{"position":[[168,6]]},"104":{"position":[[149,6]]},"171":{"position":[[504,6]]}}}],["flip",{"_index":952,"t":{"207":{"position":[[415,5]]},"239":{"position":[[64,5]]}}}],["flood",{"_index":922,"t":{"197":{"position":[[165,5]]}}}],["flow",{"_index":127,"t":{"8":{"position":[[383,4]]},"26":{"position":[[114,5]]},"82":{"position":[[715,5]]},"137":{"position":[[117,4]]},"149":{"position":[[18,4]]},"163":{"position":[[377,5]]},"189":{"position":[[129,4]]},"262":{"position":[[234,4]]},"267":{"position":[[69,4]]},"273":{"position":[[34,4],[51,4]]},"283":{"position":[[34,4]]},"289":{"position":[[134,4]]},"328":{"position":[[64,5]]},"332":{"position":[[272,5]]},"346":{"position":[[90,4]]},"348":{"position":[[50,5],[193,4]]},"358":{"position":[[84,5]]}}}],["fo",{"_index":460,"t":{"68":{"position":[[1332,3]]},"74":{"position":[[35,3]]}}}],["focu",{"_index":328,"t":{"40":{"position":[[94,5],[122,5],[173,6]]},"98":{"position":[[60,5],[87,5],[159,6]]},"100":{"position":[[0,5]]},"102":{"position":[[118,5],[131,5]]},"177":{"position":[[243,5]]},"354":{"position":[[428,5]]}}}],["focus",{"_index":523,"t":{"92":{"position":[[63,7]]},"328":{"position":[[14,7]]}}}],["fold",{"_index":930,"t":{"199":{"position":[[349,6]]}}}],["folder",{"_index":539,"t":{"100":{"position":[[77,6]]}}}],["follow",{"_index":1205,"t":{"301":{"position":[[342,6]]},"322":{"position":[[62,6]]},"362":{"position":[[148,6]]}}}],["forc",{"_index":1087,"t":{"254":{"position":[[249,6]]},"258":{"position":[[269,6]]}}}],["foreground",{"_index":60,"t":{"6":{"position":[[207,10],[227,10]]},"46":{"position":[[16,10]]},"76":{"position":[[212,10],[245,11]]},"88":{"position":[[16,10]]},"352":{"position":[[56,10]]}}}],["format",{"_index":285,"t":{"30":{"position":[[114,6],[166,6]]},"82":{"position":[[489,6]]},"120":{"position":[[131,8],[284,7]]},"195":{"position":[[752,9]]},"211":{"position":[[366,10]]},"356":{"position":[[263,9]]}}}],["four",{"_index":596,"t":{"112":{"position":[[35,4]]}}}],["fox",{"_index":390,"t":{"60":{"position":[[51,4]]},"104":{"position":[[306,4]]}}}],["free",{"_index":678,"t":{"128":{"position":[[341,4]]},"163":{"position":[[123,4],[197,4]]}}}],["fresh",{"_index":368,"t":{"52":{"position":[[63,5]]},"163":{"position":[[474,5]]},"193":{"position":[[564,6]]},"199":{"position":[[521,5]]},"330":{"position":[[625,5]]}}}],["friendli",{"_index":388,"t":{"60":{"position":[[27,8]]},"104":{"position":[[280,8]]}}}],["full",{"_index":17,"t":{"4":{"position":[[61,4]]},"6":{"position":[[720,4]]},"14":{"position":[[35,4]]},"28":{"position":[[158,4]]},"30":{"position":[[161,4]]},"94":{"position":[[255,4]]},"110":{"position":[[344,4]]},"118":{"position":[[725,5]]},"171":{"position":[[659,4],[740,4]]},"179":{"position":[[451,4]]},"344":{"position":[[199,4]]},"348":{"position":[[32,4]]},"362":{"position":[[0,4]]}}}],["fundament",{"_index":802,"t":{"165":{"position":[[206,14]]}}}],["further",{"_index":841,"t":{"171":{"position":[[924,7]]}}}],["g",{"_index":6,"t":{"2":{"position":[[55,1]]},"4":{"position":[[423,1]]}}}],["gain",{"_index":905,"t":{"189":{"position":[[412,4]]}}}],["gate",{"_index":1280,"t":{"338":{"position":[[173,5]]},"340":{"position":[[142,6]]}}}],["gemini",{"_index":1151,"t":{"285":{"position":[[152,6]]}}}],["gener",{"_index":219,"t":{"20":{"position":[[144,7]]},"78":{"position":[[149,9]]},"102":{"position":[[449,7]]},"118":{"position":[[556,8],[770,8]]},"299":{"position":[[383,9]]},"301":{"position":[[466,9]]},"305":{"position":[[159,9]]}}}],["get",{"_index":160,"t":{"14":{"position":[[57,4]]},"250":{"position":[[108,7]]}}}],["git",{"_index":224,"t":{"20":{"position":[[191,3],[341,3]]},"40":{"position":[[128,3]]},"98":{"position":[[93,3],[145,3]]},"100":{"position":[[367,3],[402,3]]},"102":{"position":[[103,3],[162,4],[357,3]]},"237":{"position":[[182,3]]},"244":{"position":[[203,3],[215,3],[225,3],[234,3],[246,3],[256,3]]},"330":{"position":[[124,3]]},"358":{"position":[[158,3],[170,3],[183,3]]}}}],["git_add",{"_index":985,"t":{"223":{"position":[[99,7]]}}}],["git_commit",{"_index":654,"t":{"124":{"position":[[32,11]]},"223":{"position":[[119,10]]}}}],["git_diff",{"_index":983,"t":{"223":{"position":[[49,8]]}}}],["git_log",{"_index":984,"t":{"223":{"position":[[76,7]]}}}],["git_push",{"_index":986,"t":{"223":{"position":[[146,8]]}}}],["git_statu",{"_index":982,"t":{"223":{"position":[[18,10]]}}}],["github",{"_index":569,"t":{"108":{"position":[[24,6],[188,6],[353,6]]},"110":{"position":[[403,6]]},"112":{"position":[[40,6]]},"114":{"position":[[5,6]]},"116":{"position":[[209,7]]},"118":{"position":[[54,6]]},"120":{"position":[[379,6]]},"122":{"position":[[345,6]]},"126":{"position":[[17,6],[156,6]]},"267":{"position":[[232,6],[254,6]]},"279":{"position":[[9,6],[82,6]]},"281":{"position":[[56,6],[137,6]]},"283":{"position":[[59,6],[262,6]]},"285":{"position":[[220,6]]},"287":{"position":[[69,6],[172,6],[210,6],[286,6]]},"289":{"position":[[107,6]]},"344":{"position":[[56,6]]},"346":{"position":[[111,6],[154,6]]},"348":{"position":[[151,6]]}}}],["github'",{"_index":614,"t":{"118":{"position":[[160,8]]},"124":{"position":[[185,8]]},"283":{"position":[[18,8]]}}}],["github.com",{"_index":1147,"t":{"283":{"position":[[332,10]]}}}],["github.com/settings/person",{"_index":618,"t":{"118":{"position":[[239,28]]}}}],["github.com/settings/tokens/new",{"_index":628,"t":{"118":{"position":[[614,30]]}}}],["github_api",{"_index":593,"t":{"110":{"position":[[366,10]]},"122":{"position":[[330,10]]}}}],["github_copilot_en",{"_index":1157,"t":{"287":{"position":[[29,22]]}}}],["github_copilot_model",{"_index":1158,"t":{"287":{"position":[[93,20]]}}}],["github_email",{"_index":607,"t":{"116":{"position":[[275,12]]}}}],["github_token",{"_index":584,"t":{"108":{"position":[[383,12]]}}}],["give",{"_index":620,"t":{"118":{"position":[[286,4],[645,4]]},"124":{"position":[[211,6]]},"135":{"position":[[265,4]]}}}],["global",{"_index":35,"t":{"4":{"position":[[288,8]]}}}],["glow",{"_index":1300,"t":{"346":{"position":[[730,4]]}}}],["go",{"_index":517,"t":{"86":{"position":[[110,2]]},"118":{"position":[[233,2],[608,2]]},"131":{"position":[[0,2],[465,2]]}}}],["goal",{"_index":1180,"t":{"297":{"position":[[179,6]]},"301":{"position":[[125,4]]}}}],["goe",{"_index":840,"t":{"171":{"position":[[919,4]]}}}],["googl",{"_index":1155,"t":{"285":{"position":[[289,6]]}}}],["gpt",{"_index":1105,"t":{"265":{"position":[[125,3],[152,3],[165,3],[333,3],[409,3]]},"267":{"position":[[168,3],[247,3]]},"275":{"position":[[94,3],[103,3],[112,3],[126,3],[141,3],[282,3]]},"277":{"position":[[105,3]]},"285":{"position":[[96,3],[104,3],[130,3],[139,3]]},"287":{"position":[[114,3]]}}}],["grain",{"_index":616,"t":{"118":{"position":[[206,7]]}}}],["grant",{"_index":624,"t":{"118":{"position":[[462,6]]},"131":{"position":[[433,5]]}}}],["grep",{"_index":1037,"t":{"237":{"position":[[176,5]]},"244":{"position":[[107,5]]},"358":{"position":[[152,5]]}}}],["grok",{"_index":496,"t":{"82":{"position":[[223,5]]},"265":{"position":[[262,4],[273,4]]}}}],["grok_api_key",{"_index":1115,"t":{"265":{"position":[[280,12]]}}}],["group",{"_index":907,"t":{"189":{"position":[[621,6]]},"348":{"position":[[288,5]]}}}],["grow",{"_index":1176,"t":{"297":{"position":[[49,5]]}}}],["guidanc",{"_index":1282,"t":{"340":{"position":[[188,8]]}}}],["guidelin",{"_index":1309,"t":{"350":{"position":[[297,10]]}}}],["habit",{"_index":1181,"t":{"297":{"position":[[196,7]]},"301":{"position":[[200,5]]}}}],["haiku",{"_index":1112,"t":{"265":{"position":[[250,6]]}}}],["halt",{"_index":266,"t":{"28":{"position":[[20,5],[260,6]]},"171":{"position":[[591,5],[608,4],[670,4],[814,5],[839,5],[1114,6]]},"173":{"position":[[206,4]]}}}],["hand",{"_index":765,"t":{"149":{"position":[[403,5]]}}}],["handl",{"_index":16,"t":{"4":{"position":[[49,7]]},"76":{"position":[[304,6]]},"128":{"position":[[235,7]]},"165":{"position":[[88,6]]},"356":{"position":[[203,9]]}}}],["handoff",{"_index":1275,"t":{"334":{"position":[[163,7]]}}}],["happen",{"_index":921,"t":{"197":{"position":[[148,10]]}}}],["hard",{"_index":1092,"t":{"258":{"position":[[139,4]]}}}],["hatch",{"_index":651,"t":{"122":{"position":[[375,5]]}}}],["head",{"_index":639,"t":{"122":{"position":[[68,4]]},"244":{"position":[[95,5]]}}}],["header",{"_index":1324,"t":{"354":{"position":[[625,7]]}}}],["heartbeat",{"_index":557,"t":{"106":{"position":[[147,9]]},"231":{"position":[[212,10]]},"352":{"position":[[67,9]]}}}],["help",{"_index":92,"t":{"6":{"position":[[706,4]]},"14":{"position":[[20,5]]},"20":{"position":[[358,4]]},"110":{"position":[[82,5]]},"195":{"position":[[138,5],[697,4],[710,5]]},"356":{"position":[[82,4],[222,4]]}}}],["here",{"_index":709,"t":{"135":{"position":[[410,5]]}}}],["hero",{"_index":1296,"t":{"346":{"position":[[646,4]]},"362":{"position":[[128,4]]}}}],["heron",{"_index":394,"t":{"60":{"position":[[76,5]]}}}],["hidden",{"_index":1315,"t":{"352":{"position":[[181,6]]}}}],["higher",{"_index":1214,"t":{"303":{"position":[[92,6]]}}}],["highest",{"_index":1223,"t":{"305":{"position":[[34,8]]}}}],["histori",{"_index":656,"t":{"124":{"position":[[201,7]]},"223":{"position":[[91,7]]},"346":{"position":[[497,8]]},"352":{"position":[[287,7]]}}}],["hit",{"_index":594,"t":{"110":{"position":[[395,3]]}}}],["hook",{"_index":1278,"t":{"336":{"position":[[220,5]]}}}],["hostnam",{"_index":1055,"t":{"244":{"position":[[186,9]]}}}],["hotheadhack",{"_index":601,"t":{"114":{"position":[[101,13]]}}}],["hotheadhacker/mercuri",{"_index":631,"t":{"120":{"position":[[140,21]]}}}],["hour",{"_index":1173,"t":{"295":{"position":[[56,5]]}}}],["html",{"_index":959,"t":{"211":{"position":[[361,4],[433,4]]},"225":{"position":[[68,5]]}}}],["http://127.0.0.1:8888/callback",{"_index":689,"t":{"131":{"position":[[205,30]]}}}],["https://example.com/mi",{"_index":1252,"t":{"318":{"position":[[50,22]]}}}],["https://github.com/hotheadhacker/mercuri",{"_index":632,"t":{"120":{"position":[[168,40]]}}}],["human",{"_index":387,"t":{"60":{"position":[[21,5]]},"360":{"position":[[0,5]]}}}],["i'll",{"_index":853,"t":{"173":{"position":[[551,4]]}}}],["i'v",{"_index":826,"t":{"169":{"position":[[374,4]]}}}],["id",{"_index":217,"t":{"18":{"position":[[449,3]]},"20":{"position":[[94,3],[127,3]]},"22":{"position":[[136,4],[182,4]]},"24":{"position":[[229,4],[289,4],[336,4]]},"26":{"position":[[327,4]]},"32":{"position":[[260,4],[323,4],[379,4],[436,4]]},"60":{"position":[[36,3]]},"62":{"position":[[55,4],[83,4],[101,5],[116,5]]},"92":{"position":[[23,3]]},"104":{"position":[[239,4],[271,4],[322,4],[369,4],[385,4]]},"131":{"position":[[317,2]]},"133":{"position":[[139,2],[161,2]]},"137":{"position":[[407,4]]},"155":{"position":[[307,3],[322,2]]},"157":{"position":[[198,3]]},"161":{"position":[[39,2]]},"171":{"position":[[143,4],[189,4]]},"173":{"position":[[243,2]]},"193":{"position":[[193,2]]},"195":{"position":[[855,3]]},"328":{"position":[[60,3]]},"330":{"position":[[91,3]]},"336":{"position":[[135,5],[152,5]]},"360":{"position":[[31,3],[89,4]]}}}],["ident",{"_index":564,"t":{"106":{"position":[[295,9]]},"301":{"position":[[26,8]]}}}],["identif",{"_index":1098,"t":{"258":{"position":[[350,15]]}}}],["identifi",{"_index":599,"t":{"114":{"position":[[62,11]]}}}],["idl",{"_index":797,"t":{"163":{"position":[[444,4]]}}}],["id|al",{"_index":232,"t":{"22":{"position":[[78,8]]},"171":{"position":[[85,8]]}}}],["ignor",{"_index":908,"t":{"189":{"position":[[651,8]]}}}],["immedi",{"_index":278,"t":{"28":{"position":[[392,11]]},"118":{"position":[[583,11],[797,11]]},"171":{"position":[[400,11],[1207,11]]}}}],["implement",{"_index":209,"t":{"18":{"position":[[165,10]]},"96":{"position":[[118,14]]},"183":{"position":[[158,9]]},"350":{"position":[[0,11]]},"356":{"position":[[0,11]]}}}],["import",{"_index":1184,"t":{"299":{"position":[[101,11]]}}}],["improv",{"_index":1265,"t":{"330":{"position":[[35,8]]},"332":{"position":[[60,8],[207,8],[305,7]]},"344":{"position":[[179,13]]},"354":{"position":[[551,8]]}}}],["includ",{"_index":12,"t":{"4":{"position":[[8,8]]},"56":{"position":[[115,8]]},"86":{"position":[[173,8]]},"92":{"position":[[8,8]]},"116":{"position":[[44,8]]},"250":{"position":[[8,8]]},"275":{"position":[[85,8]]},"285":{"position":[[68,8]]},"342":{"position":[[13,8]]},"352":{"position":[[373,7]]},"364":{"position":[[13,8]]}}}],["inclus",{"_index":1301,"t":{"348":{"position":[[331,9]]}}}],["increas",{"_index":1311,"t":{"350":{"position":[[363,9]]}}}],["independ",{"_index":828,"t":{"169":{"position":[[493,14]]},"175":{"position":[[477,11]]},"177":{"position":[[258,11]]}}}],["indic",{"_index":944,"t":{"203":{"position":[[514,9]]},"211":{"position":[[237,10]]},"354":{"position":[[604,10]]}}}],["infer",{"_index":1193,"t":{"299":{"position":[[490,8]]},"305":{"position":[[55,8]]}}}],["info",{"_index":751,"t":{"147":{"position":[[225,4]]},"157":{"position":[[172,4]]},"159":{"position":[[51,5]]},"229":{"position":[[64,4],[467,4]]},"362":{"position":[[272,8]]}}}],["initi",{"_index":906,"t":{"189":{"position":[[417,7]]},"213":{"position":[[44,7]]}}}],["inject",{"_index":1189,"t":{"299":{"position":[[228,8]]}}}],["ink",{"_index":518,"t":{"88":{"position":[[75,3]]},"330":{"position":[[4,3]]}}}],["inlin",{"_index":142,"t":{"10":{"position":[[237,6]]},"153":{"position":[[17,6]]},"185":{"position":[[293,6]]},"187":{"position":[[111,6]]},"203":{"position":[[402,6]]},"207":{"position":[[56,6],[199,6]]},"211":{"position":[[438,6]]},"225":{"position":[[533,6]]},"235":{"position":[[347,6]]},"256":{"position":[[118,6]]},"307":{"position":[[83,6],[150,6],[282,6],[345,6],[422,6]]},"330":{"position":[[437,6]]},"338":{"position":[[179,6]]},"350":{"position":[[73,6]]}}}],["input",{"_index":309,"t":{"36":{"position":[[249,6]]},"38":{"position":[[181,5],[199,5]]},"98":{"position":[[314,6]]},"332":{"position":[[322,5]]},"354":{"position":[[126,5],[187,5],[247,5],[560,5]]},"364":{"position":[[124,6]]}}}],["insert",{"_index":306,"t":{"36":{"position":[[222,6]]},"98":{"position":[[287,6],[331,6]]}}}],["insid",{"_index":474,"t":{"76":{"position":[[257,6]]},"151":{"position":[[0,6]]}}}],["insight",{"_index":1210,"t":{"301":{"position":[[476,8]]}}}],["inspect",{"_index":408,"t":{"62":{"position":[[25,7]]},"104":{"position":[[186,7]]}}}],["instal",{"_index":4,"t":{"2":{"position":[[30,7],[99,11]]},"4":{"position":[[260,8],[509,10]]},"6":{"position":[[44,7],[780,7],[788,7]]},"14":{"position":[[495,9]]},"48":{"position":[[45,8]]},"68":{"position":[[36,7],[527,7],[1005,7]]},"78":{"position":[[0,7],[110,7]]},"84":{"position":[[69,8],[263,9],[281,8]]},"225":{"position":[[102,7],[162,9]]},"231":{"position":[[302,9]]},"318":{"position":[[30,8]]},"330":{"position":[[631,9]]}}}],["install_skil",{"_index":990,"t":{"225":{"position":[[88,13]]}}}],["instanc",{"_index":299,"t":{"34":{"position":[[151,8]]},"195":{"position":[[129,8]]},"265":{"position":[[448,8]]}}}],["instead",{"_index":46,"t":{"4":{"position":[[455,7]]},"60":{"position":[[82,7]]},"82":{"position":[[598,7]]},"199":{"position":[[377,7]]},"252":{"position":[[0,7]]}}}],["integr",{"_index":687,"t":{"131":{"position":[[179,11]]},"169":{"position":[[43,11],[230,11],[730,11]]},"179":{"position":[[553,11]]},"330":{"position":[[282,11]]},"336":{"position":[[28,11]]},"362":{"position":[[497,12]]}}}],["intellig",{"_index":1064,"t":{"250":{"position":[[20,11]]},"344":{"position":[[136,11]]}}}],["interact",{"_index":61,"t":{"6":{"position":[[238,13]]},"26":{"position":[[214,11]]},"76":{"position":[[411,11]]},"88":{"position":[[182,11]]},"137":{"position":[[289,11]]},"147":{"position":[[40,11]]},"330":{"position":[[14,11]]},"344":{"position":[[235,11]]},"346":{"position":[[617,11]]},"352":{"position":[[514,12]]},"354":{"position":[[286,11],[320,13]]},"358":{"position":[[0,11]]},"362":{"position":[[88,11]]}}}],["interfac",{"_index":301,"t":{"36":{"position":[[41,10]]},"86":{"position":[[94,10]]},"88":{"position":[[83,10]]},"187":{"position":[[71,9]]}}}],["interrupt",{"_index":418,"t":{"66":{"position":[[92,11]]},"207":{"position":[[311,14]]},"235":{"position":[[230,14]]},"252":{"position":[[350,12]]},"334":{"position":[[174,11]]}}}],["introduc",{"_index":1272,"t":{"334":{"position":[[0,10]]}}}],["investig",{"_index":872,"t":{"177":{"position":[[270,14]]}}}],["invok",{"_index":993,"t":{"225":{"position":[[196,6]]}}}],["involv",{"_index":892,"t":{"185":{"position":[[87,8]]}}}],["isn't",{"_index":370,"t":{"52":{"position":[[96,5]]},"84":{"position":[[257,5]]},"165":{"position":[[8,5]]}}}],["isol",{"_index":812,"t":{"167":{"position":[[318,8]]},"175":{"position":[[87,9],[153,9]]},"177":{"position":[[131,8]]},"227":{"position":[[69,8]]}}}],["issu",{"_index":574,"t":{"108":{"position":[[91,7]]},"110":{"position":[[193,5],[224,7]]},"118":{"position":[[526,6]]},"120":{"position":[[51,6]]},"122":{"position":[[197,6],[284,5]]},"163":{"position":[[0,5]]}}}],["it'",{"_index":363,"t":{"48":{"position":[[150,4]]},"84":{"position":[[139,4]]},"118":{"position":[[90,4]]},"124":{"position":[[231,4]]},"126":{"position":[[307,4]]},"165":{"position":[[31,4]]},"173":{"position":[[572,4]]},"185":{"position":[[288,4]]},"254":{"position":[[111,4]]}}}],["iterm",{"_index":773,"t":{"153":{"position":[[162,5]]},"338":{"position":[[228,5]]}}}],["itself",{"_index":785,"t":{"157":{"position":[[292,6]]},"167":{"position":[[375,6]]},"254":{"position":[[84,6]]}}}],["job",{"_index":879,"t":{"179":{"position":[[645,4]]}}}],["journalctl",{"_index":449,"t":{"68":{"position":[[848,10]]}}}],["jsonl",{"_index":1230,"t":{"309":{"position":[[243,7]]}}}],["keep",{"_index":81,"t":{"6":{"position":[[535,4]]},"8":{"position":[[105,4]]},"42":{"position":[[77,4]]},"66":{"position":[[169,4]]},"82":{"position":[[1044,4]]},"120":{"position":[[320,4]]},"133":{"position":[[270,4]]},"149":{"position":[[245,4],[338,5],[456,4]]},"167":{"position":[[455,4]]},"179":{"position":[[8,4]]},"197":{"position":[[87,5]]},"209":{"position":[[172,5]]}}}],["keepal",{"_index":430,"t":{"68":{"position":[[185,9]]},"78":{"position":[[284,9]]}}}],["key",{"_index":109,"t":{"8":{"position":[[163,4]]},"14":{"position":[[244,3]]},"26":{"position":[[250,3]]},"40":{"position":[[216,4]]},"82":{"position":[[313,4],[467,4],[594,3],[930,4],[988,4],[1083,3]]},"100":{"position":[[6,4]]},"137":{"position":[[319,3]]},"147":{"position":[[58,3]]},"185":{"position":[[266,3]]},"235":{"position":[[281,3]]},"265":{"position":[[27,3],[424,3]]},"267":{"position":[[83,3]]},"269":{"position":[[81,3]]},"289":{"position":[[33,4],[182,4],[344,4],[483,3]]},"307":{"position":[[63,3],[132,3],[188,3],[265,3],[327,3],[385,3]]},"354":{"position":[[79,3]]}}}],["keybind",{"_index":145,"t":{"10":{"position":[[263,10]]}}}],["keyboard",{"_index":901,"t":{"187":{"position":[[127,10]]},"203":{"position":[[409,8]]},"207":{"position":[[63,8],[206,9]]},"211":{"position":[[445,9]]},"235":{"position":[[354,8]]},"256":{"position":[[125,8]]},"330":{"position":[[152,8]]},"338":{"position":[[66,8]]},"354":{"position":[[447,8]]},"364":{"position":[[91,8]]}}}],["kill",{"_index":409,"t":{"62":{"position":[[111,4]]},"104":{"position":[[380,4]]}}}],["killal",{"_index":247,"t":{"24":{"position":[[366,7]]},"62":{"position":[[156,7]]},"104":{"position":[[415,7]]}}}],["killipi",{"_index":1289,"t":{"344":{"position":[[247,7]]},"346":{"position":[[629,7]]},"362":{"position":[[100,7]]}}}],["label",{"_index":646,"t":{"122":{"position":[[238,6],[308,7]]},"352":{"position":[[125,5]]},"362":{"position":[[323,5]]}}}],["land",{"_index":1288,"t":{"344":{"position":[[204,7]]},"346":{"position":[[670,7]]},"362":{"position":[[28,7]]}}}],["languag",{"_index":242,"t":{"24":{"position":[[98,8]]},"149":{"position":[[436,8]]},"171":{"position":[[438,8]]}}}],["last",{"_index":68,"t":{"6":{"position":[[390,4]]},"30":{"position":[[87,4],[141,4]]},"54":{"position":[[23,4]]},"106":{"position":[[247,4]]},"203":{"position":[[181,4],[266,5]]},"260":{"position":[[160,4]]}}}],["later",{"_index":345,"t":{"40":{"position":[[543,5]]},"159":{"position":[[88,6]]},"354":{"position":[[160,6]]}}}],["latest",{"_index":21,"t":{"4":{"position":[[129,6],[273,6]]},"199":{"position":[[131,6]]}}}],["launch",{"_index":748,"t":{"147":{"position":[[28,8]]}}}],["launchag",{"_index":425,"t":{"68":{"position":[[54,11],[263,12]]},"78":{"position":[[254,11]]}}}],["launchctl",{"_index":429,"t":{"68":{"position":[[154,9],[373,9],[441,9]]},"70":{"position":[[0,9],[68,9]]}}}],["layer",{"_index":1029,"t":{"233":{"position":[[14,7]]}}}],["layout",{"_index":1337,"t":{"362":{"position":[[80,7]]}}}],["learn",{"_index":1226,"t":{"307":{"position":[[250,8],[312,8]]}}}],["leav",{"_index":582,"t":{"108":{"position":[[294,7]]},"309":{"position":[[408,6]]}}}],["legitim",{"_index":904,"t":{"189":{"position":[[391,10]]},"350":{"position":[[432,10]]}}}],["let",{"_index":501,"t":{"82":{"position":[[362,4]]},"104":{"position":[[480,4]]},"108":{"position":[[254,7]]},"110":{"position":[[382,4]]},"185":{"position":[[192,4]]},"271":{"position":[[303,4]]},"281":{"position":[[258,4]]}}}],["level",{"_index":433,"t":{"68":{"position":[[257,5],[740,5]]},"262":{"position":[[290,5]]}}}],["librari",{"_index":726,"t":{"141":{"position":[[319,7]]},"229":{"position":[[610,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":426,"t":{"68":{"position":[[69,53],[388,52],[458,52]]},"70":{"position":[[15,52],[85,52]]}}}],["lifecycl",{"_index":1266,"t":{"330":{"position":[[272,9]]},"336":{"position":[[51,10],[210,9]]},"356":{"position":[[35,9]]}}}],["like",{"_index":1220,"t":{"303":{"position":[[170,7]]}}}],["limit",{"_index":129,"t":{"8":{"position":[[427,5]]},"68":{"position":[[1205,7],[1229,8]]},"128":{"position":[[497,11]]},"229":{"position":[[234,6],[834,6]]},"258":{"position":[[46,7],[54,5],[117,5]]}}}],["line",{"_index":70,"t":{"6":{"position":[[399,5]]},"36":{"position":[[244,4]]},"40":{"position":[[320,5],[357,5]]},"54":{"position":[[32,5]]},"98":{"position":[[309,4]]},"100":{"position":[[142,4],[178,5],[219,5],[269,4],[313,5],[361,5]]},"102":{"position":[[406,5]]},"203":{"position":[[241,5]]},"354":{"position":[[121,4],[154,5]]},"364":{"position":[[45,5],[119,4]]}}}],["linger",{"_index":447,"t":{"68":{"position":[[799,6]]},"78":{"position":[[494,6]]}}}],["link",{"_index":705,"t":{"133":{"position":[[365,4]]}}}],["linux",{"_index":423,"t":{"68":{"position":[[6,5]]},"78":{"position":[[313,5],[443,6]]}}}],["list",{"_index":175,"t":{"14":{"position":[[328,4],[450,4],[490,4],[563,4]]},"20":{"position":[[386,4]]},"22":{"position":[[28,4]]},"24":{"position":[[198,4]]},"26":{"position":[[280,4]]},"32":{"position":[[78,4],[132,4]]},"62":{"position":[[42,4]]},"64":{"position":[[179,5]]},"68":{"position":[[1336,4]]},"74":{"position":[[39,4]]},"104":{"position":[[179,4]]},"122":{"position":[[181,4]]},"137":{"position":[[360,4]]},"141":{"position":[[141,4]]},"171":{"position":[[28,4],[546,4],[551,4]]},"179":{"position":[[631,4]]},"193":{"position":[[37,4]]},"195":{"position":[[461,4],[549,4]]},"217":{"position":[[262,4]]},"225":{"position":[[157,4]]},"227":{"position":[[148,4]]},"229":{"position":[[490,4]]},"244":{"position":[[288,5]]},"271":{"position":[[81,4]]},"281":{"position":[[89,4]]},"336":{"position":[[125,5]]},"348":{"position":[[369,4]]}}}],["list_ag",{"_index":846,"t":{"173":{"position":[[141,11]]},"227":{"position":[[136,11]]}}}],["list_dir",{"_index":831,"t":{"169":{"position":[[604,9]]},"175":{"position":[[286,9]]},"217":{"position":[[253,8]]}}}],["list_issu",{"_index":644,"t":{"122":{"position":[[169,11]]}}}],["list_scheduled_task",{"_index":998,"t":{"225":{"position":[[301,20]]}}}],["list_skil",{"_index":991,"t":{"225":{"position":[[145,11]]}}}],["live",{"_index":165,"t":{"14":{"position":[[162,4],[660,5]]},"157":{"position":[[84,6],[127,6]]},"163":{"position":[[551,4]]},"195":{"position":[[230,4]]},"231":{"position":[[17,5]]},"283":{"position":[[84,5]]},"314":{"position":[[42,4]]},"330":{"position":[[249,4]]},"346":{"position":[[414,4]]},"352":{"position":[[85,4]]}}}],["llm",{"_index":490,"t":{"82":{"position":[[158,3]]},"167":{"position":[[343,3]]},"181":{"position":[[175,4]]},"260":{"position":[[19,3]]}}}],["lo",{"_index":738,"t":{"145":{"position":[[98,3]]}}}],["load",{"_index":181,"t":{"14":{"position":[[469,6]]},"68":{"position":[[135,5],[164,4],[383,4]]},"70":{"position":[[10,4]]},"312":{"position":[[222,5]]},"322":{"position":[[157,6]]}}}],["local",{"_index":499,"t":{"82":{"position":[[250,6]]},"118":{"position":[[102,7]]},"135":{"position":[[141,7]]},"153":{"position":[[156,5]]},"155":{"position":[[87,8]]},"161":{"position":[[288,8]]},"265":{"position":[[403,5],[435,5]]},"273":{"position":[[169,7]]},"283":{"position":[[220,7]]},"289":{"position":[[461,5],[565,5]]},"309":{"position":[[332,7]]},"338":{"position":[[234,5]]}}}],["lock",{"_index":270,"t":{"28":{"position":[[127,6]]},"167":{"position":[[527,5],[549,5]]},"171":{"position":[[709,6],[906,6],[956,5]]},"175":{"position":[[691,5],[741,4]]}}}],["log",{"_index":67,"t":{"6":{"position":[[380,4],[415,4],[975,7]]},"54":{"position":[[8,4]]},"56":{"position":[[69,3]]},"68":{"position":[[294,5],[817,5],[1238,5]]},"86":{"position":[[105,4]]},"90":{"position":[[48,4]]},"131":{"position":[[38,3]]},"231":{"position":[[553,4]]},"244":{"position":[[229,4]]},"312":{"position":[[50,5],[338,4],[352,5]]},"358":{"position":[[174,4]]}}}],["login",{"_index":427,"t":{"68":{"position":[[144,5],[767,6]]},"78":{"position":[[278,5],[344,5],[463,5]]},"110":{"position":[[255,5]]}}}],["loginctl",{"_index":446,"t":{"68":{"position":[[783,8]]},"78":{"position":[[478,8]]}}}],["logon",{"_index":453,"t":{"68":{"position":[[1100,5]]},"78":{"position":[[419,5]]}}}],["logout",{"_index":263,"t":{"26":{"position":[[411,6]]},"137":{"position":[[224,6]]},"159":{"position":[[9,6]]}}}],["long",{"_index":166,"t":{"14":{"position":[[190,4]]},"66":{"position":[[199,4]]},"104":{"position":[[520,4]]},"106":{"position":[[7,4]]},"157":{"position":[[122,4]]},"163":{"position":[[439,4]]},"231":{"position":[[447,4]]},"309":{"position":[[221,4]]},"330":{"position":[[200,4]]},"334":{"position":[[186,4]]}}}],["longer",{"_index":1319,"t":{"352":{"position":[[530,6]]}}}],["loop",{"_index":382,"t":{"56":{"position":[[292,6]]},"175":{"position":[[505,4]]},"209":{"position":[[20,4]]},"237":{"position":[[307,4]]},"250":{"position":[[32,4]]},"344":{"position":[[148,4]]},"346":{"position":[[242,4],[351,6]]},"350":{"position":[[21,4],[85,4],[378,4]]}}}],["low",{"_index":1083,"t":{"252":{"position":[[465,3],[486,3]]},"299":{"position":[[515,3]]}}}],["ls",{"_index":1035,"t":{"237":{"position":[[166,4]]},"244":{"position":[[86,3]]},"358":{"position":[[137,3]]}}}],["machin",{"_index":661,"t":{"126":{"position":[[186,8]]},"135":{"position":[[157,7]]},"161":{"position":[[163,7]]},"309":{"position":[[420,8]]}}}],["maco",{"_index":422,"t":{"68":{"position":[[0,5]]},"78":{"position":[[248,5]]}}}],["made",{"_index":1203,"t":{"301":{"position":[[292,4]]}}}],["main",{"_index":844,"t":{"171":{"position":[[1168,4]]},"175":{"position":[[15,4],[424,4]]},"177":{"position":[[178,4]]},"231":{"position":[[108,4]]}}}],["maintain",{"_index":1044,"t":{"244":{"position":[[8,9]]}}}],["major",{"_index":1260,"t":{"328":{"position":[[27,5]]},"344":{"position":[[164,5]]}}}],["make",{"_index":575,"t":{"108":{"position":[[103,6]]},"254":{"position":[[116,6]]},"285":{"position":[[338,5]]}}}],["manag",{"_index":184,"t":{"14":{"position":[[529,6]]},"32":{"position":[[44,10]]},"68":{"position":[[361,11],[884,11],[1285,11]]},"108":{"position":[[82,8],[266,6]]},"110":{"position":[[199,10]]},"128":{"position":[[84,6]]},"131":{"position":[[498,10]]},"173":{"position":[[28,6]]},"195":{"position":[[333,10],[558,6]]},"342":{"position":[[109,11]]},"354":{"position":[[434,10]]}}}],["manual",{"_index":44,"t":{"4":{"position":[[425,9]]},"6":{"position":[[725,6]]},"14":{"position":[[40,6]]},"26":{"position":[[102,6]]},"68":{"position":[[354,6],[877,6],[1278,6]]},"137":{"position":[[134,6]]},"163":{"position":[[365,6]]},"181":{"position":[[136,8],[192,8],[394,6]]},"273":{"position":[[261,6]]},"305":{"position":[[110,6]]}}}],["mark",{"_index":157,"t":{"12":{"position":[[89,6]]},"66":{"position":[[121,6]]}}}],["markdown",{"_index":960,"t":{"211":{"position":[[377,8]]},"314":{"position":[[11,8]]},"332":{"position":[[98,8]]}}}],["mascot",{"_index":1290,"t":{"344":{"position":[[255,7]]},"346":{"position":[[637,6]]},"362":{"position":[[108,6]]}}}],["mask",{"_index":111,"t":{"8":{"position":[[178,7]]},"82":{"position":[[923,6],[1003,6]]}}}],["mass",{"_index":1332,"t":{"360":{"position":[[94,4]]}}}],["match",{"_index":316,"t":{"38":{"position":[[63,8],[205,7]]},"131":{"position":[[248,5]]},"145":{"position":[[342,5]]},"237":{"position":[[60,9],[136,9]]},"309":{"position":[[256,5]]}}}],["max",{"_index":237,"t":{"22":{"position":[[275,3],[287,3]]},"167":{"position":[[622,3]]},"171":{"position":[[270,4],[305,3],[317,3]]},"181":{"position":[[339,3]]},"258":{"position":[[78,3],[132,3],[185,3],[192,3],[221,3]]}}}],["maxconcurr",{"_index":882,"t":{"181":{"position":[[79,14]]}}}],["mean",{"_index":655,"t":{"124":{"position":[[135,5]]},"203":{"position":[[459,5]]}}}],["member",{"_index":292,"t":{"32":{"position":[[166,7],[403,6],[468,6]]},"189":{"position":[[58,8]]},"191":{"position":[[149,6]]},"193":{"position":[[64,8],[322,6],[373,6],[441,6],[539,8]]},"211":{"position":[[704,7]]}}}],["memori",{"_index":183,"t":{"14":{"position":[[512,7],[549,6]]},"28":{"position":[[302,8]]},"195":{"position":[[381,7],[402,6]]},"231":{"position":[[467,6]]},"297":{"position":[[37,6]]},"299":{"position":[[188,8],[404,8],[460,8],[499,8],[538,8],[577,8]]},"303":{"position":[[30,8]]},"305":{"position":[[129,7]]},"307":{"position":[[4,7],[117,8]]},"312":{"position":[[275,6],[387,8]]}}}],["memory.secondbrain.en",{"_index":1228,"t":{"309":{"position":[[117,27]]}}}],["menu",{"_index":168,"t":{"14":{"position":[[213,5]]},"32":{"position":[[55,4]]},"40":{"position":[[670,5]]},"185":{"position":[[270,5]]},"195":{"position":[[48,4]]},"211":{"position":[[725,4],[771,4]]},"225":{"position":[[517,5]]},"235":{"position":[[285,4]]},"307":{"position":[[67,4],[136,4],[192,4],[269,4],[331,4],[389,4]]}}}],["mercuri",{"_index":0,"t":{"2":{"position":[[0,7]]},"4":{"position":[[0,7],[80,7],[439,7]]},"6":{"position":[[20,7],[92,7],[125,7],[140,7],[191,7],[272,7],[309,7],[325,7],[356,7],[372,7],[420,7],[482,7],[555,7],[643,7],[698,7],[764,7],[835,7],[890,7],[940,7]]},"8":{"position":[[0,7],[239,7],[433,7]]},"10":{"position":[[90,7]]},"12":{"position":[[38,8]]},"28":{"position":[[339,7]]},"36":{"position":[[85,7]]},"42":{"position":[[0,7]]},"44":{"position":[[0,7],[21,7]]},"46":{"position":[[0,7],[32,7],[140,7]]},"48":{"position":[[0,7],[127,7]]},"50":{"position":[[0,7]]},"52":{"position":[[0,7]]},"54":{"position":[[0,7]]},"56":{"position":[[0,7],[139,7]]},"66":{"position":[[174,7]]},"68":{"position":[[20,7],[511,7],[869,7],[919,7],[951,7],[981,7],[989,7]]},"72":{"position":[[23,7],[55,7],[85,7]]},"76":{"position":[[0,7],[138,7],[228,8],[332,10]]},"78":{"position":[[8,7],[94,7]]},"80":{"position":[[0,7],[23,7]]},"82":{"position":[[4,7],[134,10],[318,7],[561,7],[680,7],[874,11],[959,7]]},"84":{"position":[[13,7],[47,7],[153,7],[167,7],[195,7]]},"86":{"position":[[0,7],[21,7]]},"88":{"position":[[0,7],[32,7],[225,7],[298,7]]},"90":{"position":[[64,7]]},"92":{"position":[[0,7]]},"94":{"position":[[119,7]]},"106":{"position":[[27,7]]},"108":{"position":[[0,7],[414,7]]},"110":{"position":[[143,7],[301,7],[387,7]]},"112":{"position":[[4,7],[55,7]]},"116":{"position":[[6,7],[71,7]]},"118":{"position":[[20,7],[307,7],[666,7]]},"120":{"position":[[215,7]]},"124":{"position":[[5,7],[87,7]]},"128":{"position":[[0,7],[227,7],[515,7]]},"131":{"position":[[109,7],[157,7]]},"133":{"position":[[4,7],[23,7],[60,7]]},"135":{"position":[[6,7],[122,7],[252,7],[439,7]]},"139":{"position":[[20,7]]},"145":{"position":[[13,7],[52,7]]},"153":{"position":[[0,7]]},"155":{"position":[[61,7],[112,7],[196,7],[352,7]]},"157":{"position":[[0,7]]},"161":{"position":[[297,7]]},"163":{"position":[[529,7]]},"165":{"position":[[0,7],[192,7]]},"167":{"position":[[94,7],[367,7],[474,7]]},"169":{"position":[[62,7],[365,8]]},"173":{"position":[[0,7],[251,7]]},"177":{"position":[[0,7],[318,7]]},"179":{"position":[[32,7]]},"185":{"position":[[27,7],[111,7],[197,7]]},"187":{"position":[[0,7]]},"189":{"position":[[0,7],[559,7]]},"193":{"position":[[20,7],[94,7],[196,7],[261,7],[329,7],[389,7],[481,7]]},"195":{"position":[[0,7],[121,7]]},"197":{"position":[[25,7]]},"199":{"position":[[16,7],[50,7],[318,7]]},"201":{"position":[[3,7]]},"205":{"position":[[61,7]]},"207":{"position":[[39,7],[113,7]]},"213":{"position":[[26,7],[323,7]]},"215":{"position":[[0,7]]},"231":{"position":[[26,11]]},"233":{"position":[[0,7]]},"235":{"position":[[18,7],[76,7],[176,7]]},"237":{"position":[[347,8]]},"244":{"position":[[0,7]]},"248":{"position":[[0,7]]},"250":{"position":[[0,7],[61,7]]},"258":{"position":[[20,7],[323,7]]},"260":{"position":[[34,7],[115,7]]},"262":{"position":[[71,8],[332,7]]},"269":{"position":[[56,7]]},"271":{"position":[[4,7],[34,7],[248,7]]},"279":{"position":[[42,7]]},"281":{"position":[[4,7],[34,7],[200,7]]},"287":{"position":[[263,7]]},"289":{"position":[[4,7]]},"291":{"position":[[0,7]]},"293":{"position":[[5,7]]},"297":{"position":[[0,7]]},"299":{"position":[[38,7],[251,7],[320,7]]},"303":{"position":[[5,7]]},"305":{"position":[[74,7]]},"307":{"position":[[225,7]]},"309":{"position":[[193,7]]},"312":{"position":[[343,8]]},"316":{"position":[[14,7],[145,7]]},"318":{"position":[[5,7]]},"324":{"position":[[20,7]]},"330":{"position":[[560,8]]},"342":{"position":[[125,7]]},"344":{"position":[[113,7]]},"346":{"position":[[195,7],[213,7]]},"348":{"position":[[128,7]]}}}],["mercury'",{"_index":580,"t":{"108":{"position":[[226,9]]},"110":{"position":[[22,9]]},"116":{"position":[[161,9]]},"124":{"position":[[141,9]]},"149":{"position":[[0,9]]},"183":{"position":[[26,9]]}}}],["mercury.servic",{"_index":441,"t":{"68":{"position":[[654,15]]}}}],["mercury/.env",{"_index":606,"t":{"116":{"position":[[248,15]]},"118":{"position":[[113,15]]}}}],["mercury/chatgpt",{"_index":1135,"t":{"273":{"position":[[180,18]]}}}],["mercury/daemon",{"_index":434,"t":{"68":{"position":[[326,17]]}}}],["mercury/daemon.log",{"_index":354,"t":{"44":{"position":[[154,22]]},"54":{"position":[[41,22]]},"68":{"position":[[300,21],[823,21]]},"86":{"position":[[116,22]]},"231":{"position":[[519,21]]}}}],["mercury/daemon.pid",{"_index":351,"t":{"44":{"position":[[107,22]]},"231":{"position":[[474,21]]}}}],["mercury/github",{"_index":1146,"t":{"283":{"position":[[231,17]]}}}],["mercury/memori",{"_index":1027,"t":{"231":{"position":[[416,18]]}}}],["mercury/memory/second",{"_index":1232,"t":{"309":{"position":[[343,24]]}}}],["mercury/mercury.yaml",{"_index":659,"t":{"126":{"position":[[41,23]]},"157":{"position":[[38,24]]},"161":{"position":[[74,24]]},"181":{"position":[[29,24]]},"231":{"position":[[84,23]]},"289":{"position":[[258,24]]},"309":{"position":[[154,23]]}}}],["mercury/permissions.yaml",{"_index":1021,"t":{"231":{"position":[[223,27]]},"246":{"position":[[134,27]]}}}],["mercury/schedules.yaml",{"_index":1024,"t":{"231":{"position":[[319,25]]},"295":{"position":[[101,25]]}}}],["mercury/skil",{"_index":1023,"t":{"231":{"position":[[283,18]]}}}],["mercury/skills/<name>/skill.md",{"_index":1247,"t":{"314":{"position":[[50,34]]}}}],["mercury/skills/web",{"_index":1249,"t":{"316":{"position":[[60,21]]}}}],["mercury/soul/*.md",{"_index":1017,"t":{"231":{"position":[[150,20]]}}}],["mercury/token",{"_index":1025,"t":{"231":{"position":[[361,16]]}}}],["[email protected]",{"_index":603,"t":{"116":{"position":[[79,25]]},"124":{"position":[[95,25]]}}}],["mercury_spotify_art=1",{"_index":771,"t":{"153":{"position":[[107,21]]},"338":{"position":[[204,23]]}}}],["mercuryag",{"_index":451,"t":{"68":{"position":[[1057,13],[1317,14],[1359,14],[1395,14]]},"74":{"position":[[20,14],[62,14],[98,14]]}}}],["messag",{"_index":196,"t":{"14":{"position":[[739,7]]},"20":{"position":[[268,9]]},"102":{"position":[[237,9]]},"106":{"position":[[157,8]]},"175":{"position":[[5,7]]},"179":{"position":[[55,8],[138,8]]},"189":{"position":[[609,8]]},"191":{"position":[[187,8]]},"197":{"position":[[122,7]]},"199":{"position":[[101,7],[304,8],[406,8],[527,8]]},"203":{"position":[[30,8],[354,7],[418,9]]},"211":{"position":[[43,7],[96,7]]},"219":{"position":[[49,7]]},"235":{"position":[[393,8]]},"258":{"position":[[295,8]]},"299":{"position":[[160,8]]},"356":{"position":[[50,7],[112,7],[176,8]]}}}],["method",{"_index":484,"t":{"78":{"position":[[200,6]]},"135":{"position":[[63,7],[71,6]]}}}],["metric",{"_index":1295,"t":{"346":{"position":[[608,8]]},"352":{"position":[[430,8]]}}}],["mini",{"_index":1107,"t":{"265":{"position":[[132,4],[159,5]]},"267":{"position":[[176,4]]},"275":{"position":[[120,5],[301,4]]},"277":{"position":[[113,4]]},"285":{"position":[[146,5]]}}}],["minim",{"_index":529,"t":{"96":{"position":[[81,7]]}}}],["minimal/detail",{"_index":1270,"t":{"332":{"position":[[6,16]]}}}],["minor",{"_index":1318,"t":{"352":{"position":[[497,5]]}}}],["minut",{"_index":764,"t":{"149":{"position":[[370,8]]},"209":{"position":[[150,6]]},"283":{"position":[[134,8]]},"295":{"position":[[17,7]]},"299":{"position":[[311,8]]}}}],["mismatch",{"_index":1219,"t":{"303":{"position":[[159,10]]},"312":{"position":[[31,8]]}}}],["mkf",{"_index":1042,"t":{"242":{"position":[[30,4]]}}}],["mobil",{"_index":899,"t":{"187":{"position":[[58,6]]},"362":{"position":[[360,6]]}}}],["mode",{"_index":62,"t":{"6":{"position":[[252,5]]},"10":{"position":[[182,4]]},"14":{"position":[[294,4]]},"18":{"position":[[51,4],[82,4],[160,4],[220,4],[252,4],[453,4]]},"20":{"position":[[98,4],[131,4]]},"36":{"position":[[283,4],[309,5],[345,4],[371,5]]},"56":{"position":[[110,4]]},"58":{"position":[[7,4]]},"76":{"position":[[223,4]]},"88":{"position":[[156,5],[270,5]]},"92":{"position":[[43,4]]},"94":{"position":[[24,4]]},"96":{"position":[[16,5],[133,4]]},"98":{"position":[[28,4],[48,4]]},"102":{"position":[[66,4],[436,4]]},"104":{"position":[[10,4]]},"131":{"position":[[350,4],[405,4]]},"143":{"position":[[275,4]]},"149":{"position":[[47,4]]},"165":{"position":[[167,5]]},"169":{"position":[[106,4]]},"171":{"position":[[287,5]]},"173":{"position":[[395,4]]},"181":{"position":[[155,5]]},"183":{"position":[[48,4],[77,4],[244,5],[278,4]]},"195":{"position":[[448,4],[513,4]]},"207":{"position":[[95,5],[365,6]]},"209":{"position":[[51,4]]},"211":{"position":[[470,4],[542,4]]},"217":{"position":[[434,4]]},"229":{"position":[[750,4]]},"231":{"position":[[548,4]]},"233":{"position":[[151,6]]},"235":{"position":[[58,5],[429,4],[487,4]]},"239":{"position":[[24,5],[153,5]]},"242":{"position":[[68,5]]},"246":{"position":[[7,5],[82,5]]},"248":{"position":[[118,5],[180,5]]},"254":{"position":[[13,5]]},"256":{"position":[[10,5]]},"258":{"position":[[14,5]]},"330":{"position":[[95,4]]},"332":{"position":[[288,4]]},"338":{"position":[[95,4]]},"340":{"position":[[47,4]]},"358":{"position":[[302,5]]},"362":{"position":[[394,4]]}}}],["model",{"_index":114,"t":{"8":{"position":[[213,6],[255,6]]},"14":{"position":[[320,7],[378,7]]},"82":{"position":[[278,5],[351,6],[527,7],[538,5]]},"189":{"position":[[36,5]]},"195":{"position":[[453,7],[489,5]]},"211":{"position":[[682,5]]},"254":{"position":[[78,5]]},"262":{"position":[[80,7],[136,5],[142,7],[195,5],[201,7]]},"265":{"position":[[17,5],[381,6]]},"267":{"position":[[114,5]]},"271":{"position":[[274,6]]},"275":{"position":[[0,6],[46,6],[165,6],[191,6],[270,6]]},"277":{"position":[[126,5]]},"279":{"position":[[108,6]]},"281":{"position":[[226,6]]},"285":{"position":[[0,6],[61,6],[188,6],[254,6]]},"287":{"position":[[129,5]]},"289":{"position":[[363,6],[571,6]]},"330":{"position":[[467,5],[492,9],[502,7]]},"342":{"position":[[157,7],[183,6]]},"346":{"position":[[183,6],[573,5]]}}}],["model/provid",{"_index":180,"t":{"14":{"position":[[428,14]]}}}],["models/provid",{"_index":177,"t":{"14":{"position":[[344,16]]}}}],["modul",{"_index":1304,"t":{"350":{"position":[[138,7]]}}}],["monday",{"_index":1170,"t":{"293":{"position":[[112,6]]}}}],["monitor",{"_index":1082,"t":{"252":{"position":[[403,7]]}}}],["more",{"_index":492,"t":{"82":{"position":[[188,5]]},"131":{"position":[[645,4]]},"297":{"position":[[208,5]]}}}],["mount",{"_index":477,"t":{"76":{"position":[[326,5]]}}}],["move",{"_index":243,"t":{"24":{"position":[[148,4]]},"36":{"position":[[174,4]]},"64":{"position":[[55,4]]},"100":{"position":[[31,4],[375,4]]},"104":{"position":[[134,4]]},"149":{"position":[[469,7]]},"171":{"position":[[488,4]]},"336":{"position":[[83,4]]},"348":{"position":[[226,5]]}}}],["multi",{"_index":308,"t":{"36":{"position":[[237,6]]},"98":{"position":[[302,6]]},"169":{"position":[[94,5]]},"173":{"position":[[383,5]]},"197":{"position":[[7,5]]},"211":{"position":[[74,5],[651,5]]},"285":{"position":[[175,5]]},"350":{"position":[[443,5]]},"354":{"position":[[115,5]]},"364":{"position":[[113,5]]}}}],["multipl",{"_index":524,"t":{"94":{"position":[[32,8]]},"167":{"position":[[277,8]]},"177":{"position":[[249,8]]},"260":{"position":[[10,8]]}}}],["music",{"_index":256,"t":{"26":{"position":[[226,5]]},"128":{"position":[[77,6],[216,6]]},"139":{"position":[[53,6]]},"145":{"position":[[37,6],[82,6]]}}}],["n",{"_index":202,"t":{"16":{"position":[[148,3]]},"22":{"position":[[279,3]]},"102":{"position":[[377,3],[404,1]]},"151":{"position":[[33,1]]},"171":{"position":[[309,3]]},"338":{"position":[[100,3]]}}}],["name",{"_index":162,"t":{"14":{"position":[[110,5]]},"68":{"position":[[1051,5]]},"82":{"position":[[69,4],[115,4]]},"104":{"position":[[289,5]]},"118":{"position":[[296,4],[655,4]]},"120":{"position":[[253,4]]},"131":{"position":[[103,5]]},"137":{"position":[[61,5]]},"157":{"position":[[187,5]]},"163":{"position":[[495,4]]},"225":{"position":[[214,4]]},"301":{"position":[[57,5]]}}}],["nativ",{"_index":666,"t":{"128":{"position":[[41,8]]},"312":{"position":[[75,6]]}}}],["natur",{"_index":241,"t":{"24":{"position":[[90,7]]},"108":{"position":[[144,7]]},"128":{"position":[[133,7]]},"145":{"position":[[21,9]]},"149":{"position":[[428,7]]},"171":{"position":[[430,7]]},"177":{"position":[[44,9]]},"299":{"position":[[275,10]]}}}],["navig",{"_index":318,"t":{"38":{"position":[[99,8]]},"40":{"position":[[221,8]]},"330":{"position":[[161,11]]},"354":{"position":[[83,10],[456,10]]}}}],["need",{"_index":362,"t":{"48":{"position":[[76,7]]},"52":{"position":[[124,4]]},"68":{"position":[[244,7],[727,7],[1187,7]]},"78":{"position":[[518,5]]},"84":{"position":[[100,7]]},"116":{"position":[[131,6]]},"118":{"position":[[4,4]]},"131":{"position":[[640,4],[672,4]]},"163":{"position":[[55,4]]},"213":{"position":[[68,4]]},"223":{"position":[[170,6]]},"265":{"position":[[428,6]]},"273":{"position":[[286,6]]}}}],["negat",{"_index":1218,"t":{"303":{"position":[[150,8]]}}}],["never",{"_index":610,"t":{"118":{"position":[[66,5],[133,5]]},"126":{"position":[[107,5]]},"155":{"position":[[69,5]]},"161":{"position":[[173,5],[305,5]]},"203":{"position":[[469,5]]},"242":{"position":[[39,5]]},"244":{"position":[[62,5]]},"258":{"position":[[152,6]]}}}],["new",{"_index":49,"t":{"4":{"position":[[524,3]]},"8":{"position":[[134,3]]},"34":{"position":[[51,4]]},"82":{"position":[[1079,3]]},"122":{"position":[[280,3]]},"157":{"position":[[146,3]]},"189":{"position":[[455,3]]},"203":{"position":[[26,3]]},"217":{"position":[[135,3]]},"237":{"position":[[265,3]]},"248":{"position":[[96,3]]},"330":{"position":[[0,3],[455,3],[527,3]]},"344":{"position":[[25,3]]},"352":{"position":[[0,3]]},"354":{"position":[[150,3]]},"364":{"position":[[54,3],[87,3]]}}}],["new_str",{"_index":971,"t":{"217":{"position":[[242,10]]}}}],["newer",{"_index":1217,"t":{"303":{"position":[[134,5]]}}}],["newlin",{"_index":307,"t":{"36":{"position":[[229,7]]},"98":{"position":[[294,7],[338,7]]}}}],["next",{"_index":730,"t":{"143":{"position":[[126,4]]},"147":{"position":[[114,4]]},"149":{"position":[[362,4]]},"151":{"position":[[37,4]]},"167":{"position":[[216,5]]},"229":{"position":[[363,4]]},"260":{"position":[[133,4]]}}}],["next/previ",{"_index":756,"t":{"149":{"position":[[170,13]]}}}],["node",{"_index":1057,"t":{"244":{"position":[[268,4]]}}}],["node.j",{"_index":2,"t":{"2":{"position":[[17,7]]},"10":{"position":[[147,7]]},"312":{"position":[[121,7]]}}}],["node_module_vers",{"_index":1235,"t":{"312":{"position":[[11,19]]}}}],["noemit",{"_index":1059,"t":{"244":{"position":[[304,7]]}}}],["nois",{"_index":562,"t":{"106":{"position":[[216,5]]}}}],["non",{"_index":130,"t":{"10":{"position":[[24,3]]},"167":{"position":[[432,3]]}}}],["none",{"_index":122,"t":{"8":{"position":[[314,4]]},"213":{"position":[[294,4]]}}}],["normal",{"_index":525,"t":{"94":{"position":[[205,6]]},"96":{"position":[[160,6]]},"169":{"position":[[531,9]]},"179":{"position":[[22,9]]},"183":{"position":[[195,6]]},"258":{"position":[[100,6]]}}}],["note",{"_index":1256,"t":{"324":{"position":[[36,5]]}}}],["noth",{"_index":510,"t":{"82":{"position":[[888,7]]},"309":{"position":[[400,7]]}}}],["notic",{"_index":927,"t":{"199":{"position":[[287,7]]},"203":{"position":[[234,6],[274,8]]}}}],["notif",{"_index":867,"t":{"175":{"position":[[638,12]]},"179":{"position":[[125,12]]},"352":{"position":[[335,14]]}}}],["notifi",{"_index":854,"t":{"173":{"position":[[556,6]]}}}],["noun",{"_index":402,"t":{"60":{"position":[[168,7]]}}}],["now",{"_index":261,"t":{"26":{"position":[[367,3]]},"128":{"position":[[320,3]]},"137":{"position":[[439,3]]},"151":{"position":[[109,3]]},"169":{"position":[[138,3],[207,3]]},"173":{"position":[[427,3]]},"352":{"position":[[369,3]]},"356":{"position":[[235,3]]},"358":{"position":[[51,3]]}}}],["npm",{"_index":5,"t":{"2":{"position":[[43,4],[48,3]]},"4":{"position":[[117,3],[416,3]]},"201":{"position":[[98,3]]},"205":{"position":[[288,3]]},"244":{"position":[[284,3]]},"312":{"position":[[166,3]]}}}],["npx",{"_index":11,"t":{"2":{"position":[[111,3]]},"244":{"position":[[294,3]]}}}],["number",{"_index":889,"t":{"181":{"position":[[343,6]]}}}],["numer",{"_index":405,"t":{"60":{"position":[[201,7]]},"360":{"position":[[81,7]]}}}],["o3",{"_index":1109,"t":{"265":{"position":[[173,3]]},"275":{"position":[[290,3]]}}}],["o4",{"_index":1142,"t":{"275":{"position":[[298,2]]}}}],["oauth",{"_index":712,"t":{"137":{"position":[[111,5]]},"267":{"position":[[56,5]]},"271":{"position":[[110,6]]},"273":{"position":[[39,5]]},"279":{"position":[[89,5]]},"283":{"position":[[39,5],[269,5]]},"289":{"position":[[77,5]]},"346":{"position":[[77,5],[161,5]]},"348":{"position":[[37,5],[180,5],[249,5]]}}}],["occur",{"_index":404,"t":{"60":{"position":[[191,7]]},"352":{"position":[[158,7]]}}}],["off/track/context",{"_index":1012,"t":{"229":{"position":[[761,19]]}}}],["old",{"_index":29,"t":{"4":{"position":[[214,3],[480,3]]},"354":{"position":[[379,3]]}}}],["old_str",{"_index":970,"t":{"217":{"position":[[230,11]]}}}],["ollama",{"_index":497,"t":{"82":{"position":[[229,6],[243,6]]},"265":{"position":[[320,6],[374,6],[396,6],[441,6]]},"289":{"position":[[454,6]]}}}],["ollama_cloud_api_key",{"_index":1117,"t":{"265":{"position":[[346,20]]}}}],["ollama_local_enabled=tru",{"_index":1163,"t":{"289":{"position":[[498,25]]}}}],["ollama_local_model",{"_index":1164,"t":{"289":{"position":[[528,18]]}}}],["on",{"_index":50,"t":{"4":{"position":[[528,4]]},"16":{"position":[[90,3]]},"24":{"position":[[258,3]]},"48":{"position":[[16,3]]},"52":{"position":[[69,4]]},"78":{"position":[[507,4]]},"82":{"position":[[181,3]]},"102":{"position":[[202,3]]},"167":{"position":[[43,3],[63,3]]},"179":{"position":[[682,3]]},"189":{"position":[[589,4],[597,4]]},"193":{"position":[[458,3]]},"197":{"position":[[118,3]]},"211":{"position":[[39,3]]},"225":{"position":[[269,3]]},"260":{"position":[[138,3]]},"285":{"position":[[203,3],[347,3]]},"291":{"position":[[53,3]]},"303":{"position":[[110,3],[140,3]]},"332":{"position":[[255,3]]}}}],["on/off",{"_index":191,"t":{"14":{"position":[[623,8]]},"143":{"position":[[242,6]]},"195":{"position":[[374,6]]}}}],["onboard",{"_index":487,"t":{"82":{"position":[[36,10]]},"213":{"position":[[52,11]]},"348":{"position":[[301,11]]}}}],["onc",{"_index":448,"t":{"68":{"position":[[812,4]]},"94":{"position":[[106,4]]},"189":{"position":[[433,4]]}}}],["opaqu",{"_index":395,"t":{"60":{"position":[[93,6]]},"360":{"position":[[74,6]]}}}],["open",{"_index":169,"t":{"14":{"position":[[229,4]]},"18":{"position":[[413,4]]},"20":{"position":[[52,4],[64,4]]},"32":{"position":[[30,4]]},"40":{"position":[[262,4]]},"94":{"position":[[94,4]]},"100":{"position":[[99,4]]},"102":{"position":[[24,4],[36,4]]},"110":{"position":[[180,5],[219,4]]},"122":{"position":[[220,6]]},"135":{"position":[[90,4],[208,4],[288,4]]},"155":{"position":[[221,4]]},"163":{"position":[[259,4],[343,4]]},"271":{"position":[[159,5]]},"281":{"position":[[111,5]]},"289":{"position":[[139,5]]}}}],["open/refresh/stage/commit/undo/exit",{"_index":1274,"t":{"334":{"position":[[35,36]]}}}],["openai",{"_index":494,"t":{"82":{"position":[[204,7],[260,6]]},"265":{"position":[[118,6],[293,6],[475,6],[532,6]]},"271":{"position":[[56,6],[185,6]]},"283":{"position":[[178,6]]},"285":{"position":[[266,7]]},"348":{"position":[[272,6]]}}}],["openai'",{"_index":1131,"t":{"273":{"position":[[18,8]]}}}],["openai_api_key",{"_index":1108,"t":{"265":{"position":[[137,14]]}}}],["openai_compat_api_key",{"_index":1120,"t":{"265":{"position":[[506,21]]}}}],["oper",{"_index":548,"t":{"104":{"position":[[525,10]]},"244":{"position":[[334,11]]},"336":{"position":[[172,11]]},"358":{"position":[[40,10]]}}}],["oppos",{"_index":1211,"t":{"303":{"position":[[21,8]]}}}],["option",{"_index":207,"t":{"18":{"position":[[108,8]]},"82":{"position":[[409,9]]},"173":{"position":[[124,8]]},"246":{"position":[[44,8]]},"285":{"position":[[382,8]]},"330":{"position":[[428,8]]},"348":{"position":[[255,6]]}}}],["opu",{"_index":1113,"t":{"265":{"position":[[257,4]]},"285":{"position":[[120,4]]}}}],["orchestr",{"_index":799,"t":{"165":{"position":[[39,13]]},"175":{"position":[[26,14]]}}}],["order",{"_index":1099,"t":{"260":{"position":[[56,5]]}}}],["organ",{"_index":902,"t":{"189":{"position":[[16,12]]},"211":{"position":[[669,12]]}}}],["os",{"_index":134,"t":{"10":{"position":[[129,2]]}}}],["oss:120b",{"_index":1116,"t":{"265":{"position":[[337,8]]}}}],["oss:20b",{"_index":1118,"t":{"265":{"position":[[413,7]]}}}],["otherwis",{"_index":158,"t":{"12":{"position":[[96,10]]}}}],["output",{"_index":353,"t":{"44":{"position":[[144,6]]},"46":{"position":[[112,6]]},"94":{"position":[[260,7]]},"100":{"position":[[259,6],[302,6],[351,6]]},"102":{"position":[[394,6]]},"354":{"position":[[351,6]]}}}],["over",{"_index":1072,"t":{"252":{"position":[[164,4],[173,5]]},"305":{"position":[[99,4]]}}}],["overrid",{"_index":197,"t":{"16":{"position":[[61,8],[70,8]]},"181":{"position":[[238,10]]},"362":{"position":[[439,10]]}}}],["overview",{"_index":1225,"t":{"307":{"position":[[48,8],[74,8],[101,8]]}}}],["overwrit",{"_index":1251,"t":{"316":{"position":[[162,9]]}}}],["owl",{"_index":392,"t":{"60":{"position":[[61,4]]}}}],["owner",{"_index":634,"t":{"120":{"position":[[238,5]]},"189":{"position":[[402,5]]}}}],["p",{"_index":766,"t":{"151":{"position":[[48,1]]},"338":{"position":[[104,2]]}}}],["packag",{"_index":30,"t":{"4":{"position":[[218,7],[484,7]]}}}],["package.json",{"_index":935,"t":{"201":{"position":[[121,12]]}}}],["page",{"_index":692,"t":{"131":{"position":[[295,5]]},"334":{"position":[[110,4]]},"344":{"position":[[212,4]]},"346":{"position":[[678,4]]},"362":{"position":[[36,4]]}}}],["pagedown",{"_index":338,"t":{"40":{"position":[[335,8]]}}}],["pageup",{"_index":337,"t":{"40":{"position":[[326,6]]}}}],["pair",{"_index":125,"t":{"8":{"position":[[370,7]]},"32":{"position":[[212,7],[529,7]]},"34":{"position":[[30,5]]},"40":{"position":[[372,7],[464,7]]},"82":{"position":[[707,7],[767,7]]},"183":{"position":[[11,4]]},"189":{"position":[[116,7],[246,7],[305,7]]},"191":{"position":[[59,5]]},"193":{"position":[[151,7]]}}}],["palett",{"_index":1335,"t":{"362":{"position":[[60,7]]}}}],["pane",{"_index":531,"t":{"98":{"position":[[75,4],[97,4]]}}}],["panel",{"_index":225,"t":{"20":{"position":[[202,5]]},"40":{"position":[[109,5],[132,5],[157,5],[204,5],[249,6]]},"98":{"position":[[122,5],[190,5]]},"102":{"position":[[139,6],[334,5]]},"330":{"position":[[128,6]]},"338":{"position":[[25,5]]},"354":{"position":[[358,5],[475,6]]}}}],["parallel",{"_index":800,"t":{"165":{"position":[[66,8]]},"167":{"position":[[256,8]]},"169":{"position":[[403,8]]},"173":{"position":[[308,8]]},"185":{"position":[[96,8]]}}}],["paralleliz",{"_index":869,"t":{"177":{"position":[[54,14]]}}}],["paramet",{"_index":708,"t":{"135":{"position":[[346,9]]},"217":{"position":[[18,10]]},"219":{"position":[[18,10]]},"221":{"position":[[18,10]]},"227":{"position":[[18,10]]},"229":{"position":[[148,10]]},"252":{"position":[[68,9]]},"346":{"position":[[271,9]]},"350":{"position":[[182,9]]}}}],["parent",{"_index":968,"t":{"217":{"position":[[153,6]]}}}],["pars",{"_index":633,"t":{"120":{"position":[[228,5]]}}}],["part",{"_index":893,"t":{"185":{"position":[[132,5]]}}}],["parti",{"_index":463,"t":{"76":{"position":[[38,5]]},"340":{"position":[[207,5]]}}}],["particl",{"_index":1339,"t":{"362":{"position":[[194,8]]}}}],["pass",{"_index":835,"t":{"169":{"position":[[748,8]]},"179":{"position":[[403,11]]}}}],["past",{"_index":124,"t":{"8":{"position":[[343,5]]},"26":{"position":[[162,6]]},"82":{"position":[[804,5],[1071,5]]},"133":{"position":[[144,5],[200,5]]},"135":{"position":[[165,5],[331,5],[393,6]]},"137":{"position":[[189,6]]},"163":{"position":[[406,6]]},"318":{"position":[[86,5]]}}}],["pat",{"_index":617,"t":{"118":{"position":[[214,3],[603,4]]},"120":{"position":[[353,3]]},"126":{"position":[[0,3],[24,3]]}}}],["path",{"_index":94,"t":{"6":{"position":[[757,6]]},"20":{"position":[[57,6]]},"28":{"position":[[237,4]]},"56":{"position":[[78,5]]},"94":{"position":[[99,6]]},"102":{"position":[[29,6]]},"171":{"position":[[1229,5]]},"217":{"position":[[58,4],[100,5],[166,5],[224,5],[286,4],[317,4],[368,4],[428,5]]},"221":{"position":[[125,4]]},"231":{"position":[[71,4]]},"252":{"position":[[525,4]]}}}],["pattern",{"_index":753,"t":{"149":{"position":[[52,7]]},"246":{"position":[[209,9]]},"250":{"position":[[146,9]]},"254":{"position":[[53,9]]},"256":{"position":[[27,8]]},"299":{"position":[[427,9]]},"301":{"position":[[225,8],[490,8]]},"305":{"position":[[66,7]]}}}],["paus",{"_index":233,"t":{"22":{"position":[[130,5],[141,5],[196,6]]},"128":{"position":[[388,6]]},"143":{"position":[[90,5]]},"145":{"position":[[250,7]]},"171":{"position":[[137,5],[148,5],[203,6]]},"229":{"position":[[317,5]]},"307":{"position":[[244,5],[276,5],[299,5]]}}}],["pend",{"_index":287,"t":{"32":{"position":[[70,7],[83,7],[274,7]]},"40":{"position":[[592,7]]},"179":{"position":[[573,7]]},"189":{"position":[[489,7]]},"191":{"position":[[222,7],[283,7]]},"193":{"position":[[77,7],[169,7],[238,7],[548,9]]}}}],["peopl",{"_index":1207,"t":{"301":{"position":[[370,6]]}}}],["per",{"_index":1090,"t":{"258":{"position":[[88,3]]}}}],["percent",{"_index":1008,"t":{"229":{"position":[[661,7]]}}}],["perfect",{"_index":698,"t":{"131":{"position":[[592,7]]}}}],["perman",{"_index":980,"t":{"221":{"position":[[146,11]]}}}],["permiss",{"_index":172,"t":{"14":{"position":[[263,12],[283,10]]},"88":{"position":[[194,10]]},"118":{"position":[[424,11],[449,12]]},"175":{"position":[[550,10]]},"195":{"position":[[409,12]]},"203":{"position":[[362,10]]},"207":{"position":[[84,10],[330,12],[397,10]]},"209":{"position":[[0,10]]},"211":{"position":[[455,10],[527,10]]},"233":{"position":[[22,10]]},"235":{"position":[[47,10],[406,12]]},"322":{"position":[[119,11]]},"332":{"position":[[224,10]]},"356":{"position":[[143,10]]}}}],["persist",{"_index":415,"t":{"66":{"position":[[21,9]]},"76":{"position":[[346,10]]},"84":{"position":[[55,13]]},"155":{"position":[[325,8]]},"221":{"position":[[101,9]]},"248":{"position":[[229,7]]},"262":{"position":[[357,9]]},"295":{"position":[[90,7]]},"297":{"position":[[14,11]]},"358":{"position":[[229,10]]}}}],["person",{"_index":699,"t":{"131":{"position":[[604,8]]},"231":{"position":[[177,11]]}}}],["persona",{"_index":1019,"t":{"231":{"position":[[196,8]]}}}],["pgdn",{"_index":542,"t":{"100":{"position":[[157,4],[284,4]]}}}],["pgup",{"_index":541,"t":{"100":{"position":[[152,4],[279,4]]}}}],["phone",{"_index":776,"t":{"155":{"position":[[32,6]]}}}],["phone/comput",{"_index":794,"t":{"163":{"position":[[280,15]]}}}],["photo",{"_index":956,"t":{"211":{"position":[[283,7]]}}}],["pick",{"_index":740,"t":{"145":{"position":[[113,5]]},"271":{"position":[[312,4]]},"281":{"position":[[267,4]]}}}],["picker",{"_index":171,"t":{"14":{"position":[[256,6]]},"332":{"position":[[235,6]]}}}],["pid",{"_index":74,"t":{"6":{"position":[[466,4]]},"44":{"position":[[95,3],[183,3]]},"48":{"position":[[194,4]]},"50":{"position":[[95,3]]},"56":{"position":[[56,4],[305,3]]},"84":{"position":[[237,4]]},"86":{"position":[[145,3]]},"231":{"position":[[515,3]]}}}],["pin",{"_index":926,"t":{"199":{"position":[[208,6]]},"203":{"position":[[100,6],[535,6]]},"211":{"position":[[112,6],[140,6]]}}}],["ping",{"_index":1172,"t":{"295":{"position":[[42,5]]}}}],["place",{"_index":920,"t":{"197":{"position":[[75,6]]},"203":{"position":[[146,5]]},"211":{"position":[[61,5]]}}}],["plan",{"_index":204,"t":{"18":{"position":[[62,4],[77,4],[291,4]]},"36":{"position":[[278,4]]},"96":{"position":[[49,4]]},"98":{"position":[[23,4]]},"137":{"position":[[67,5]]},"157":{"position":[[202,4]]},"183":{"position":[[97,4],[102,4]]},"185":{"position":[[11,4],[69,5],[82,4]]},"195":{"position":[[518,5]]},"332":{"position":[[159,4]]},"358":{"position":[[240,4]]}}}],["platform",{"_index":84,"t":{"6":{"position":[[572,8],[592,8]]},"10":{"position":[[6,8],[107,8]]},"78":{"position":[[136,8],[191,8]]},"330":{"position":[[531,8],[578,10]]},"340":{"position":[[82,8]]}}}],["play",{"_index":262,"t":{"26":{"position":[[394,7]]},"128":{"position":[[199,5],[324,8],[381,6]]},"137":{"position":[[466,7]]},"141":{"position":[[117,7]]},"143":{"position":[[31,4]]},"145":{"position":[[65,5],[127,5],[278,5],[332,5],[400,9]]},"149":{"position":[[315,4]]},"151":{"position":[[113,7]]},"155":{"position":[[8,5],[75,5],[103,8]]},"163":{"position":[[296,4]]},"229":{"position":[[254,4],[453,7]]}}}],["play/paus",{"_index":749,"t":{"147":{"position":[[89,10]]}}}],["play/pause/skip",{"_index":792,"t":{"163":{"position":[[152,15]]}}}],["playback",{"_index":667,"t":{"128":{"position":[[60,9],[364,8]]},"143":{"position":[[96,8],[335,8]]},"149":{"position":[[125,8]]},"163":{"position":[[72,8],[208,8]]},"195":{"position":[[614,8]]},"229":{"position":[[90,8],[323,8],[505,8],[557,8],[645,8]]}}}],["player",{"_index":255,"t":{"26":{"position":[[197,6],[232,6]]},"137":{"position":[[282,6],[301,6]]},"147":{"position":[[13,6],[62,6]]},"149":{"position":[[91,7],[392,6]]},"151":{"position":[[19,6],[132,6]]},"338":{"position":[[88,6]]},"340":{"position":[[111,6]]}}}],["playlist",{"_index":669,"t":{"128":{"position":[[91,10],[309,10]]},"141":{"position":[[65,9],[275,9]]},"143":{"position":[[55,8]]},"145":{"position":[[287,8],[321,10]]},"229":{"position":[[210,9],[278,8],[870,9]]}}}],["plist",{"_index":485,"t":{"78":{"position":[[266,5]]}}}],["plu",{"_index":842,"t":{"171":{"position":[[1023,4]]},"267":{"position":[[189,4]]},"269":{"position":[[26,4]]},"348":{"position":[[87,4]]}}}],["plus/pro",{"_index":1129,"t":{"271":{"position":[[101,8]]},"346":{"position":[[40,8]]},"348":{"position":[[240,8]]}}}],["point",{"_index":897,"t":{"185":{"position":[[233,6]]},"262":{"position":[[218,6]]}}}],["polici",{"_index":476,"t":{"76":{"position":[[319,6]]}}}],["pollut",{"_index":864,"t":{"175":{"position":[[458,7]]},"177":{"position":[[159,9]]}}}],["popup",{"_index":314,"t":{"38":{"position":[[44,5]]}}}],["posit",{"_index":385,"t":{"56":{"position":[[378,10]]},"350":{"position":[[419,9]]},"354":{"position":[[224,11]]}}}],["post",{"_index":591,"t":{"110":{"position":[[328,5]]},"122":{"position":[[148,4]]}}}],["pr",{"_index":573,"t":{"108":{"position":[[77,4]]},"110":{"position":[[119,2],[190,2],[290,2]]},"122":{"position":[[115,2]]}}}],["practic",{"_index":752,"t":{"149":{"position":[[34,9]]}}}],["pre",{"_index":102,"t":{"8":{"position":[[65,3]]}}}],["prefer",{"_index":473,"t":{"76":{"position":[[205,6]]},"116":{"position":[[295,6]]},"155":{"position":[[375,9]]},"289":{"position":[[555,9]]},"297":{"position":[[166,12]]},"301":{"position":[[80,10]]},"303":{"position":[[45,8],[69,8]]}}}],["premium",{"_index":674,"t":{"128":{"position":[[261,7],[452,7]]},"163":{"position":[[24,7],[60,7],[226,7]]},"229":{"position":[[121,8]]}}}],["premium/fre",{"_index":784,"t":{"157":{"position":[[207,14]]}}}],["present",{"_index":206,"t":{"18":{"position":[[100,7]]},"185":{"position":[[59,7],[205,7]]}}}],["preserv",{"_index":839,"t":{"171":{"position":[[866,9]]}}}],["press",{"_index":79,"t":{"6":{"position":[[520,5]]},"8":{"position":[[77,5]]},"82":{"position":[[1029,5]]},"88":{"position":[[94,5]]},"120":{"position":[[292,5]]},"133":{"position":[[236,5]]},"239":{"position":[[52,8]]}}}],["prevent",{"_index":32,"t":{"4":{"position":[[235,7]]},"56":{"position":[[278,7],[346,7]]},"167":{"position":[[555,7]]},"250":{"position":[[84,8]]}}}],["preview",{"_index":1153,"t":{"285":{"position":[[167,7]]},"330":{"position":[[115,8]]}}}],["previou",{"_index":732,"t":{"143":{"position":[[162,8]]},"147":{"position":[[102,8]]},"151":{"position":[[52,8]]},"229":{"position":[[401,8]]}}}],["primari",{"_index":516,"t":{"86":{"position":[[86,7]]}}}],["print",{"_index":133,"t":{"10":{"position":[[121,7]]}}}],["printenv",{"_index":1052,"t":{"244":{"position":[[162,9]]}}}],["prioriti",{"_index":1003,"t":{"227":{"position":[[111,10]]}}}],["privat",{"_index":341,"t":{"40":{"position":[[406,7]]},"82":{"position":[[440,7]]},"118":{"position":[[742,7]]},"189":{"position":[[540,7],[581,7]]}}}],["privileg",{"_index":455,"t":{"68":{"position":[[1213,10]]}}}],["pro",{"_index":1124,"t":{"267":{"position":[[197,3]]},"269":{"position":[[34,3]]},"285":{"position":[[163,3]]},"348":{"position":[[95,3]]}}}],["process",{"_index":66,"t":{"6":{"position":[[317,7],[364,7]]},"28":{"position":[[355,10],[382,9]]},"44":{"position":[[77,8]]},"50":{"position":[[71,7]]},"171":{"position":[[1197,9]]},"179":{"position":[[40,9]]},"231":{"position":[[507,7]]},"262":{"position":[[319,8]]},"352":{"position":[[112,12]]}}}],["process.kil",{"_index":366,"t":{"50":{"position":[[27,13]]}}}],["produc",{"_index":1076,"t":{"252":{"position":[[247,8]]}}}],["product",{"_index":1079,"t":{"252":{"position":[[291,10],[382,10]]},"346":{"position":[[324,10]]},"350":{"position":[[239,11]]}}}],["profil",{"_index":1190,"t":{"299":{"position":[[337,7]]}}}],["program",{"_index":203,"t":{"18":{"position":[[39,11],[240,11]]},"96":{"position":[[4,11]]},"183":{"position":[[36,11]]},"195":{"position":[[501,11]]},"358":{"position":[[290,11]]}}}],["progress",{"_index":164,"t":{"14":{"position":[[147,9]]},"28":{"position":[[274,10]]},"30":{"position":[[33,8]]},"36":{"position":[[107,8]]},"88":{"position":[[162,8]]},"106":{"position":[[51,9],[226,9]]},"145":{"position":[[460,8]]},"147":{"position":[[236,8]]},"153":{"position":[[39,11]]},"175":{"position":[[621,8]]},"179":{"position":[[91,8],[686,8]]},"187":{"position":[[157,9]]},"195":{"position":[[220,9],[862,8]]},"199":{"position":[[81,8],[260,8]]},"203":{"position":[[125,8],[505,8]]},"211":{"position":[[119,8]]},"254":{"position":[[123,9]]},"322":{"position":[[169,11]]},"344":{"position":[[96,8]]},"346":{"position":[[396,8]]},"352":{"position":[[4,8],[34,9],[326,8]]}}}],["progress/complet",{"_index":412,"t":{"64":{"position":[[106,19]]},"336":{"position":[[235,19]]}}}],["project",{"_index":511,"t":{"82":{"position":[[904,7]]},"231":{"position":[[52,7]]},"297":{"position":[[186,9]]},"301":{"position":[[164,7]]}}}],["promot",{"_index":296,"t":{"32":{"position":[[371,7],[384,7]]},"193":{"position":[[346,7],[363,7]]},"299":{"position":[[610,8]]}}}],["promote/demot",{"_index":911,"t":{"191":{"position":[[101,14]]}}}],["prompt",{"_index":520,"t":{"88":{"position":[[205,8]]},"133":{"position":[[80,8]]},"149":{"position":[[262,7],[445,7]]},"203":{"position":[[373,7]]},"207":{"position":[[181,7],[408,6]]},"209":{"position":[[11,8],[38,8]]},"211":{"position":[[475,7],[519,7]]},"235":{"position":[[326,7]]},"237":{"position":[[103,7],[243,7],[285,7],[325,7]]},"239":{"position":[[5,8]]},"246":{"position":[[13,7]]},"248":{"position":[[124,7]]},"252":{"position":[[446,6]]},"256":{"position":[[51,6]]},"350":{"position":[[322,6]]},"354":{"position":[[267,6],[298,7]]},"356":{"position":[[154,7]]},"358":{"position":[[55,6],[218,10]]}}}],["proper",{"_index":1321,"t":{"354":{"position":[[210,6]]}}}],["provid",{"_index":73,"t":{"6":{"position":[[448,10]]},"8":{"position":[[199,9]]},"14":{"position":[[116,9],[390,10]]},"82":{"position":[[162,9],[458,8]]},"187":{"position":[[46,9]]},"195":{"position":[[466,9]]},"231":{"position":[[120,11]]},"260":{"position":[[23,10],[99,8],[176,9]]},"262":{"position":[[107,9],[154,10],[262,9]]},"265":{"position":[[0,8],[93,9]]},"267":{"position":[[6,9],[97,8]]},"269":{"position":[[64,9]]},"271":{"position":[[72,8]]},"275":{"position":[[255,9]]},"277":{"position":[[78,8]]},"279":{"position":[[50,9]]},"281":{"position":[[80,8]]},"285":{"position":[[235,8],[373,8]]},"287":{"position":[[84,8]]},"289":{"position":[[46,9],[83,9],[310,8]]},"330":{"position":[[514,12]]},"344":{"position":[[29,9]]},"346":{"position":[[12,8],[126,8],[203,9]]},"348":{"position":[[18,8],[166,8],[279,8],[359,9]]},"362":{"position":[[525,8]]}}}],["provider/model",{"_index":1100,"t":{"262":{"position":[[26,14]]},"342":{"position":[[94,14]]}}}],["prune",{"_index":249,"t":{"24":{"position":[[420,5]]},"299":{"position":[[437,7]]}}}],["publish",{"_index":22,"t":{"4":{"position":[[136,9]]}}}],["pull",{"_index":571,"t":{"108":{"position":[[52,4]]},"110":{"position":[[93,4]]},"118":{"position":[[495,4]]},"122":{"position":[[37,4]]},"299":{"position":[[46,5]]}}}],["purpos",{"_index":1016,"t":{"231":{"position":[[76,7]]}}}],["push",{"_index":588,"t":{"110":{"position":[[168,7]]},"223":{"position":[[155,4]]}}}],["pwd",{"_index":1050,"t":{"244":{"position":[[152,4]]}}}],["python",{"_index":1213,"t":{"303":{"position":[[78,9]]}}}],["queri",{"_index":458,"t":{"68":{"position":[[1306,6]]},"74":{"position":[[9,6]]},"229":{"position":[[220,6]]}}}],["question",{"_index":1001,"t":{"225":{"position":[[483,8]]}}}],["queue",{"_index":268,"t":{"28":{"position":[[72,5],[107,6]]},"128":{"position":[[426,6]]},"143":{"position":[[344,5]]},"145":{"position":[[489,6]]},"147":{"position":[[163,5]]},"149":{"position":[[99,5],[276,6]]},"171":{"position":[[647,5],[689,6]]},"195":{"position":[[295,5]]},"229":{"position":[[566,5]]}}}],["quick",{"_index":915,"t":{"195":{"position":[[57,5]]},"211":{"position":[[780,5]]}}}],["quickli",{"_index":755,"t":{"149":{"position":[[157,7]]}}}],["quota",{"_index":703,"t":{"131":{"position":[[697,5]]}}}],["ram",{"_index":821,"t":{"167":{"position":[[688,3]]}}}],["random",{"_index":506,"t":{"82":{"position":[[619,6]]}}}],["rare",{"_index":786,"t":{"157":{"position":[[307,7]]}}}],["rate",{"_index":1073,"t":{"252":{"position":[[187,4]]},"346":{"position":[[303,5]]},"350":{"position":[[214,4]]}}}],["raw",{"_index":649,"t":{"122":{"position":[[341,3]]},"332":{"position":[[284,3]]}}}],["re",{"_index":90,"t":{"6":{"position":[[657,2]]},"8":{"position":[[15,2]]},"82":{"position":[[581,2]]},"273":{"position":[[268,2]]}}}],["read",{"_index":566,"t":{"106":{"position":[[337,5]]},"110":{"position":[[309,5]]},"118":{"position":[[480,4],[511,4],[535,4]]},"128":{"position":[[269,4]]},"163":{"position":[[90,4]]},"217":{"position":[[39,4]]},"229":{"position":[[79,4]]},"237":{"position":[[29,5]]},"244":{"position":[[38,4],[324,4]]},"248":{"position":[[151,6]]},"358":{"position":[[95,4],[258,4]]}}}],["read/writ",{"_index":975,"t":{"217":{"position":[[395,10]]}}}],["read_fil",{"_index":829,"t":{"169":{"position":[[561,10],[614,9]]},"175":{"position":[[234,10]]},"179":{"position":[[214,10],[530,10]]},"201":{"position":[[30,9],[109,9]]},"205":{"position":[[220,9]]},"217":{"position":[[29,9]]}}}],["readabl",{"_index":1329,"t":{"360":{"position":[[6,8]]}}}],["reader",{"_index":816,"t":{"167":{"position":[[535,6]]}}}],["real",{"_index":550,"t":{"106":{"position":[[41,4]]},"147":{"position":[[195,4]]},"187":{"position":[[142,4]]},"211":{"position":[[198,4]]},"213":{"position":[[259,4]]},"344":{"position":[[86,4]]},"346":{"position":[[386,4]]}}}],["rebound",{"_index":1320,"t":{"354":{"position":[[167,7],[528,7]]}}}],["rebuild",{"_index":1241,"t":{"312":{"position":[[170,7]]}}}],["receiv",{"_index":344,"t":{"40":{"position":[[453,8]]},"82":{"position":[[784,7]]},"191":{"position":[[200,7]]}}}],["recent",{"_index":1086,"t":{"254":{"position":[[149,6]]},"307":{"position":[[110,6],[143,6],[168,6]]}}}],["recipi",{"_index":977,"t":{"219":{"position":[[78,10]]}}}],["recommend",{"_index":53,"t":{"6":{"position":[[31,12]]},"82":{"position":[[334,11]]},"84":{"position":[[0,12]]},"118":{"position":[[218,14]]},"135":{"position":[[103,13]]}}}],["reconfigur",{"_index":77,"t":{"6":{"position":[[497,11]]},"82":{"position":[[940,13]]}}}],["reconnect",{"_index":787,"t":{"159":{"position":[[78,9]]}}}],["recoveri",{"_index":373,"t":{"56":{"position":[[90,8]]},"68":{"position":[[175,9],[676,9],[1125,9]]},"78":{"position":[[239,8]]},"86":{"position":[[188,8]]}}}],["recur",{"_index":995,"t":{"225":{"position":[[249,9]]}}}],["redesign",{"_index":1287,"t":{"344":{"position":[[75,10],[217,8]]},"362":{"position":[[12,8]]}}}],["redirect",{"_index":352,"t":{"44":{"position":[[134,9]]},"131":{"position":[[191,8]]},"135":{"position":[[365,8]]}}}],["reduc",{"_index":561,"t":{"106":{"position":[[209,6]]},"350":{"position":[[332,6]]}}}],["refer",{"_index":916,"t":{"195":{"position":[[175,9],[770,9]]},"299":{"position":[[259,10]]},"334":{"position":[[135,11]]},"356":{"position":[[273,9]]}}}],["refin",{"_index":1336,"t":{"362":{"position":[[72,7]]}}}],["reflect",{"_index":1191,"t":{"299":{"position":[[393,10]]},"301":{"position":[[440,10]]},"305":{"position":[[169,11]]},"336":{"position":[[258,9]]}}}],["refresh",{"_index":221,"t":{"20":{"position":[[161,7],[169,7]]},"102":{"position":[[75,7],[83,7]]},"151":{"position":[[101,7]]},"157":{"position":[[96,9],[106,7],[229,7],[278,7]]},"161":{"position":[[257,7]]},"273":{"position":[[231,7]]},"283":{"position":[[114,9]]}}}],["regardless",{"_index":1043,"t":{"242":{"position":[[54,10]]},"258":{"position":[[0,10]]}}}],["regist",{"_index":578,"t":{"108":{"position":[[205,10],[467,10]]},"120":{"position":[[392,10]]},"195":{"position":[[8,9]]},"211":{"position":[[742,10]]}}}],["reinforc",{"_index":1197,"t":{"299":{"position":[[586,10]]}}}],["reject",{"_index":294,"t":{"32":{"position":[[253,6],[265,6]]},"40":{"position":[[638,8]]},"189":{"position":[[227,7],[532,7]]},"193":{"position":[[213,6],[229,6]]}}}],["relat",{"_index":1243,"t":{"312":{"position":[[369,7]]}}}],["relationship",{"_index":1206,"t":{"301":{"position":[[349,12]]}}}],["releas",{"_index":269,"t":{"28":{"position":[[114,7]]},"171":{"position":[[696,7],[942,8]]},"324":{"position":[[28,7]]},"328":{"position":[[0,7]]},"342":{"position":[[5,7]]},"344":{"position":[[0,7]]},"364":{"position":[[5,7]]}}}],["relev",{"_index":918,"t":{"195":{"position":[[799,8]]},"299":{"position":[[179,8]]},"356":{"position":[[302,8]]}}}],["reliabl",{"_index":1262,"t":{"328":{"position":[[91,12]]},"332":{"position":[[328,11]]}}}],["remain",{"_index":770,"t":{"153":{"position":[[72,7]]},"193":{"position":[[473,7]]},"283":{"position":[[302,6]]}}}],["rememb",{"_index":782,"t":{"155":{"position":[[360,9]]},"260":{"position":[[146,9]]}}}],["remind",{"_index":1166,"t":{"293":{"position":[[30,7]]},"295":{"position":[[0,7]]},"322":{"position":[[0,7]]}}}],["remot",{"_index":503,"t":{"82":{"position":[[423,6]]},"223":{"position":[[163,6]]},"244":{"position":[[260,7]]},"265":{"position":[[367,6]]}}}],["remov",{"_index":28,"t":{"4":{"position":[[202,7],[468,7]]},"32":{"position":[[316,6]]},"50":{"position":[[83,7]]},"193":{"position":[[278,6],[294,6]]}}}],["renam",{"_index":43,"t":{"4":{"position":[[396,6]]}}}],["render",{"_index":772,"t":{"153":{"position":[[139,8]]},"332":{"position":[[107,9]]},"362":{"position":[[240,9]]}}}],["repeat",{"_index":682,"t":{"128":{"position":[[418,7]]},"143":{"position":[[268,6]]},"147":{"position":[[143,6]]},"229":{"position":[[743,6]]},"252":{"position":[[27,8]]}}}],["repeatedli",{"_index":1075,"t":{"252":{"position":[[230,11]]}}}],["repetit",{"_index":1066,"t":{"250":{"position":[[125,10]]},"350":{"position":[[152,10],[351,11]]}}}],["replac",{"_index":107,"t":{"8":{"position":[[147,7]]},"82":{"position":[[1090,7]]},"217":{"position":[[201,7]]},"350":{"position":[[64,8]]},"354":{"position":[[366,8]]},"360":{"position":[[66,7]]}}}],["repo",{"_index":623,"t":{"118":{"position":[[412,5],[714,4]]},"120":{"position":[[81,4],[248,4]]},"340":{"position":[[238,5]]}}}],["report",{"_index":866,"t":{"175":{"position":[[613,7]]}}}],["repositori",{"_index":466,"t":{"76":{"position":[[66,10]]},"92":{"position":[[52,10]]},"94":{"position":[[163,11]]},"108":{"position":[[273,12]]},"118":{"position":[[350,10],[380,12],[438,10],[750,13]]},"120":{"position":[[14,10]]},"122":{"position":[[209,10]]}}}],["request",{"_index":198,"t":{"16":{"position":[[94,7]]},"32":{"position":[[107,8],[235,7],[298,7]]},"34":{"position":[[36,7]]},"40":{"position":[[600,9]]},"108":{"position":[[57,9]]},"110":{"position":[[98,8]]},"118":{"position":[[500,8]]},"122":{"position":[[42,7]]},"131":{"position":[[680,7]]},"189":{"position":[[165,7],[497,7]]},"191":{"position":[[29,9],[91,9]]},"193":{"position":[[85,8],[177,7],[253,7]]},"195":{"position":[[98,7]]},"217":{"position":[[387,7]]},"283":{"position":[[196,8]]}}}],["requir",{"_index":1,"t":{"2":{"position":[[8,8]]},"28":{"position":[[208,9]]},"78":{"position":[[207,8],[469,8]]},"128":{"position":[[433,8]]},"163":{"position":[[35,9]]},"171":{"position":[[790,9],[1060,9]]},"229":{"position":[[105,7]]},"244":{"position":[[68,7]]},"267":{"position":[[87,9],[133,8]]},"287":{"position":[[163,8]]},"289":{"position":[[467,8]]}}}],["research",{"_index":805,"t":{"167":{"position":[[105,9]]},"177":{"position":[[76,9]]}}}],["reselect",{"_index":115,"t":{"8":{"position":[[227,11]]}}}],["reset",{"_index":199,"t":{"16":{"position":[[110,5],[116,5]]},"28":{"position":[[151,6],[163,6]]},"32":{"position":[[485,5]]},"34":{"position":[[116,5]]},"171":{"position":[[733,6],[745,6],[832,6],[989,6]]},"191":{"position":[[127,5]]},"193":{"position":[[498,5]]},"195":{"position":[[640,5]]},"235":{"position":[[245,6]]}}}],["resolv",{"_index":1221,"t":{"303":{"position":[[220,8]]}}}],["resourc",{"_index":235,"t":{"22":{"position":[[243,8]]},"167":{"position":[[605,8]]},"171":{"position":[[250,8]]}}}],["respect",{"_index":868,"t":{"175":{"position":[[677,8]]}}}],["respond",{"_index":859,"t":{"175":{"position":[[200,8]]},"203":{"position":[[446,7]]},"209":{"position":[[128,7]]}}}],["respons",{"_index":193,"t":{"14":{"position":[[712,9]]},"66":{"position":[[182,10]]},"94":{"position":[[181,9]]},"173":{"position":[[365,8]]},"191":{"position":[[208,10]]},"199":{"position":[[480,8]]},"203":{"position":[[286,9]]},"211":{"position":[[208,8],[572,8]]},"273":{"position":[[96,9]]},"295":{"position":[[151,9]]},"332":{"position":[[79,14]]}}}],["rest",{"_index":673,"t":{"128":{"position":[[247,5]]},"169":{"position":[[14,4],[161,4],[658,5]]},"179":{"position":[[493,4]]},"207":{"position":[[445,4]]},"239":{"position":[[94,4]]}}}],["restart",{"_index":65,"t":{"6":{"position":[[280,7],[288,7]]},"32":{"position":[[521,7]]},"52":{"position":[[8,7],[137,8]]},"56":{"position":[[159,8]]},"66":{"position":[[58,9],[109,7]]},"68":{"position":[[218,8]]},"76":{"position":[[311,7]]},"78":{"position":[[75,8],[294,8]]},"235":{"position":[[255,8]]},"262":{"position":[[60,10]]},"295":{"position":[[142,8]]}}}],["restart=on",{"_index":442,"t":{"68":{"position":[[686,10]]},"78":{"position":[[350,10]]}}}],["restor",{"_index":1174,"t":{"295":{"position":[[131,7]]}}}],["restrict",{"_index":684,"t":{"128":{"position":[[523,12]]},"358":{"position":[[273,12]]}}}],["result",{"_index":741,"t":{"145":{"position":[[206,7]]},"167":{"position":[[158,8]]},"169":{"position":[[801,7]]}}}],["resum",{"_index":234,"t":{"22":{"position":[[175,6],[187,6]]},"171":{"position":[[182,6],[194,6]]},"307":{"position":[[305,6],[338,6],[362,6]]}}}],["retriev",{"_index":1178,"t":{"297":{"position":[[133,9]]},"299":{"position":[[136,9]]}}}],["return",{"_index":326,"t":{"40":{"position":[[68,6]]},"96":{"position":[[150,6]]},"98":{"position":[[200,6]]},"225":{"position":[[53,6]]}}}],["revamp",{"_index":1268,"t":{"330":{"position":[[374,6]]}}}],["revert",{"_index":230,"t":{"20":{"position":[[316,6]]},"102":{"position":[[285,6]]}}}],["review",{"_index":572,"t":{"108":{"position":[[67,9]]},"110":{"position":[[273,6],[282,7]]},"122":{"position":[[124,6],[153,6]]},"167":{"position":[[147,6]]},"169":{"position":[[790,6]]}}}],["review_pr",{"_index":642,"t":{"122":{"position":[[97,9]]}}}],["revok",{"_index":295,"t":{"32":{"position":[[328,6]]},"283":{"position":[[321,7]]}}}],["rf",{"_index":1041,"t":{"242":{"position":[[24,2]]}}}],["rg",{"_index":1047,"t":{"244":{"position":[[113,3]]}}}],["right",{"_index":331,"t":{"40":{"position":[[198,5]]},"52":{"position":[[110,5]]},"98":{"position":[[116,5],[184,5]]},"102":{"position":[[328,5]]},"211":{"position":[[351,5]]}}}],["riski",{"_index":1032,"t":{"235":{"position":[[113,5]]}}}],["rl",{"_index":456,"t":{"68":{"position":[[1224,4]]}}}],["rm",{"_index":1040,"t":{"242":{"position":[[20,2]]}}}],["road",{"_index":743,"t":{"145":{"position":[[296,4]]}}}],["role",{"_index":909,"t":{"191":{"position":[[0,4]]},"301":{"position":[[63,5]]}}}],["roll",{"_index":939,"t":{"203":{"position":[[159,7]]}}}],["rotat",{"_index":662,"t":{"126":{"position":[[275,6]]}}}],["rout",{"_index":1175,"t":{"295":{"position":[[161,5]]}}}],["routin",{"_index":1201,"t":{"301":{"position":[[238,8]]}}}],["rule",{"_index":1022,"t":{"231":{"position":[[277,5]]},"301":{"position":[[316,5]]}}}],["run",{"_index":9,"t":{"2":{"position":[[87,3]]},"4":{"position":[[174,8],[408,7]]},"6":{"position":[[84,7],[660,3]]},"8":{"position":[[18,4]]},"10":{"position":[[18,3]]},"14":{"position":[[195,7]]},"22":{"position":[[149,7]]},"24":{"position":[[34,3],[84,3],[303,7],[385,7]]},"42":{"position":[[8,4]]},"46":{"position":[[27,4]]},"48":{"position":[[138,8],[163,8]]},"52":{"position":[[26,7]]},"56":{"position":[[43,8],[363,8]]},"62":{"position":[[133,7]]},"66":{"position":[[68,7],[204,7]]},"68":{"position":[[774,3],[1195,4],[1350,4]]},"74":{"position":[[53,4]]},"76":{"position":[[134,3]]},"82":{"position":[[0,3]]},"84":{"position":[[43,3],[144,8],[186,8]]},"88":{"position":[[27,4],[248,7]]},"104":{"position":[[336,7],[450,7],[536,3]]},"106":{"position":[[12,7]]},"112":{"position":[[0,3]]},"133":{"position":[[0,3],[344,3]]},"135":{"position":[[18,4],[133,7]]},"157":{"position":[[315,3]]},"159":{"position":[[57,3]]},"163":{"position":[[449,3],[512,3]]},"167":{"position":[[292,3]]},"171":{"position":[[48,8],[156,7],[424,3]]},"173":{"position":[[162,7],[222,7]]},"175":{"position":[[469,4]]},"179":{"position":[[514,7]]},"195":{"position":[[702,7]]},"235":{"position":[[470,3]]},"254":{"position":[[213,4]]},"262":{"position":[[311,7]]},"269":{"position":[[110,4]]},"271":{"position":[[0,3]]},"281":{"position":[[0,3]]},"289":{"position":[[0,3]]},"312":{"position":[[320,4]]},"316":{"position":[[9,4]]},"322":{"position":[[27,3]]},"330":{"position":[[205,7]]}}}],["run_command",{"_index":877,"t":{"179":{"position":[[354,11]]},"201":{"position":[[84,11]]},"205":{"position":[[274,11]]},"221":{"position":[[29,11]]}}}],["runtim",{"_index":475,"t":{"76":{"position":[[296,7]]},"231":{"position":[[4,7]]},"262":{"position":[[44,7]]},"312":{"position":[[147,8]]},"330":{"position":[[459,7]]}}}],["safe",{"_index":1034,"t":{"237":{"position":[[146,4]]},"244":{"position":[[33,4]]},"338":{"position":[[168,4]]},"358":{"position":[[90,4]]}}}],["same",{"_index":57,"t":{"6":{"position":[[116,5],[681,5]]},"175":{"position":[[519,4],[545,4]]},"199":{"position":[[96,4]]},"252":{"position":[[153,4]]},"269":{"position":[[127,4]]},"273":{"position":[[45,5]]}}}],["sanit",{"_index":1323,"t":{"354":{"position":[[566,13]]}}}],["save",{"_index":265,"t":{"26":{"position":[[447,5]]},"131":{"position":[[268,4]]},"137":{"position":[[260,5]]},"141":{"position":[[298,4]]},"177":{"position":[[291,4]]},"229":{"position":[[589,4]]},"322":{"position":[[195,4]]}}}],["schedul",{"_index":187,"t":{"14":{"position":[[568,9]]},"42":{"position":[[61,9]]},"68":{"position":[[1036,9]]},"78":{"position":[[392,9]]},"225":{"position":[[240,8],[291,9],[331,9],[347,9],[388,9],[403,9]]},"231":{"position":[[345,9]]},"235":{"position":[[447,9]]},"291":{"position":[[12,8]]},"293":{"position":[[79,9]]}}}],["schedule_task",{"_index":994,"t":{"225":{"position":[[226,13]]}}}],["schtask",{"_index":454,"t":{"68":{"position":[[1110,8],[1297,8],[1341,8],[1374,8]]},"74":{"position":[[0,8],[44,8],[77,8]]},"78":{"position":[[402,10]]}}}],["scope",{"_index":629,"t":{"118":{"position":[[719,5]]},"175":{"position":[[607,5]]},"207":{"position":[[166,5]]},"237":{"position":[[54,5],[130,5],[279,5]]},"248":{"position":[[23,6],[136,5],[200,5],[222,6],[297,6]]},"299":{"position":[[454,5]]},"301":{"position":[[5,5]]}}}],["score",{"_index":1186,"t":{"299":{"position":[[128,7]]}}}],["scroll",{"_index":332,"t":{"40":{"position":[[242,6],[297,6],[344,6]]},"100":{"position":[[127,6],[162,6],[203,6],[246,6],[289,6],[338,6]]},"102":{"position":[[370,6],[381,6]]},"199":{"position":[[277,9]]},"203":{"position":[[483,6]]},"354":{"position":[[487,9]]}}}],["scrollabl",{"_index":526,"t":{"94":{"position":[[212,10]]},"354":{"position":[[334,10]]}}}],["search",{"_index":668,"t":{"128":{"position":[[70,6],[288,8]]},"141":{"position":[[33,6]]},"145":{"position":[[89,8],[307,8]]},"147":{"position":[[153,6]]},"217":{"position":[[190,6]]},"229":{"position":[[53,6],[174,6]]},"307":{"position":[[175,6],[199,6],[236,7]]},"309":{"position":[[236,6]]},"316":{"position":[[43,6],[131,6]]},"330":{"position":[[608,6]]},"340":{"position":[[161,6]]}}}],["search/skill.md",{"_index":1250,"t":{"316":{"position":[[82,15]]}}}],["second",{"_index":185,"t":{"14":{"position":[[536,6]]},"56":{"position":[[257,8]]},"195":{"position":[[389,6]]},"205":{"position":[[51,9]]},"309":{"position":[[0,6]]},"312":{"position":[[228,6]]}}}],["second_brain_enabled=fals",{"_index":1227,"t":{"309":{"position":[[73,26]]}}}],["secret",{"_index":694,"t":{"131":{"position":[[331,6]]},"133":{"position":[[191,6],[217,6]]},"161":{"position":[[53,6]]}}}],["section",{"_index":1255,"t":{"324":{"position":[[5,7]]},"362":{"position":[[133,7]]}}}],["see",{"_index":40,"t":{"4":{"position":[[360,3]]},"46":{"position":[[108,3]]},"90":{"position":[[38,3]]},"94":{"position":[[251,3]]},"106":{"position":[[239,3]]},"120":{"position":[[372,4]]},"133":{"position":[[314,4]]},"173":{"position":[[359,3]]},"179":{"position":[[443,3]]},"191":{"position":[[273,3]]},"197":{"position":[[114,3]]},"199":{"position":[[256,3]]},"254":{"position":[[140,4]]},"312":{"position":[[7,3]]}}}],["seed",{"_index":1248,"t":{"316":{"position":[[22,5]]},"330":{"position":[[597,6]]}}}],["select",{"_index":321,"t":{"38":{"position":[[152,8]]},"40":{"position":[[267,8]]},"82":{"position":[[284,9]]},"100":{"position":[[36,9],[104,8],[418,8]]},"118":{"position":[[369,6],[703,6]]},"209":{"position":[[56,9]]},"271":{"position":[[49,6]]},"281":{"position":[[49,6]]},"354":{"position":[[104,10],[274,9]]}}}],["selector",{"_index":1302,"t":{"348":{"position":[[386,9]]}}}],["self",{"_index":1038,"t":{"237":{"position":[[336,4]]},"252":{"position":[[426,4]]},"258":{"position":[[225,4],[242,4]]}}}],["send",{"_index":343,"t":{"40":{"position":[[439,5],[569,4]]},"50":{"position":[[13,5]]},"82":{"position":[[721,4]]},"161":{"position":[[311,5]]},"179":{"position":[[422,4]]},"189":{"position":[[183,7],[280,7],[465,4]]},"191":{"position":[[182,4]]},"205":{"position":[[69,5]]},"217":{"position":[[332,4]]},"219":{"position":[[42,4]]}}}],["send_fil",{"_index":973,"t":{"217":{"position":[[322,9]]}}}],["send_messag",{"_index":976,"t":{"219":{"position":[[29,12]]}}}],["sent",{"_index":611,"t":{"118":{"position":[[139,4]]},"126":{"position":[[113,4]]},"191":{"position":[[230,4]]},"203":{"position":[[338,4]]},"211":{"position":[[337,4]]}}}],["separ",{"_index":482,"t":{"76":{"position":[[396,10]]},"197":{"position":[[174,8]]},"199":{"position":[[397,8]]},"269":{"position":[[88,8]]},"338":{"position":[[128,8]]}}}],["sequenti",{"_index":807,"t":{"167":{"position":[[180,12]]}}}],["server",{"_index":1121,"t":{"265":{"position":[[550,6]]},"293":{"position":[[71,7]]}}}],["servic",{"_index":54,"t":{"6":{"position":[[52,7],[772,7],[806,7],[843,7],[882,7],[898,7],[925,7]]},"48":{"position":[[65,7]]},"68":{"position":[[28,7],[519,7],[746,7],[997,7]]},"78":{"position":[[28,7],[102,7],[175,7]]},"80":{"position":[[8,7],[31,7]]},"84":{"position":[[89,7],[249,7]]},"126":{"position":[[134,7]]}}}],["session",{"_index":178,"t":{"14":{"position":[[370,7],[420,7]]},"149":{"position":[[237,7]]},"153":{"position":[[168,8]]},"155":{"position":[[341,8]]},"207":{"position":[[30,8],[299,8],[457,8]]},"235":{"position":[[3,7],[218,8]]},"239":{"position":[[106,7]]},"248":{"position":[[245,8]]},"262":{"position":[[187,7],[282,7]]},"273":{"position":[[143,7]]},"283":{"position":[[205,7]]},"338":{"position":[[240,10]]},"342":{"position":[[175,7]]}}}],["session.json",{"_index":1136,"t":{"273":{"position":[[199,12]]},"283":{"position":[[249,12]]}}}],["set",{"_index":78,"t":{"6":{"position":[[509,8]]},"16":{"position":[[144,3]]},"22":{"position":[[271,3],[283,3]]},"26":{"position":[[332,3]]},"116":{"position":[[267,7]]},"118":{"position":[[326,3],[685,3]]},"120":{"position":[[0,3],[360,4]]},"131":{"position":[[286,8],[482,8]]},"137":{"position":[[412,3]]},"143":{"position":[[192,3],[264,3]]},"145":{"position":[[348,4]]},"149":{"position":[[465,3]]},"155":{"position":[[261,3]]},"171":{"position":[[301,3],[313,3]]},"181":{"position":[[132,3]]},"213":{"position":[[12,3]]},"229":{"position":[[641,3],[739,3]]},"289":{"position":[[215,3],[494,3]]},"309":{"position":[[113,3]]}}}],["setup",{"_index":89,"t":{"6":{"position":[[651,5],[668,5]]},"8":{"position":[[27,5]]},"40":{"position":[[536,6]]},"82":{"position":[[673,6],[843,6]]},"133":{"position":[[31,5],[52,7],[300,6]]},"189":{"position":[[141,6],[362,6]]},"262":{"position":[[228,5]]},"271":{"position":[[42,6]]},"281":{"position":[[42,6]]},"289":{"position":[[128,5]]}}}],["share",{"_index":414,"t":{"64":{"position":[[145,6]]},"118":{"position":[[72,5]]},"126":{"position":[[261,5]]},"161":{"position":[[179,6]]},"179":{"position":[[676,5]]}}}],["shell",{"_index":240,"t":{"24":{"position":[[40,5]]},"58":{"position":[[57,5]]},"104":{"position":[[215,6]]},"171":{"position":[[556,5]]},"179":{"position":[[639,5]]},"207":{"position":[[146,5]]},"221":{"position":[[51,5]]},"235":{"position":[[516,5]]},"237":{"position":[[151,5],[228,5]]},"330":{"position":[[213,5]]},"358":{"position":[[117,5]]}}}],["shift+ent",{"_index":533,"t":{"98":{"position":[[275,11],[393,12]]},"354":{"position":[[134,11]]},"364":{"position":[[152,13]]}}}],["ship",{"_index":462,"t":{"76":{"position":[[27,4]]},"340":{"position":[[227,7]]}}}],["short",{"_index":783,"t":{"157":{"position":[[78,5]]},"231":{"position":[[435,5]]},"283":{"position":[[78,5]]}}}],["short/medium/long",{"_index":722,"t":{"141":{"position":[[224,17]]}}}],["shortcut",{"_index":300,"t":{"36":{"position":[[6,9],[52,8]]},"40":{"position":[[0,8]]},"98":{"position":[[0,8]]},"330":{"position":[[397,10]]},"332":{"position":[[141,10]]},"338":{"position":[[75,9]]},"340":{"position":[[118,9]]},"364":{"position":[[100,8],[178,8]]}}}],["shorthand",{"_index":63,"t":{"6":{"position":[[258,10]]},"46":{"position":[[129,10]]},"88":{"position":[[214,10]]}}}],["shot",{"_index":997,"t":{"225":{"position":[[273,4]]},"291":{"position":[[57,4]]}}}],["show",{"_index":36,"t":{"4":{"position":[[297,5]]},"6":{"position":[[385,4],[435,4],[581,4],[711,4],[913,4]]},"14":{"position":[[26,4],[99,4],[157,4]]},"16":{"position":[[28,4]]},"18":{"position":[[26,4]]},"20":{"position":[[24,4],[363,4]]},"22":{"position":[[228,4]]},"24":{"position":[[203,4],[234,4]]},"26":{"position":[[29,4],[371,4]]},"30":{"position":[[82,4],[136,4]]},"36":{"position":[[148,4]]},"48":{"position":[[180,5]]},"54":{"position":[[13,5]]},"56":{"position":[[15,5]]},"84":{"position":[[227,5]]},"106":{"position":[[35,5]]},"135":{"position":[[447,6]]},"137":{"position":[[29,4],[443,4]]},"141":{"position":[[95,4]]},"145":{"position":[[200,5],[437,5]]},"147":{"position":[[189,5]]},"163":{"position":[[504,7]]},"171":{"position":[[235,4]]},"173":{"position":[[153,4]]},"183":{"position":[[265,4]]},"193":{"position":[[42,4]]},"195":{"position":[[144,4],[728,5]]},"197":{"position":[[135,5]]},"199":{"position":[[122,4]]},"207":{"position":[[47,5]]},"223":{"position":[[58,4]]},"229":{"position":[[438,4]]},"244":{"position":[[250,5]]},"262":{"position":[[90,5]]},"287":{"position":[[276,5]]},"356":{"position":[[239,5]]}}}],["shown",{"_index":110,"t":{"8":{"position":[[172,5]]},"82":{"position":[[997,5]]},"203":{"position":[[225,5],[383,5]]},"211":{"position":[[483,5]]},"271":{"position":[[226,5]]},"281":{"position":[[178,5]]},"352":{"position":[[226,5]]}}}],["shuffl",{"_index":681,"t":{"128":{"position":[[409,8]]},"143":{"position":[[234,7]]},"145":{"position":[[535,8]]},"147":{"position":[[132,7]]},"229":{"position":[[700,7]]}}}],["sidebar",{"_index":1345,"t":{"362":{"position":[[367,7]]}}}],["sign",{"_index":1130,"t":{"271":{"position":[[167,4]]},"281":{"position":[[119,4]]}}}],["significantli",{"_index":1031,"t":{"233":{"position":[[108,13]]}}}],["sigterm",{"_index":365,"t":{"50":{"position":[[19,7]]}}}],["silent",{"_index":1242,"t":{"312":{"position":[[241,8]]}}}],["similar",{"_index":1060,"t":{"244":{"position":[[316,7]]}}}],["simpli",{"_index":1067,"t":{"252":{"position":[[11,6]]}}}],["simultan",{"_index":811,"t":{"167":{"position":[[296,14]]}}}],["singl",{"_index":195,"t":{"14":{"position":[[732,6]]},"167":{"position":[[26,6]]},"197":{"position":[[40,6]]},"211":{"position":[[20,6]]},"285":{"position":[[312,6]]}}}],["sk",{"_index":112,"t":{"8":{"position":[[186,2]]},"82":{"position":[[1015,2]]}}}],["skill",{"_index":182,"t":{"14":{"position":[[482,7],[505,6]]},"225":{"position":[[112,5],[138,6],[172,6],[179,6],[205,5],[219,6]]},"231":{"position":[[312,6]]},"246":{"position":[[219,5],[236,6]]},"314":{"position":[[0,6]]},"316":{"position":[[50,5],[138,6]]},"318":{"position":[[39,5]]},"320":{"position":[[22,6]]},"322":{"position":[[48,6],[55,6],[79,6]]},"330":{"position":[[615,5]]},"340":{"position":[[168,5]]}}}],["skill.md",{"_index":1062,"t":{"246":{"position":[[271,8]]},"318":{"position":[[73,9],[96,8]]}}}],["skip",{"_index":679,"t":{"128":{"position":[[395,5]]},"143":{"position":[[118,4],[154,4]]},"145":{"position":[[214,5]]},"149":{"position":[[300,5]]},"229":{"position":[[355,4],[393,4]]}}}],["skip/recov",{"_index":754,"t":{"149":{"position":[[144,12]]}}}],["slash",{"_index":843,"t":{"171":{"position":[[1085,5]]},"354":{"position":[[0,5]]}}}],["small",{"_index":700,"t":{"131":{"position":[[620,5]]}}}],["smart",{"_index":1305,"t":{"350":{"position":[[146,5]]}}}],["solut",{"_index":789,"t":{"163":{"position":[[6,8]]}}}],["someth",{"_index":369,"t":{"52":{"position":[[86,9]]},"149":{"position":[[320,9]]}}}],["song",{"_index":742,"t":{"145":{"position":[[225,5]]},"149":{"position":[[105,5]]},"163":{"position":[[305,5]]}}}],["sonnet",{"_index":946,"t":{"205":{"position":[[137,6]]},"265":{"position":[[199,6],[242,7]]},"285":{"position":[[84,6]]}}}],["soul",{"_index":1018,"t":{"231":{"position":[[189,6]]}}}],["sourc",{"_index":1350,"t":{"364":{"position":[[58,6]]}}}],["spawn",{"_index":347,"t":{"44":{"position":[[53,6]]},"165":{"position":[[60,5]]},"173":{"position":[[78,5]]},"227":{"position":[[43,5]]}}}],["speaker",{"_index":779,"t":{"155":{"position":[[52,8]]}}}],["specif",{"_index":161,"t":{"14":{"position":[[73,8]]},"118":{"position":[[403,8]]},"173":{"position":[[213,8]]},"195":{"position":[[158,8],[688,8]]},"301":{"position":[[408,8]]},"322":{"position":[[86,14]]},"356":{"position":[[21,8]]}}}],["specifi",{"_index":630,"t":{"120":{"position":[[66,10]]}}}],["spotifi",{"_index":141,"t":{"10":{"position":[[229,7]]},"26":{"position":[[20,8],[34,7],[60,8],[82,7],[120,8],[188,8],[263,8],[295,7],[311,8],[343,7],[358,8],[402,8],[429,7]]},"28":{"position":[[285,9]]},"128":{"position":[[25,7],[253,7],[346,7],[444,7],[485,7]]},"131":{"position":[[55,7],[171,7],[365,7],[519,7],[708,8]]},"133":{"position":[[93,8],[124,7],[176,7],[319,8],[348,8]]},"135":{"position":[[23,8],[379,8],[454,8]]},"137":{"position":[[20,8],[91,8],[147,8],[215,8],[242,7],[273,8],[343,8],[375,7],[391,8],[430,8]]},"141":{"position":[[156,7]]},"147":{"position":[[4,8]]},"149":{"position":[[10,7],[383,8]]},"151":{"position":[[11,7]]},"155":{"position":[[0,7],[155,8],[226,7],[283,8]]},"157":{"position":[[20,7],[319,8]]},"159":{"position":[[0,8],[61,8]]},"161":{"position":[[24,7]]},"163":{"position":[[15,8],[264,7],[383,8],[453,8],[516,8]]},"171":{"position":[[1128,9]]},"195":{"position":[[597,8],[606,7]]},"229":{"position":[[31,7],[113,7]]},"330":{"position":[[363,7],[381,8]]},"338":{"position":[[6,7]]},"340":{"position":[[103,7]]},"362":{"position":[[489,7]]}}}],["spotify'",{"_index":788,"t":{"161":{"position":[[139,9],[338,9]]},"163":{"position":[[187,9],[561,9]]}}}],["spotify_devic",{"_index":719,"t":{"141":{"position":[[125,15]]},"229":{"position":[[474,15]]}}}],["spotify_lik",{"_index":725,"t":{"141":{"position":[[285,12]]},"229":{"position":[[576,12]]}}}],["spotify_next",{"_index":729,"t":{"143":{"position":[[105,12]]},"145":{"position":[[237,12]]},"229":{"position":[[342,12]]}}}],["spotify_now_play",{"_index":717,"t":{"141":{"position":[[75,19]]},"145":{"position":[[416,20]]},"229":{"position":[[418,19]]}}}],["spotify_paus",{"_index":728,"t":{"143":{"position":[[76,13]]},"145":{"position":[[264,13]]},"229":{"position":[[303,13]]}}}],["spotify_play",{"_index":727,"t":{"143":{"position":[[18,12]]},"229":{"position":[[241,12]]}}}],["spotify_playlist",{"_index":724,"t":{"141":{"position":[[248,17]]},"229":{"position":[[841,17]]}}}],["spotify_previ",{"_index":731,"t":{"143":{"position":[[137,16]]},"229":{"position":[[376,16]]}}}],["spotify_queu",{"_index":737,"t":{"143":{"position":[[302,13]]},"145":{"position":[[502,13]]},"229":{"position":[[524,13]]}}}],["spotify_repeat",{"_index":736,"t":{"143":{"position":[[249,14]]},"229":{"position":[[724,14]]}}}],["spotify_search",{"_index":714,"t":{"141":{"position":[[18,14]]},"229":{"position":[[159,14]]}}}],["spotify_shuffl",{"_index":735,"t":{"143":{"position":[[211,15]]},"229":{"position":[[677,15]]}}}],["spotify_shuffle(tru",{"_index":747,"t":{"145":{"position":[[554,21]]}}}],["spotify_top_track",{"_index":720,"t":{"141":{"position":[[172,18]]},"145":{"position":[[180,19]]},"229":{"position":[[781,18]]}}}],["spotify_volum",{"_index":733,"t":{"143":{"position":[[177,14]]},"229":{"position":[[626,14]]}}}],["spotify_volume(50",{"_index":746,"t":{"145":{"position":[[373,18]]}}}],["sqlite",{"_index":1231,"t":{"309":{"position":[[305,7],[390,9]]},"312":{"position":[[362,6]]}}}],["sqlite3",{"_index":1237,"t":{"312":{"position":[[67,7],[185,7],[205,7]]}}}],["src/config.t",{"_index":937,"t":{"201":{"position":[[149,14]]}}}],["src/index.t",{"_index":933,"t":{"201":{"position":[[42,12]]},"205":{"position":[[232,12]]}}}],["src/utils.t",{"_index":934,"t":{"201":{"position":[[69,12]]},"205":{"position":[[259,12]]}}}],["ssh",{"_index":706,"t":{"135":{"position":[[227,3],[235,3]]}}}],["ssh/ci",{"_index":139,"t":{"10":{"position":[[198,6]]}}}],["ssh/mobile/light",{"_index":775,"t":{"153":{"position":[[223,16]]}}}],["stabil",{"_index":1271,"t":{"332":{"position":[[117,10]]}}}],["stage",{"_index":226,"t":{"20":{"position":[[212,5],[229,5],[285,6]]},"100":{"position":[[412,5]]},"102":{"position":[[179,5],[196,5],[254,6]]},"110":{"position":[[151,7]]},"223":{"position":[[107,5]]}}}],["stale",{"_index":355,"t":{"44":{"position":[[177,5]]},"56":{"position":[[299,5]]},"86":{"position":[[139,5]]},"299":{"position":[[469,5]]}}}],["start",{"_index":55,"t":{"6":{"position":[[62,5],[100,5],[133,6],[148,5],[154,5],[199,5],[218,5],[820,5],[958,5]]},"8":{"position":[[360,5]]},"34":{"position":[[20,6]]},"40":{"position":[[445,7],[574,7]]},"44":{"position":[[8,5],[14,6]]},"46":{"position":[[8,5],[148,5]]},"48":{"position":[[84,6]]},"52":{"position":[[54,6]]},"62":{"position":[[0,5]]},"68":{"position":[[128,6],[611,6],[913,5],[1076,6]]},"72":{"position":[[17,5]]},"76":{"position":[[237,5]]},"78":{"position":[[42,6],[227,5]]},"82":{"position":[[688,6],[726,6]]},"84":{"position":[[108,6],[305,6]]},"86":{"position":[[8,5],[14,6]]},"88":{"position":[[8,5],[233,5]]},"90":{"position":[[21,5],[72,5]]},"135":{"position":[[0,5]]},"137":{"position":[[105,5]]},"179":{"position":[[177,8]]},"189":{"position":[[191,7],[288,6],[470,6]]},"191":{"position":[[235,6]]},"193":{"position":[[558,5]]},"195":{"position":[[91,6]]},"207":{"position":[[7,5]]},"235":{"position":[[11,6]]}}}],["startup",{"_index":383,"t":{"56":{"position":[[335,7]]},"235":{"position":[[301,7]]},"330":{"position":[[44,8]]},"332":{"position":[[216,7]]}}}],["stat",{"_index":963,"t":{"211":{"position":[[623,5]]},"244":{"position":[[133,5]]}}}],["state",{"_index":1010,"t":{"229":{"position":[[708,5],[755,5]]},"299":{"position":[[364,5]]},"305":{"position":[[20,6]]},"352":{"position":[[219,6]]}}}],["static",{"_index":1322,"t":{"354":{"position":[[383,6]]}}}],["statu",{"_index":71,"t":{"6":{"position":[[428,6],[906,6],[933,6]]},"10":{"position":[[222,6],[256,6]]},"14":{"position":[[91,7],[167,6]]},"16":{"position":[[46,6]]},"20":{"position":[[195,6]]},"22":{"position":[[58,6]]},"26":{"position":[[53,6]]},"34":{"position":[[72,6]]},"56":{"position":[[8,6]]},"68":{"position":[[944,6]]},"72":{"position":[[48,6]]},"80":{"position":[[16,6]]},"102":{"position":[[107,6]]},"106":{"position":[[65,6]]},"137":{"position":[[45,7]]},"169":{"position":[[357,7]]},"173":{"position":[[604,7]]},"179":{"position":[[456,7]]},"183":{"position":[[256,6]]},"191":{"position":[[291,7]]},"195":{"position":[[185,7],[235,6],[322,6]]},"197":{"position":[[47,6]]},"199":{"position":[[34,6],[193,6],[365,6],[436,6]]},"203":{"position":[[107,6],[254,6]]},"211":{"position":[[27,6],[128,6]]},"223":{"position":[[42,6]]},"227":{"position":[[181,6]]},"237":{"position":[[186,7]]},"244":{"position":[[207,7]]},"330":{"position":[[53,7],[254,7]]},"340":{"position":[[181,6]]},"346":{"position":[[419,6]]},"352":{"position":[[90,6]]},"354":{"position":[[597,6]]},"358":{"position":[[162,7]]}}}],["stay",{"_index":340,"t":{"40":{"position":[[400,5]]},"203":{"position":[[529,5]]}}}],["stderr",{"_index":101,"t":{"6":{"position":[[986,6]]},"90":{"position":[[56,7]]}}}],["steer",{"_index":760,"t":{"149":{"position":[[250,8]]}}}],["step",{"_index":210,"t":{"18":{"position":[[176,4],[184,5]]},"30":{"position":[[99,6],[154,6]]},"106":{"position":[[118,4],[265,5]]},"133":{"position":[[169,4],[229,4]]},"167":{"position":[[200,4]]},"175":{"position":[[492,4]]},"183":{"position":[[168,4],[176,4]]},"197":{"position":[[13,4]]},"199":{"position":[[0,4],[66,5],[75,5],[138,5],[160,4]]},"201":{"position":[[19,5]]},"203":{"position":[[198,5]]},"205":{"position":[[37,5],[115,5]]},"211":{"position":[[80,4],[177,5]]},"258":{"position":[[82,5],[196,5]]},"332":{"position":[[259,4]]},"346":{"position":[[437,4],[561,4]]},"350":{"position":[[449,4]]},"352":{"position":[[153,4],[171,5],[395,4],[503,4]]}}}],["still",{"_index":790,"t":{"163":{"position":[[109,5]]}}}],["stop",{"_index":24,"t":{"4":{"position":[[154,5]]},"6":{"position":[[333,4],[338,4]]},"22":{"position":[[73,4],[87,4]]},"24":{"position":[[331,4]]},"28":{"position":[[37,4],[78,5],[84,4],[170,4],[267,6]]},"50":{"position":[[8,4]]},"52":{"position":[[16,5]]},"62":{"position":[[96,4]]},"68":{"position":[[976,4]]},"72":{"position":[[80,4]]},"88":{"position":[[284,4],[306,4]]},"104":{"position":[[364,4]]},"171":{"position":[[80,4],[94,4],[653,5],[664,5],[752,4],[823,5],[845,5],[913,5],[1012,5],[1121,6]]},"195":{"position":[[263,5],[269,4]]},"227":{"position":[[201,4]]},"252":{"position":[[498,4]]},"254":{"position":[[202,5],[258,5]]},"256":{"position":[[150,4]]},"258":{"position":[[276,4]]}}}],["stop_ag",{"_index":847,"t":{"173":{"position":[[195,10]]},"227":{"position":[[190,10]]}}}],["stopal",{"_index":410,"t":{"62":{"position":[[172,8]]},"104":{"position":[[429,7]]}}}],["storag",{"_index":478,"t":{"76":{"position":[[357,7]]},"126":{"position":[[4,7]]}}}],["store",{"_index":509,"t":{"82":{"position":[[864,6]]},"118":{"position":[[95,6]]},"126":{"position":[[31,6]]},"157":{"position":[[8,6]]},"161":{"position":[[64,6],[281,6]]},"273":{"position":[[162,6]]},"283":{"position":[[213,6]]},"297":{"position":[[121,7]]},"299":{"position":[[66,6]]},"301":{"position":[[19,6]]},"309":{"position":[[325,6]]},"312":{"position":[[409,7]]}}}],["stream",{"_index":188,"t":{"14":{"position":[[584,7],[613,9],[632,7],[650,9],[680,7],[700,9]]},"187":{"position":[[86,10]]},"195":{"position":[[344,7],[364,9]]},"211":{"position":[[188,9],[261,8]]},"213":{"position":[[274,9]]},"332":{"position":[[69,9]]}}}],["strict",{"_index":1308,"t":{"350":{"position":[[279,6]]}}}],["strip",{"_index":988,"t":{"225":{"position":[[74,9]]}}}],["structur",{"_index":851,"t":{"173":{"position":[[465,9]]},"297":{"position":[[26,10]]},"356":{"position":[[71,10]]}}}],["stuck",{"_index":1065,"t":{"250":{"position":[[116,5]]},"252":{"position":[[397,5],[459,5]]},"346":{"position":[[345,5]]},"350":{"position":[[266,6]]}}}],["style",{"_index":522,"t":{"92":{"position":[[27,5]]},"100":{"position":[[230,6]]},"338":{"position":[[19,5]]}}}],["sub",{"_index":215,"t":{"18":{"position":[[359,3]]},"22":{"position":[[37,3],[94,3],[111,3],[157,3],[203,3],[233,3],[302,3]]},"24":{"position":[[107,3]]},"58":{"position":[[86,3]]},"104":{"position":[[110,3],[224,3]]},"165":{"position":[[157,3]]},"167":{"position":[[222,3],[488,3]]},"171":{"position":[[37,3],[101,3],[118,3],[164,3],[210,3],[240,3],[332,3],[390,3],[447,3],[532,3],[564,3],[617,3]]},"173":{"position":[[35,3],[86,3],[184,3],[230,3]]},"175":{"position":[[74,3],[140,3],[380,3]]},"179":{"position":[[81,3],[464,5]]},"181":{"position":[[0,3],[303,3]]},"183":{"position":[[0,3]]},"185":{"position":[[141,3]]},"195":{"position":[[565,3]]},"227":{"position":[[51,3],[160,3],[208,3]]},"330":{"position":[[262,3]]},"340":{"position":[[52,3]]},"362":{"position":[[477,3]]}}}],["subag",{"_index":880,"t":{"181":{"position":[[54,10]]}}}],["subagents_en",{"_index":886,"t":{"181":{"position":[[270,17]]}}}],["subagents_max_concurr",{"_index":888,"t":{"181":{"position":[[314,24]]}}}],["subagents_mod",{"_index":890,"t":{"181":{"position":[[371,14]]}}}],["submit",{"_index":322,"t":{"38":{"position":[[226,6]]}}}],["subscript",{"_index":683,"t":{"128":{"position":[[460,12]]},"267":{"position":[[120,12],[219,12],[287,12]]},"269":{"position":[[38,12]]},"271":{"position":[[128,13]]},"279":{"position":[[24,12]]},"285":{"position":[[207,12],[319,13]]},"287":{"position":[[150,12]]},"346":{"position":[[49,12]]},"348":{"position":[[99,12]]}}}],["substanti",{"_index":925,"t":{"199":{"position":[[168,12]]},"205":{"position":[[7,11]]},"211":{"position":[[633,11]]},"352":{"position":[[477,11]]}}}],["succeed",{"_index":1074,"t":{"252":{"position":[[208,10]]}}}],["success",{"_index":710,"t":{"135":{"position":[[422,10]]},"252":{"position":[[179,7],[319,7],[490,7]]},"260":{"position":[[165,10]]},"346":{"position":[[295,7]]},"350":{"position":[[206,7]]}}}],["successfulexit",{"_index":431,"t":{"68":{"position":[[195,14]]}}}],["sudo",{"_index":432,"t":{"68":{"position":[[239,4],[722,4],[778,4]]},"78":{"position":[[524,6]]},"242":{"position":[[14,5]]}}}],["suffix",{"_index":406,"t":{"60":{"position":[[209,6]]}}}],["suggest",{"_index":319,"t":{"38":{"position":[[116,11],[161,10]]},"354":{"position":[[14,11],[56,11]]}}}],["summari",{"_index":592,"t":{"110":{"position":[[336,7]]},"293":{"position":[[98,7]]},"299":{"position":[[345,8],[370,8]]},"346":{"position":[[532,9]]}}}],["supervisor",{"_index":1277,"t":{"336":{"position":[[199,10]]}}}],["support",{"_index":144,"t":{"10":{"position":[[248,7]]},"58":{"position":[[12,8]]},"88":{"position":[[124,8]]},"104":{"position":[[15,8]]},"149":{"position":[[23,8]]},"153":{"position":[[8,8]]},"275":{"position":[[176,9]]},"338":{"position":[[196,7]]},"354":{"position":[[200,7]]},"360":{"position":[[116,7]]}}}],["surfac",{"_index":413,"t":{"64":{"position":[[129,8]]},"179":{"position":[[695,8]]}}}],["surviv",{"_index":417,"t":{"66":{"position":[[43,7]]}}}],["suspect",{"_index":663,"t":{"126":{"position":[[299,7]]}}}],["suspici",{"_index":1081,"t":{"252":{"position":[[363,10]]},"254":{"position":[[42,10]]},"256":{"position":[[16,10]]},"350":{"position":[[251,11]]}}}],["swift",{"_index":389,"t":{"60":{"position":[[45,5]]},"104":{"position":[[300,5]]}}}],["switch",{"_index":179,"t":{"14":{"position":[[401,6]]},"18":{"position":[[67,6],[142,6]]},"36":{"position":[[263,6],[322,6]]},"94":{"position":[[127,8]]},"128":{"position":[[179,10]]},"195":{"position":[[422,6],[479,6]]},"207":{"position":[[358,6]]},"239":{"position":[[130,9]]},"262":{"position":[[8,6],[167,8],[296,6]]},"330":{"position":[[473,9]]},"342":{"position":[[168,6]]}}}],["syntax",{"_index":1343,"t":{"362":{"position":[[329,6]]}}}],["system",{"_index":95,"t":{"6":{"position":[[799,6],[875,6],[918,6]]},"48":{"position":[[58,6]]},"68":{"position":[[280,6]]},"78":{"position":[[21,6]]},"84":{"position":[[82,6]]},"175":{"position":[[561,6]]},"199":{"position":[[297,6]]},"225":{"position":[[452,6],[549,6]]},"233":{"position":[[33,6]]},"250":{"position":[[47,6]]},"301":{"position":[[459,6]]},"305":{"position":[[145,6]]},"330":{"position":[[189,6]]},"344":{"position":[[105,7]]},"346":{"position":[[405,6]]},"350":{"position":[[315,6]]},"352":{"position":[[22,6]]}}}],["system'",{"_index":819,"t":{"167":{"position":[[671,8]]}}}],["systemctl",{"_index":440,"t":{"68":{"position":[[630,9],[896,9],[927,9],[959,9]]},"72":{"position":[[0,9],[31,9],[63,9]]}}}],["systemd",{"_index":437,"t":{"68":{"position":[[545,7]]},"78":{"position":[[319,7]]}}}],["tab",{"_index":320,"t":{"38":{"position":[[128,3]]},"40":{"position":[[163,3]]},"98":{"position":[[149,3]]},"128":{"position":[[166,5]]}}}],["tail",{"_index":1046,"t":{"244":{"position":[[101,5]]}}}],["take",{"_index":1030,"t":{"233":{"position":[[81,5]]},"295":{"position":[[28,4]]}}}],["talk",{"_index":713,"t":{"139":{"position":[[42,4]]},"145":{"position":[[5,4]]}}}],["tappabl",{"_index":962,"t":{"211":{"position":[[492,8]]}}}],["task",{"_index":167,"t":{"14":{"position":[[203,4],[556,6],[578,5]]},"18":{"position":[[324,6],[349,4]]},"24":{"position":[[77,6],[117,4],[175,4],[219,5],[273,4],[322,4],[404,5],[447,5]]},"28":{"position":[[67,4],[140,4],[368,5],[436,4]]},"36":{"position":[[164,5],[187,4]]},"42":{"position":[[71,5]]},"60":{"position":[[11,5]]},"62":{"position":[[141,5]]},"64":{"position":[[33,6],[48,6],[67,4],[163,4]]},"66":{"position":[[11,5],[76,5]]},"68":{"position":[[1031,4],[1046,4]]},"78":{"position":[[387,4]]},"104":{"position":[[75,6],[209,5],[251,4],[469,5]]},"106":{"position":[[20,6]]},"165":{"position":[[95,5]]},"167":{"position":[[67,4],[286,5],[416,4]]},"169":{"position":[[394,5]]},"171":{"position":[[355,6],[380,4],[417,6],[457,4],[511,4],[585,5],[642,4],[722,4],[977,4]]},"173":{"position":[[103,4],[269,4]]},"177":{"position":[[36,4],[109,4],[199,4],[382,6]]},"179":{"position":[[186,7],[606,5]]},"183":{"position":[[62,6]]},"185":{"position":[[50,4]]},"187":{"position":[[152,4]]},"195":{"position":[[258,4],[591,5]]},"197":{"position":[[18,6]]},"199":{"position":[[181,5],[415,4]]},"203":{"position":[[17,5],[317,4],[563,4]]},"205":{"position":[[19,4],[98,4]]},"211":{"position":[[85,5],[163,5],[645,5]]},"225":{"position":[[286,4],[341,5],[398,4]]},"227":{"position":[[86,5]]},"231":{"position":[[355,5]]},"235":{"position":[[457,5]]},"258":{"position":[[92,4]]},"291":{"position":[[21,5]]},"295":{"position":[[84,5],[215,4]]},"330":{"position":[[184,4],[354,8]]},"334":{"position":[[191,5]]},"340":{"position":[[76,5]]},"346":{"position":[[527,4]]},"350":{"position":[[454,6]]},"352":{"position":[[489,5]]},"356":{"position":[[30,4]]},"360":{"position":[[26,4],[42,4],[54,4],[99,4]]}}}],["task'",{"_index":865,"t":{"175":{"position":[[600,6]]}}}],["tast",{"_index":1020,"t":{"231":{"position":[[205,6]]}}}],["team",{"_index":701,"t":{"131":{"position":[[626,6]]}}}],["telegram",{"_index":120,"t":{"8":{"position":[[292,8],[330,9]]},"12":{"position":[[73,8]]},"14":{"position":[[47,9],[64,8],[599,8]]},"32":{"position":[[20,9],[35,8],[60,9],[91,8],[116,9],[146,8],[174,9],[243,9],[282,8],[306,9],[347,8],[361,9],[394,8],[419,9],[450,8],[475,9],[501,8]]},"34":{"position":[[126,8]]},"40":{"position":[[363,8],[391,8],[480,9],[549,8],[660,9]]},"42":{"position":[[48,8]]},"82":{"position":[[388,8],[646,8],[748,9]]},"86":{"position":[[64,8]]},"108":{"position":[[318,9]]},"135":{"position":[[242,9]]},"175":{"position":[[667,9]]},"185":{"position":[[279,8]]},"187":{"position":[[20,8]]},"193":{"position":[[28,8],[102,8],[204,8],[269,8],[337,8],[397,8],[489,8],[514,8]]},"195":{"position":[[149,8],[650,8],[679,8],[719,8],[743,8],[790,8]]},"207":{"position":[[21,8]]},"211":{"position":[[413,8]]},"213":{"position":[[0,8],[210,8],[349,9]]},"217":{"position":[[350,9]]},"219":{"position":[[69,8]]},"225":{"position":[[523,9]]},"235":{"position":[[152,9],[337,9]]},"256":{"position":[[89,9]]},"295":{"position":[[195,9]]},"307":{"position":[[39,8]]},"344":{"position":[[170,8]]},"356":{"position":[[12,8],[213,8],[254,8],[293,8]]}}}],["telegram'",{"_index":914,"t":{"195":{"position":[[33,10]]},"211":{"position":[[756,10]]}}}],["telegram_bot_token",{"_index":965,"t":{"213":{"position":[[131,18]]}}}],["telegram_en",{"_index":966,"t":{"213":{"position":[[178,16]]}}}],["telegram_stream",{"_index":967,"t":{"213":{"position":[[233,18]]}}}],["tell",{"_index":781,"t":{"155":{"position":[[209,4]]},"293":{"position":[[0,4]]},"318":{"position":[[0,4]]}}}],["temporari",{"_index":507,"t":{"82":{"position":[[697,9]]}}}],["term",{"_index":723,"t":{"141":{"position":[[242,5]]},"231":{"position":[[441,5],[452,5]]},"309":{"position":[[226,4]]}}}],["termin",{"_index":136,"t":{"10":{"position":[[163,8]]},"36":{"position":[[32,8]]},"42":{"position":[[110,9]]},"46":{"position":[[57,9]]},"88":{"position":[[57,8]]},"98":{"position":[[360,9]]},"108":{"position":[[306,8]]},"147":{"position":[[77,9]]},"153":{"position":[[240,9]]},"271":{"position":[[239,8]]},"281":{"position":[[191,8]]},"332":{"position":[[313,8]]},"360":{"position":[[104,11]]}}}],["terminal/daemon",{"_index":86,"t":{"6":{"position":[[601,15]]}}}],["terminal/tti",{"_index":480,"t":{"76":{"position":[[374,12]]}}}],["test",{"_index":822,"t":{"169":{"position":[[55,6],[242,5],[473,6],[742,5]]},"179":{"position":[[396,6],[565,5]]},"201":{"position":[[102,4]]},"205":{"position":[[292,4]]}}}],["text",{"_index":190,"t":{"14":{"position":[[608,4],[666,4]]},"82":{"position":[[626,5]]},"153":{"position":[[63,5],[205,4]]},"195":{"position":[[359,4]]},"211":{"position":[[183,4]]},"213":{"position":[[269,4]]},"217":{"position":[[209,4]]},"309":{"position":[[251,4]]},"362":{"position":[[428,4]]}}}],["they'll",{"_index":827,"t":{"169":{"position":[[480,7]]}}}],["they'r",{"_index":277,"t":{"28":{"position":[[374,7]]},"171":{"position":[[1189,7]]},"209":{"position":[[88,7]]}}}],["thing",{"_index":1071,"t":{"252":{"position":[[158,5]]}}}],["think",{"_index":1316,"t":{"352":{"position":[[210,8]]},"354":{"position":[[588,8]]}}}],["those",{"_index":1063,"t":{"246":{"position":[[307,5]]}}}],["thread",{"_index":804,"t":{"167":{"position":[[33,9]]}}}],["threshold",{"_index":1313,"t":{"350":{"position":[[393,10]]}}}],["through",{"_index":213,"t":{"18":{"position":[[276,8]]},"38":{"position":[[108,7]]},"100":{"position":[[380,7]]},"108":{"position":[[136,7]]},"128":{"position":[[125,7]]},"183":{"position":[[236,7]]},"267":{"position":[[29,7]]},"269":{"position":[[115,7]]},"275":{"position":[[324,7]]},"279":{"position":[[74,7],[115,7]]},"285":{"position":[[195,7],[302,7]]}}}],["tier",{"_index":793,"t":{"163":{"position":[[202,5]]}}}],["time",{"_index":486,"t":{"78":{"position":[[512,5]]},"82":{"position":[[26,5],[668,4]]},"106":{"position":[[46,4],[175,6],[276,6]]},"120":{"position":[[92,5]]},"133":{"position":[[47,4]]},"147":{"position":[[200,4]]},"167":{"position":[[77,5]]},"177":{"position":[[296,4]]},"187":{"position":[[147,4]]},"189":{"position":[[241,4]]},"207":{"position":[[350,4]]},"211":{"position":[[203,4]]},"213":{"position":[[264,4]]},"235":{"position":[[441,5]]},"254":{"position":[[226,5]]},"271":{"position":[[29,4]]},"281":{"position":[[29,4]]},"299":{"position":[[600,5]]},"305":{"position":[[104,5]]},"344":{"position":[[91,4]]},"346":{"position":[[391,4],[555,5]]},"352":{"position":[[389,5]]}}}],["time_rang",{"_index":721,"t":{"141":{"position":[[211,12]]}}}],["timeout",{"_index":954,"t":{"209":{"position":[[157,9]]}}}],["timer",{"_index":1293,"t":{"346":{"position":[[460,7]]}}}],["timerang",{"_index":1014,"t":{"229":{"position":[[822,11]]}}}],["timestamp",{"_index":396,"t":{"60":{"position":[[100,11]]}}}],["tip",{"_index":1341,"t":{"362":{"position":[[264,7]]}}}],["titl",{"_index":637,"t":{"122":{"position":[[55,6],[295,6]]}}}],["tn",{"_index":459,"t":{"68":{"position":[[1313,3],[1355,3],[1391,3]]},"74":{"position":[[16,3],[58,3],[94,3]]}}}],["togeth",{"_index":837,"t":{"169":{"position":[[809,9]]}}}],["toggl",{"_index":189,"t":{"14":{"position":[[592,6]]},"18":{"position":[[263,6]]},"30":{"position":[[26,6]]},"36":{"position":[[100,6]]},"40":{"position":[[145,6]]},"98":{"position":[[109,6]]},"102":{"position":[[309,6],[321,6]]},"143":{"position":[[227,6]]},"183":{"position":[[221,6]]},"195":{"position":[[352,6]]},"211":{"position":[[248,7]]},"229":{"position":[[693,6]]},"354":{"position":[[506,9],[521,6]]},"364":{"position":[[171,6]]}}}],["token",{"_index":121,"t":{"8":{"position":[[301,5],[351,5],[414,5]]},"12":{"position":[[131,7]]},"16":{"position":[[33,5],[165,5]]},"26":{"position":[[453,6]]},"82":{"position":[[401,5]]},"108":{"position":[[440,6]]},"118":{"position":[[11,5],[83,6],[195,5],[565,5],[779,5]]},"126":{"position":[[286,5]]},"137":{"position":[[266,6]]},"157":{"position":[[28,6],[70,5],[114,5],[157,6],[222,6],[286,5]]},"159":{"position":[[32,6]]},"161":{"position":[[265,6]]},"163":{"position":[[419,5],[480,6]]},"187":{"position":[[39,6]]},"195":{"position":[[309,5]]},"205":{"position":[[166,6]]},"211":{"position":[[600,5]]},"213":{"position":[[79,5],[154,5],[310,5]]},"225":{"position":[[433,5]]},"231":{"position":[[395,5]]},"273":{"position":[[151,6],[219,6]]},"283":{"position":[[66,5],[102,5],[275,6]]},"287":{"position":[[241,5]]},"322":{"position":[[200,7]]},"346":{"position":[[589,5]]},"348":{"position":[[210,5]]},"352":{"position":[[411,5]]}}}],["tokens/new",{"_index":619,"t":{"118":{"position":[[275,10]]}}}],["toler",{"_index":1312,"t":{"350":{"position":[[383,9]]}}}],["tool",{"_index":93,"t":{"6":{"position":[[732,7]]},"14":{"position":[[443,6],[476,5]]},"30":{"position":[[94,4],[149,4]]},"106":{"position":[[305,4]]},"108":{"position":[[195,5],[360,5],[453,5]]},"110":{"position":[[377,4]]},"120":{"position":[[386,5]]},"122":{"position":[[0,4]]},"139":{"position":[[14,5]]},"141":{"position":[[0,4]]},"143":{"position":[[0,4]]},"173":{"position":[[19,5],[47,4]]},"175":{"position":[[524,4]]},"185":{"position":[[187,4]]},"203":{"position":[[120,4]]},"217":{"position":[[0,4]]},"219":{"position":[[0,4]]},"221":{"position":[[0,4]]},"223":{"position":[[0,4]]},"225":{"position":[[0,4]]},"227":{"position":[[0,4]]},"229":{"position":[[6,5],[69,5],[99,5],[130,4]]},"246":{"position":[[256,5],[313,5]]},"250":{"position":[[136,4]]},"252":{"position":[[36,4]]},"254":{"position":[[156,4]]},"258":{"position":[[107,4]]},"322":{"position":[[143,5]]},"346":{"position":[[482,4]]},"350":{"position":[[80,4],[286,4],[373,4]]},"352":{"position":[[148,4],[166,4],[272,4]]},"358":{"position":[[268,4]]}}}],["tool/act",{"_index":553,"t":{"106":{"position":[[97,11]]}}}],["toolcallloopdetector",{"_index":1303,"t":{"350":{"position":[[117,20]]}}}],["toolset",{"_index":581,"t":{"108":{"position":[[245,8]]},"215":{"position":[[23,7]]}}}],["top",{"_index":676,"t":{"128":{"position":[[297,3]]},"141":{"position":[[200,3]]},"145":{"position":[[161,3]]},"199":{"position":[[222,3]]},"203":{"position":[[549,3]]},"211":{"position":[[155,3]]},"229":{"position":[[811,3]]},"299":{"position":[[173,3]]}}}],["topic",{"_index":806,"t":{"167":{"position":[[120,6]]}}}],["toward",{"_index":1200,"t":{"301":{"position":[[157,6]]}}}],["track",{"_index":677,"t":{"128":{"position":[[301,7]]},"141":{"position":[[40,7],[204,6],[305,5]]},"143":{"position":[[38,6],[131,5],[171,5],[286,6],[322,5]]},"145":{"position":[[119,7],[165,8],[452,5],[529,5]]},"147":{"position":[[219,5]]},"149":{"position":[[292,7]]},"151":{"position":[[42,5],[61,5]]},"179":{"position":[[592,7]]},"229":{"position":[[185,7],[261,6],[368,5],[410,5],[461,5],[544,5],[596,5],[815,6]]},"231":{"position":[[407,8]]},"324":{"position":[[13,6]]},"330":{"position":[[310,8]]},"346":{"position":[[442,9],[695,9]]},"352":{"position":[[13,8],[295,7]]},"356":{"position":[[120,8]]},"358":{"position":[[245,8]]}}}],["trackid",{"_index":1007,"t":{"229":{"position":[[618,7]]}}}],["tradit",{"_index":803,"t":{"167":{"position":[[0,11]]}}}],["trailer",{"_index":604,"t":{"116":{"position":[[105,8]]},"124":{"position":[[121,8]]}}}],["transient",{"_index":1327,"t":{"356":{"position":[[166,9]]}}}],["treat",{"_index":470,"t":{"76":{"position":[[162,5]]},"126":{"position":[[195,5]]},"161":{"position":[[198,5]]}}}],["tree",{"_index":223,"t":{"20":{"position":[[182,4]]},"40":{"position":[[235,4]]},"102":{"position":[[96,4]]},"223":{"position":[[37,4]]}}}],["tri",{"_index":795,"t":{"163":{"position":[[316,3]]},"248":{"position":[[69,5]]},"260":{"position":[[42,5],[123,5]]}}}],["trigger",{"_index":452,"t":{"68":{"position":[[1083,8]]},"256":{"position":[[36,7]]},"352":{"position":[[537,7]]}}}],["trip",{"_index":744,"t":{"145":{"position":[[301,5]]}}}],["true",{"_index":881,"t":{"181":{"position":[[74,4]]},"213":{"position":[[284,4]]}}}],["tsc",{"_index":1058,"t":{"244":{"position":[[298,3]]}}}],["tty/raw",{"_index":137,"t":{"10":{"position":[[174,7]]}}}],["tui",{"_index":519,"t":{"88":{"position":[[79,3]]},"330":{"position":[[26,3]]},"342":{"position":[[53,4]]},"354":{"position":[[243,3]]}}}],["tv",{"_index":778,"t":{"155":{"position":[[48,3]]}}}],["two",{"_index":874,"t":{"177":{"position":[[343,3]]},"344":{"position":[[21,3]]}}}],["type",{"_index":106,"t":{"8":{"position":[[127,4],[309,4]]},"12":{"position":[[0,4]]},"38":{"position":[[9,4]]},"211":{"position":[[230,6]]},"213":{"position":[[289,4]]},"221":{"position":[[176,4]]},"229":{"position":[[227,6]]},"299":{"position":[[83,5]]},"301":{"position":[[0,4]]},"354":{"position":[[28,4]]}}}],["type[titl",{"_index":1344,"t":{"362":{"position":[[336,17]]}}}],["typescript",{"_index":1212,"t":{"303":{"position":[[54,11]]}}}],["typic",{"_index":1137,"t":{"275":{"position":[[38,7]]},"285":{"position":[[53,7]]}}}],["u",{"_index":450,"t":{"68":{"position":[[867,1]]}}}],["ui",{"_index":769,"t":{"153":{"position":[[69,2]]},"354":{"position":[[622,2]]}}}],["unam",{"_index":1056,"t":{"244":{"position":[[196,6]]}}}],["unchang",{"_index":105,"t":{"8":{"position":[[113,10]]}}}],["under",{"_index":622,"t":{"118":{"position":[[344,5],[418,5]]},"348":{"position":[[262,5]]}}}],["undo",{"_index":229,"t":{"20":{"position":[[304,4]]},"102":{"position":[[273,4]]}}}],["uninstal",{"_index":98,"t":{"6":{"position":[[851,9],[861,9]]},"80":{"position":[[39,9]]}}}],["uniqu",{"_index":398,"t":{"60":{"position":[[128,6]]}}}],["unit",{"_index":438,"t":{"68":{"position":[[558,4]]},"78":{"position":[[332,4]]}}}],["unless",{"_index":156,"t":{"12":{"position":[[82,6]]}}}],["unload",{"_index":436,"t":{"68":{"position":[[451,6]]},"70":{"position":[[78,6]]}}}],["unnecessari",{"_index":1310,"t":{"350":{"position":[[339,11]]}}}],["unpair",{"_index":298,"t":{"34":{"position":[[96,7]]},"195":{"position":[[632,7]]}}}],["unpin",{"_index":931,"t":{"199":{"position":[[451,8]]}}}],["until",{"_index":941,"t":{"203":{"position":[[307,5],[553,5]]},"283":{"position":[[315,5]]}}}],["up",{"_index":52,"t":{"6":{"position":[[28,2]]},"44":{"position":[[219,3]]},"48":{"position":[[8,2]]},"84":{"position":[[21,2],[161,2],[203,2]]},"131":{"position":[[449,2]]},"203":{"position":[[490,2]]},"213":{"position":[[16,2]]},"254":{"position":[[218,2]]}}}],["up/down",{"_index":317,"t":{"38":{"position":[[82,7]]},"40":{"position":[[304,7]]},"151":{"position":[[82,7]]},"330":{"position":[[415,8]]},"338":{"position":[[144,7]]}}}],["upbeat",{"_index":761,"t":{"149":{"position":[[285,6]]}}}],["updat",{"_index":18,"t":{"4":{"position":[[66,6]]},"14":{"position":[[671,8]]},"197":{"position":[[64,7],[183,8]]},"332":{"position":[[42,7]]},"334":{"position":[[119,7]]},"362":{"position":[[46,7],[252,7]]}}}],["upgrad",{"_index":14,"t":{"4":{"position":[[28,7],[88,7],[447,7]]},"328":{"position":[[41,8]]}}}],["upload",{"_index":900,"t":{"187":{"position":[[102,8]]},"211":{"position":[[275,7]]},"217":{"position":[[360,7]]}}}],["uptim",{"_index":917,"t":{"195":{"position":[[213,6]]}}}],["uri",{"_index":688,"t":{"131":{"position":[[200,4]]},"229":{"position":[[287,5],[572,3]]}}}],["url",{"_index":707,"t":{"135":{"position":[[283,4],[374,4]]},"225":{"position":[[45,3],[123,3]]},"289":{"position":[[354,4]]}}}],["us",{"_index":45,"t":{"4":{"position":[[435,3]]},"10":{"position":[[0,3]]},"14":{"position":[[386,3]]},"46":{"position":[[67,6]]},"52":{"position":[[74,6]]},"60":{"position":[[17,3]]},"82":{"position":[[76,4]]},"96":{"position":[[0,3]]},"104":{"position":[[276,3]]},"106":{"position":[[222,3]]},"114":{"position":[[30,4]]},"124":{"position":[[26,5]]},"131":{"position":[[613,3]]},"135":{"position":[[86,3]]},"139":{"position":[[28,4]]},"149":{"position":[[379,3],[424,3]]},"157":{"position":[[134,4]]},"161":{"position":[[113,4]]},"163":{"position":[[357,3]]},"169":{"position":[[336,3],[554,6],[597,6]]},"173":{"position":[[8,4],[583,3]]},"175":{"position":[[227,6],[253,6],[279,6],[329,6],[536,4]]},"177":{"position":[[338,4]]},"179":{"position":[[207,6],[248,6],[347,6],[522,7]]},"189":{"position":[[8,4]]},"197":{"position":[[33,4]]},"207":{"position":[[326,3]]},"215":{"position":[[38,3]]},"235":{"position":[[402,3]]},"248":{"position":[[8,4]]},"262":{"position":[[150,3],[328,3]]},"267":{"position":[[50,5],[201,4],[269,4]]},"269":{"position":[[0,3]]},"271":{"position":[[119,3]]},"273":{"position":[[56,4],[79,4]]},"277":{"position":[[135,3]]},"279":{"position":[[0,3]]},"283":{"position":[[143,4]]},"287":{"position":[[138,3]]},"289":{"position":[[68,4],[392,4]]},"291":{"position":[[27,5]]},"307":{"position":[[0,3]]},"320":{"position":[[0,4]]},"330":{"position":[[510,3]]},"342":{"position":[[121,3]]},"346":{"position":[[23,3],[171,3],[579,5]]},"348":{"position":[[116,3]]},"362":{"position":[[302,3]]}}}],["usag",{"_index":200,"t":{"16":{"position":[[122,5]]},"76":{"position":[[427,5]]},"211":{"position":[[606,5]]},"225":{"position":[[446,5]]},"231":{"position":[[401,5]]},"350":{"position":[[291,5]]}}}],["usage.json",{"_index":1026,"t":{"231":{"position":[[378,10]]}}}],["usage/budget",{"_index":1294,"t":{"346":{"position":[[595,12]]},"352":{"position":[[417,12]]}}}],["use_skil",{"_index":992,"t":{"225":{"position":[[186,9]]}}}],["user",{"_index":289,"t":{"32":{"position":[[126,5],[356,4]]},"34":{"position":[[56,6],[89,6]]},"40":{"position":[[434,4],[558,5]]},"68":{"position":[[252,4],[553,4],[642,4],[735,4],[806,5],[861,4],[908,4],[939,4],[971,4],[1095,4]]},"72":{"position":[[12,4],[43,4],[75,4]]},"78":{"position":[[327,4],[501,5]]},"131":{"position":[[458,6],[493,4],[658,6]]},"157":{"position":[[193,4]]},"169":{"position":[[27,5],[184,6],[252,4]]},"175":{"position":[[0,4],[212,4]]},"181":{"position":[[201,5]]},"189":{"position":[[77,4],[159,5],[459,5]]},"191":{"position":[[51,4],[116,6]]},"193":{"position":[[188,4]]},"211":{"position":[[657,4]]},"217":{"position":[[345,4]]},"225":{"position":[[476,4]]},"252":{"position":[[453,5]]},"256":{"position":[[46,4]]}}}],["user'",{"_index":1013,"t":{"229":{"position":[[804,6],[863,6]]}}}],["userid",{"_index":913,"t":{"193":{"position":[[220,8],[285,8],[354,8],[413,8]]}}}],["usernam",{"_index":597,"t":{"114":{"position":[[12,9]]}}}],["userprofile%\\.mercury\\daemon.log",{"_index":457,"t":{"68":{"position":[[1244,33]]}}}],["ux",{"_index":1267,"t":{"330":{"position":[[371,2]]}}}],["ux/system",{"_index":1284,"t":{"342":{"position":[[28,9]]}}}],["v1.1.6",{"_index":1258,"t":{"326":{"position":[[7,6]]}}}],["v1.1.7",{"_index":1257,"t":{"326":{"position":[[0,6]]}}}],["v3",{"_index":1342,"t":{"362":{"position":[[310,2]]}}}],["valid",{"_index":479,"t":{"76":{"position":[[365,8]]},"82":{"position":[[307,5],[476,9]]},"283":{"position":[[309,5]]}}}],["valu",{"_index":83,"t":{"6":{"position":[[548,6]]},"8":{"position":[[58,6],[138,5]]},"82":{"position":[[1061,6]]},"120":{"position":[[337,6]]},"133":{"position":[[287,6]]},"258":{"position":[[60,5]]}}}],["var",{"_index":1160,"t":{"289":{"position":[[327,4]]}}}],["variabl",{"_index":885,"t":{"181":{"position":[[229,8],[249,8]]},"213":{"position":[[102,8]]},"277":{"position":[[0,8]]},"287":{"position":[[0,8]]},"289":{"position":[[231,9],[295,9]]},"309":{"position":[[63,9]]}}}],["vendor",{"_index":1154,"t":{"285":{"position":[[181,6]]}}}],["verbos",{"_index":99,"t":{"6":{"position":[[950,7]]},"90":{"position":[[6,7],[80,7]]}}}],["verdict",{"_index":1077,"t":{"252":{"position":[[258,8],[267,7]]}}}],["versatil",{"_index":1156,"t":{"285":{"position":[[363,9]]}}}],["version",{"_index":23,"t":{"4":{"position":[[146,7],[280,7],[320,7]]},"10":{"position":[[155,7]]},"14":{"position":[[82,8]]},"244":{"position":[[275,8]]},"312":{"position":[[129,7]]},"324":{"position":[[45,8]]}}}],["via",{"_index":428,"t":{"68":{"position":[[150,3],[626,3],[1106,3]]},"108":{"position":[[410,3]]},"135":{"position":[[223,3]]},"175":{"position":[[630,3]]},"187":{"position":[[29,3]]},"205":{"position":[[144,3]]},"237":{"position":[[49,4],[125,4]]},"265":{"position":[[388,3]]},"273":{"position":[[14,3]]},"283":{"position":[[14,3]]},"305":{"position":[[125,3]]},"322":{"position":[[131,3]]},"346":{"position":[[150,3]]},"360":{"position":[[124,3]]}}}],["vibe",{"_index":763,"t":{"149":{"position":[[349,4]]}}}],["video",{"_index":957,"t":{"211":{"position":[[298,6]]}}}],["view",{"_index":147,"t":{"10":{"position":[[284,7]]},"14":{"position":[[520,4]]},"30":{"position":[[20,5],[42,4],[67,5],[121,5]]},"36":{"position":[[116,4]]},"88":{"position":[[171,6]]},"94":{"position":[[228,4]]},"104":{"position":[[246,4]]},"153":{"position":[[215,4]]},"195":{"position":[[871,6]]},"225":{"position":[[322,4]]},"330":{"position":[[74,6]]},"332":{"position":[[32,5]]},"354":{"position":[[395,4],[516,4]]},"364":{"position":[[166,4]]}}}],["vim",{"_index":543,"t":{"100":{"position":[[225,4]]}}}],["visibl",{"_index":1346,"t":{"362":{"position":[[375,10]]}}}],["visual",{"_index":1333,"t":{"362":{"position":[[5,6]]}}}],["volum",{"_index":680,"t":{"128":{"position":[[401,7]]},"143":{"position":[[196,6]]},"145":{"position":[[353,6]]},"147":{"position":[[122,6]]},"151":{"position":[[75,6]]},"229":{"position":[[654,6]]},"330":{"position":[[408,6]]},"338":{"position":[[137,6]]}}}],["volume/shuffle/repeat",{"_index":759,"t":{"149":{"position":[[212,21]]}}}],["vs",{"_index":838,"t":{"171":{"position":[[820,2],[829,2]]},"303":{"position":[[66,2],[181,2]]}}}],["wait",{"_index":279,"t":{"28":{"position":[[412,7]]},"175":{"position":[[727,5]]}}}],["want",{"_index":359,"t":{"46":{"position":[[100,4]]},"169":{"position":[[779,4]]},"289":{"position":[[60,4]]}}}],["warn",{"_index":929,"t":{"199":{"position":[[336,8]]},"203":{"position":[[214,8]]},"362":{"position":[[281,10]]}}}],["warrant",{"_index":870,"t":{"177":{"position":[[225,7]]}}}],["watchdog",{"_index":374,"t":{"56":{"position":[[126,9]]},"68":{"position":[[1144,8]]},"78":{"position":[[434,8]]},"332":{"position":[[293,8]]}}}],["way",{"_index":514,"t":{"84":{"position":[[36,3]]},"94":{"position":[[41,5]]}}}],["wc",{"_index":1048,"t":{"244":{"position":[[123,3]]}}}],["web",{"_index":989,"t":{"225":{"position":[[84,3]]},"267":{"position":[[164,3]]},"277":{"position":[[74,3]]},"289":{"position":[[102,4]]},"316":{"position":[[39,3],[127,3]]},"330":{"position":[[604,3]]},"340":{"position":[[157,3]]},"344":{"position":[[48,3]]},"346":{"position":[[8,3]]},"348":{"position":[[14,3],[327,3]]}}}],["weekli",{"_index":1169,"t":{"293":{"position":[[91,6]]}}}],["well",{"_index":891,"t":{"183":{"position":[[16,4]]}}}],["what'",{"_index":718,"t":{"141":{"position":[[100,6]]},"145":{"position":[[392,7]]},"197":{"position":[[141,6]]}}}],["whether",{"_index":371,"t":{"56":{"position":[[21,7]]},"254":{"position":[[103,7],[179,7]]},"256":{"position":[[65,7]]}}}],["whitelist",{"_index":1045,"t":{"244":{"position":[[20,9]]}}}],["whoami",{"_index":1054,"t":{"244":{"position":[[178,7]]}}}],["win",{"_index":1215,"t":{"303":{"position":[[114,5],[144,5]]}}}],["window",{"_index":367,"t":{"50":{"position":[[44,8]]},"68":{"position":[[12,7],[1023,7]]},"78":{"position":[[379,7]]},"167":{"position":[[55,7],[335,7]]},"175":{"position":[[411,6]]},"177":{"position":[[148,6]]},"203":{"position":[[167,6]]},"271":{"position":[[152,6]]},"281":{"position":[[104,6]]}}}],["within",{"_index":380,"t":{"56":{"position":[[247,6]]},"299":{"position":[[197,7]]}}}],["without",{"_index":10,"t":{"2":{"position":[[91,7]]},"28":{"position":[[404,7]]},"68":{"position":[[759,7]]},"78":{"position":[[455,7]]},"108":{"position":[[286,7],[430,7]]},"120":{"position":[[58,7]]},"183":{"position":[[115,7]]},"199":{"position":[[269,7]]},"252":{"position":[[342,7]]},"262":{"position":[[52,7]]},"358":{"position":[[210,7]]}}}],["wizard",{"_index":91,"t":{"6":{"position":[[674,6]]},"8":{"position":[[33,6]]},"82":{"position":[[47,6]]}}}],["won't",{"_index":585,"t":{"108":{"position":[[482,5]]}}}],["work",{"_index":153,"t":{"12":{"position":[[52,4]]},"28":{"position":[[323,4]]},"36":{"position":[[16,4]]},"42":{"position":[[82,7]]},"52":{"position":[[102,7]]},"58":{"position":[[96,5]]},"66":{"position":[[212,4]]},"104":{"position":[[100,4],[156,4],[355,4]]},"128":{"position":[[333,4]]},"163":{"position":[[115,4]]},"165":{"position":[[200,5]]},"167":{"position":[[499,4]]},"169":{"position":[[142,7],[211,7],[330,5],[488,4]]},"171":{"position":[[1148,4]]},"173":{"position":[[431,7],[544,6]]},"179":{"position":[[671,4]]},"185":{"position":[[105,5]]},"189":{"position":[[572,5]]},"199":{"position":[[58,7]]},"201":{"position":[[11,7]]},"221":{"position":[[83,7]]},"223":{"position":[[29,7]]},"248":{"position":[[266,7]]},"275":{"position":[[240,4]]},"301":{"position":[[149,7]]},"330":{"position":[[229,4]]},"336":{"position":[[95,4]]},"346":{"position":[[335,4]]},"350":{"position":[[231,4]]}}}],["worker",{"_index":411,"t":{"64":{"position":[[75,6],[99,6]]},"66":{"position":[[145,7]]},"334":{"position":[[211,8]]}}}],["workingdirectori",{"_index":1002,"t":{"227":{"position":[[92,18]]}}}],["workspac",{"_index":216,"t":{"18":{"position":[[393,9],[439,9]]},"20":{"position":[[29,9],[84,9],[117,9],[368,9]]},"40":{"position":[[39,9]]},"88":{"position":[[146,9]]},"92":{"position":[[33,9]]},"94":{"position":[[14,9],[64,9],[80,9]]},"98":{"position":[[228,9],[265,9]]},"102":{"position":[[56,9],[426,9]]},"104":{"position":[[0,9]]},"195":{"position":[[845,9]]},"328":{"position":[[50,9]]},"330":{"position":[[81,9]]},"332":{"position":[[197,9]]},"334":{"position":[[95,9]]},"340":{"position":[[37,9]]},"354":{"position":[[407,10],[418,9]]}}}],["write",{"_index":350,"t":{"44":{"position":[[86,6]]},"118":{"position":[[489,5],[520,5],[544,5]]},"167":{"position":[[127,5],[574,5]]},"169":{"position":[[37,5],[223,6],[465,7]]},"175":{"position":[[708,7]]},"179":{"position":[[547,5]]},"183":{"position":[[123,7]]},"207":{"position":[[138,7]]},"217":{"position":[[74,5]]},"237":{"position":[[89,6]]},"248":{"position":[[162,7]]},"358":{"position":[[12,5],[34,5]]}}}],["write_fil",{"_index":936,"t":{"201":{"position":[[136,10]]},"217":{"position":[[63,10]]}}}],["writer",{"_index":817,"t":{"167":{"position":[[542,6]]}}}],["ws",{"_index":148,"t":{"10":{"position":[[292,3]]},"20":{"position":[[20,3],[48,3],[103,3],[157,3],[208,3],[257,3],[300,3],[354,3]]},"94":{"position":[[90,3]]},"102":{"position":[[20,3],[71,3],[114,3],[175,3],[226,3],[269,3],[305,3],[361,3],[412,3]]},"334":{"position":[[11,3]]}}}],["x",{"_index":856,"t":{"175":{"position":[[68,3]]},"177":{"position":[[86,1]]},"303":{"position":[[178,2],[199,3]]}}}],["xai",{"_index":1114,"t":{"265":{"position":[[267,5]]}}}],["x••••4f2a",{"_index":113,"t":{"8":{"position":[[189,9]]},"82":{"position":[[1018,10]]}}}],["y",{"_index":858,"t":{"175":{"position":[[134,3]]},"177":{"position":[[101,3]]}}}],["ye",{"_index":704,"t":{"133":{"position":[[109,3]]},"191":{"position":[[145,3]]},"246":{"position":[[53,3]]},"307":{"position":[[448,3]]}}}],["you'll",{"_index":635,"t":{"120":{"position":[[365,6]]},"131":{"position":[[665,6]]},"133":{"position":[[307,6]]},"173":{"position":[[352,6]]},"179":{"position":[[436,6]]}}}],["you'r",{"_index":1199,"t":{"301":{"position":[[142,6],[184,6]]}}}],["you'v",{"_index":1202,"t":{"301":{"position":[[285,6]]}}}],["your",{"_index":587,"t":{"110":{"position":[[57,5]]},"116":{"position":[[200,5]]},"124":{"position":[[176,5]]}}}],["yournam",{"_index":711,"t":{"135":{"position":[[476,8]]}}}],["z",{"_index":767,"t":{"151":{"position":[[97,1]]},"338":{"position":[[113,2]]}}}],["zero",{"_index":201,"t":{"16":{"position":[[131,4]]}}}]],"pipeline":["stemmer"]}}]
\ No newline at end of file
diff --git a/docs/search.html b/docs/search.html
index 93a2ae1d..8931f513 100644
--- a/docs/search.html
+++ b/docs/search.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="plugin-@easyops-cn/docusaurus-search-local plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Search the documentation</title><meta data-rh=true property=og:title content=Mercury /><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/search /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=robots content="noindex, follow"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/search /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.547d3a2c.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="plugin-@easyops-cn/docusaurus-search-local plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Search the documentation</title><meta data-rh=true property=og:title content=Mercury /><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/search /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=robots content="noindex, follow"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/search /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.2563c3bb.css /><script src=/assets/js/runtime~main.287421b8.js defer></script><script src=/assets/js/main.3003b0c1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a class="navbar__item navbar__link" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class="container margin-vert--lg"><h1>Search the documentation</h1><div class=row><div class="col col--12"><input type=search class=searchQueryInput_CFBF aria-label=Search autocomplete=off autofocus name=q value="" /></div></div><section></section></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 0fb8efe9..d20134f0 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://mercury.cosmicstack.org/search</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/cli-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/doctor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/system-service</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/starting</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/coding-workspace</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/github-companion</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/spotify</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/sub-agents</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/telegram</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/built-in-tools</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/permissions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/provider-fallback</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/scheduling</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/second-brain</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/skills</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases/1.1.6</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://mercury.cosmicstack.org/search</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/cli-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/doctor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/system-service</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/starting</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/coding-workspace</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/github-companion</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/spotify</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/sub-agents</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/telegram</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/built-in-tools</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/permissions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/provider-fallback</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/scheduling</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/second-brain</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/skills</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases/1.1.6</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases/1.1.7</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
\ No newline at end of file
diff --git a/skills/code/SKILL.md b/skills/code/SKILL.md
deleted file mode 100644
index 2efb6766..00000000
--- a/skills/code/SKILL.md
+++ /dev/null
@@ -1,97 +0,0 @@
----
-name: code
-description: Programming mode — IDE-grade coding agent with plan/execute workflow, approach selection, and sub-agent delegation
-version: 1.0.0
-allowed-tools:
- - read_file
- - write_file
- - create_file
- - edit_file
- - delete_file
- - list_dir
- - run_command
- - git_status
- - git_diff
- - git_log
- - git_add
- - git_commit
- - git_push
- - create_pr
- - review_pr
- - list_issues
- - create_issue
- - github_api
- - fetch_url
- - delegate_task
- - list_agents
- - stop_agent
- - ask_user
- - approve_scope
- - approve_command
- - cd
----
-
-# Code — Programming Mode
-
-You are now in **Programming Mode**. You are an IDE-grade coding agent.
-
-## Core Principles
-
-- **Understand before acting**: Read the codebase first. Use `read_file`, `list_dir`, `git_diff` to understand context before making changes.
-- **Minimal, precise changes**: Edit only what needs to change. Prefer `edit_file` over `write_file` for existing files. Never rewrite entire files when a surgical edit suffices.
-- **Preserve existing style**: Match the codebase's conventions — imports, naming, formatting, error patterns. Look at neighboring files for style cues.
-- **No unnecessary comments**: Do not add comments unless they explain *why*, not *what*. The user will specifically ask for comments if they want them.
-- **Test-aware**: If the project has tests, run them after changes. If no tests exist, mention it.
-
-## Plan/Execute Workflow
-
-You operate in two modes:
-
-### Plan Mode
-When in plan mode or when a task is complex:
-1. **Explore**: Read relevant files, understand the directory structure, check git history for recent changes.
-2. **Analyze**: Identify all files that need to change, dependencies, and potential breaking changes.
-3. **Present options**: If there are multiple approaches (2+), use the `ask_user` tool to present them as choices. Describe tradeoffs clearly.
-4. **Outline the plan**: Present a numbered, step-by-step implementation plan BEFORE writing any code.
-5. **Wait for approval**: Use `ask_user` to confirm the plan or adjust it. Only proceed to execution when the user approves.
-
-### Execute Mode
-When in execute mode or after plan is approved:
-1. **Implement step by step**: Follow the plan. One logical change per step.
-2. **Verify frequently**: Run `run_command` to build, lint, or test after each significant change.
-3. **Commit at logical checkpoints**: Use `git_add` + `git_commit` after completing a coherent unit of work.
-4. **Report progress**: Briefly state what was done and what's next.
-
-## When to Delegate to Sub-Agents
-
-Use `delegate_task` when:
-- A task has **independent subtasks** that can run in parallel (e.g., writing tests while you refactor)
-- A task involves **analyzing many files** (e.g., codebase-wide search/replace)
-- You need to **keep the main conversation free** for the user to ask questions
-
-When delegating, set `workingDirectory` to the project root and `allowedTools` to only what the sub-agent needs.
-
-## Approach Selection
-
-When you identify 2+ viable approaches for a problem:
-1. List each approach with a brief name, description, and key tradeoff
-2. Use `ask_user` with `choices` array to present them
-3. Example approaches to present choices for:
- - Library choice (e.g., zod vs joi vs valibot)
- - Architecture pattern (e.g., plugin vs middleware vs decorator)
- - Implementation strategy (e.g., refactor-first vs feature-first vs big-bang)
- - Testing approach (e.g., unit vs integration vs e2e)
-
-## File Coordination
-
-When working with sub-agents on the same project:
-- Write operations (`write_file`, `edit_file`, `create_file`, `delete_file`) acquire exclusive file locks
-- If a file is locked by another agent, wait briefly then try again. Report the lock status to the user.
-- Use `/agents` to check what agents are running and which files they hold.
-
-## Error Recovery
-
-- If a build fails, read the error carefully and fix the root cause — don't just suppress the error.
-- If tests fail, read the test output, understand why, and fix the code (not the test, unless the test is wrong).
-- If you hit a permissions error, use `approve_scope` or `approve_command` as needed.
-- If you're stuck, tell the user clearly. Suggest alternatives or ask for guidance using `ask_user`.
\ No newline at end of file
diff --git a/skills/spotify/SKILL.md b/skills/spotify/SKILL.md
deleted file mode 100644
index d2fb1eb1..00000000
--- a/skills/spotify/SKILL.md
+++ /dev/null
@@ -1,102 +0,0 @@
----
-name: spotify
-description: DJ mode — control Spotify playback, search music, manage queues, and curate playlists based on user taste
-version: 1.0.0
-allowed-tools:
- - spotify_search
- - spotify_play
- - spotify_pause
- - spotify_next
- - spotify_previous
- - spotify_now_playing
- - spotify_devices
- - spotify_queue
- - spotify_like
- - spotify_volume
- - spotify_shuffle
- - spotify_repeat
- - spotify_top_tracks
- - spotify_playlists
- - ask_user
----
-
-# Spotify — DJ Mode
-
-You are Mercury, now in **DJ Mode**. You control the user's Spotify playback.
-
-## Premium Requirement
-
-**Playback control tools require a Spotify Premium account.** This includes: `spotify_play`, `spotify_pause`, `spotify_next`, `spotify_previous`, `spotify_volume`, `spotify_shuffle`, `spotify_repeat`, `spotify_queue`.
-
-**Read-only tools work on free accounts:** `spotify_search`, `spotify_now_playing`, `spotify_devices`, `spotify_top_tracks`, `spotify_playlists`, `spotify_like`.
-
-If a playback tool returns a 403/Premium-required error, tell the user clearly: "Spotify Premium is required for playback control. Read-only features (search, playlists, liked songs) still work on free accounts."
-
-## Core Principles
-
-- **Play on the user's devices**: Always play through Spotify's device system — phone, web, desktop, TV, speaker. Never try to play audio locally.
-- **Device awareness**: Before playing, check available devices with `spotify_devices`. If no device is active, ask the user which one to use.
-- **User taste first**: Use `spotify_top_tracks` and `spotify_playlists` to understand what the user likes before making recommendations.
-- **Interactive DJing**: When the user asks for music by mood/genre/activity, search Spotify, present options via `ask_user`, then play their choice.
-
-## How to DJ
-
-### When user says "play something" / "play music"
-1. Check devices with `spotify_devices`. If none active, tell user to open Spotify on a device.
-2. Check what's currently playing with `spotify_now_playing`.
-3. Ask the user what they're in the mood for using `ask_user` with genre/mood options.
-4. Search based on their preference with `spotify_search`.
-5. Present top results and ask which to play.
-6. Play their choice with `spotify_play`.
-
-### When user asks for a specific song/artist
-1. Search with `spotify_search`.
-2. If exact match found, play it directly.
-3. If multiple matches, present top 3-5 options via `ask_user`.
-
-### When user says "play my stuff" / "play my music"
-1. Use `spotify_top_tracks` to get their favorites.
-2. Use `spotify_playlists` to find their playlists.
-3. Present options: "Your top tracks" or their playlists.
-4. Play their choice.
-
-### When user wants to skip/pause/volume
-- Use direct tools: `spotify_next`, `spotify_previous`, `spotify_pause`, `spotify_volume`.
-- No need to search or confirm for simple controls.
-
-### Curation and playlists
-- When user says "make me a playlist for X", search for tracks matching the vibe.
-- Present 10-20 candidate tracks, let user verify, then create playlist.
-- Use `ask_user` for key decisions: playlist name, public/private, which tracks to include.
-
-## Mood/Activity Mapping
-
-When user describes a mood or activity, map it to search terms:
-
-| User says | Search terms |
-|---|---|
-| Focus / study | "focus music", "lo-fi study", "ambient focus" |
-| Workout / gym | "workout", "high energy gym", "running" |
-| Chill / relax | "chill vibes", "relaxing", "mellow" |
-| Party / dance | "party mix", "dance hits", "upbeat" |
-| Sleep / bedtime | "sleep", "white noise", "calm sleep" |
-| Road trip | "road trip", "driving", "open road" |
-| Cooking | "cooking music", "kitchen vibes" |
-| Sad / moody | "melancholy", "sad songs", "emo" |
-| Happy / upbeat | "feel good", "happy hits", "summer vibes" |
-
-Always use `ask_user` to narrow down if the mood is ambiguous.
-
-## Playback Control Quick Reference
-
-- Play track: `spotify_play` with uri
-- Play album/playlist: `spotify_play` with context uri
-- Pause: `spotify_pause`
-- Skip: `spotify_next`
-- Previous: `spotify_previous`
-- Volume: `spotify_volume` (0-100)
-- Shuffle: `spotify_shuffle` (on/off)
-- Repeat: `spotify_repeat` (off/track/context)
-- Add to queue: `spotify_queue` with uri
-- Like current: `spotify_like` with track id
-- Check playing: `spotify_now_playing`
\ No newline at end of file
diff --git a/src/auth/chatgpt-auth.ts b/src/auth/chatgpt-auth.ts
new file mode 100644
index 00000000..acd7bc71
--- /dev/null
+++ b/src/auth/chatgpt-auth.ts
@@ -0,0 +1,242 @@
+import { exec } from 'node:child_process';
+import { promisify } from 'node:util';
+import {
+ loadChatGPTSession,
+ saveChatGPTSession,
+ clearChatGPTSession,
+ isChatGPTSessionValid,
+ getValidChatGPTSession,
+ extractAccountId,
+ extractEmail,
+ extractPlan,
+ CHATGPT_OAUTH_CLIENT_ID,
+ CHATGPT_OAUTH_TOKEN_URL,
+ CHATGPT_DEVICE_AUTH_URL,
+ CHATGPT_DEVICE_TOKEN_URL,
+ CHATGPT_DEVICE_UI_URL,
+ type ChatGPTSession,
+} from './chatgpt-session.js';
+
+const execAsync = promisify(exec);
+
+// ---------------------------------------------------------------------------
+// Browser helper
+// ---------------------------------------------------------------------------
+
+function openBrowser(url: string): void {
+ const cmd =
+ process.platform === 'darwin'
+ ? 'open'
+ : process.platform === 'win32'
+ ? 'start'
+ : 'xdg-open';
+ execAsync(`${cmd} "${url}"`).catch(() => {});
+}
+
+// ---------------------------------------------------------------------------
+// Device-flow OAuth
+// ---------------------------------------------------------------------------
+
+interface DeviceAuthResponse {
+ device_auth_id: string;
+ user_code: string;
+ interval: number;
+}
+
+interface DeviceTokenResponse {
+ authorization_code?: string;
+ code_verifier?: string;
+ error?: string;
+}
+
+/**
+ * Step 1: Request a device code from OpenAI.
+ */
+async function requestDeviceCode(): Promise<DeviceAuthResponse> {
+ const response = await fetch(CHATGPT_DEVICE_AUTH_URL, {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ client_id: CHATGPT_OAUTH_CLIENT_ID }),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) {
+ const text = await response.text().catch(() => 'unknown');
+ throw new Error(`Failed to request device code: ${response.status} — ${text}`);
+ }
+
+ return (await response.json()) as DeviceAuthResponse;
+}
+
+/**
+ * Step 2: Poll for user authorization.
+ */
+async function pollForAuthorization(
+ deviceAuthId: string,
+ userCode: string,
+ interval: number,
+ timeoutMs = 300_000, // 5 minutes
+): Promise<{ authorizationCode: string; codeVerifier: string }> {
+ const deadline = Date.now() + timeoutMs;
+ const pollInterval = (interval + 3) * 1000; // interval + safety margin
+
+ while (Date.now() < deadline) {
+ await new Promise((resolve) => setTimeout(resolve, pollInterval));
+
+ const response = await fetch(CHATGPT_DEVICE_TOKEN_URL, {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({
+ device_auth_id: deviceAuthId,
+ user_code: userCode,
+ }),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) continue;
+
+ const data = (await response.json()) as DeviceTokenResponse;
+
+ if (data.authorization_code && data.code_verifier) {
+ return {
+ authorizationCode: data.authorization_code,
+ codeVerifier: data.code_verifier,
+ };
+ }
+
+ if (data.error && data.error !== 'authorization_pending' && data.error !== 'slow_down') {
+ throw new Error(`Device authorization failed: ${data.error}`);
+ }
+ }
+
+ throw new Error('Device authorization timed out (5 minutes). Please try again.');
+}
+
+/**
+ * Step 3: Exchange authorization code for tokens.
+ */
+async function exchangeCodeForTokens(
+ authorizationCode: string,
+ codeVerifier: string,
+): Promise<{ accessToken: string; refreshToken: string; expiresIn: number }> {
+ const response = await fetch(CHATGPT_OAUTH_TOKEN_URL, {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({
+ grant_type: 'authorization_code',
+ code: authorizationCode,
+ redirect_uri: 'https://auth.openai.com/deviceauth/callback',
+ client_id: CHATGPT_OAUTH_CLIENT_ID,
+ code_verifier: codeVerifier,
+ }),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) {
+ const text = await response.text().catch(() => 'unknown');
+ throw new Error(`Token exchange failed: ${response.status} — ${text}`);
+ }
+
+ const data = (await response.json()) as Record<string, any>;
+
+ if (!data.access_token) {
+ throw new Error('Token exchange response missing access_token');
+ }
+
+ return {
+ accessToken: data.access_token as string,
+ refreshToken: data.refresh_token as string,
+ expiresIn: (data.expires_in as number) || 3600,
+ };
+}
+
+// ---------------------------------------------------------------------------
+// Public API
+// ---------------------------------------------------------------------------
+
+/**
+ * Interactive ChatGPT OAuth login via device flow.
+ *
+ * 1. Requests a device code from OpenAI
+ * 2. Shows the user code and opens the browser
+ * 3. Polls for authorization
+ * 4. Exchanges the code for tokens
+ * 5. Stores the session
+ */
+export async function loginChatGPT(): Promise<ChatGPTSession> {
+ console.log(`\n ${'─'.repeat(54)}`);
+ console.log(` ChatGPT OAuth Authentication (Device Flow)`);
+ console.log(` ${'─'.repeat(54)}`);
+ console.log();
+
+ // Step 1: Get device code
+ console.log(' Requesting device code...');
+ const device = await requestDeviceCode();
+
+ // Step 2: Show code and open browser
+ console.log();
+ console.log(` Your code: ${device.user_code}`);
+ console.log();
+ console.log(` Opening: ${CHATGPT_DEVICE_UI_URL}`);
+ console.log(` Enter the code above in your browser to authorize Mercury.`);
+ console.log();
+ console.log(' Waiting for authorization (up to 5 minutes)...');
+
+ openBrowser(CHATGPT_DEVICE_UI_URL);
+
+ // Step 3: Poll
+ const { authorizationCode, codeVerifier } = await pollForAuthorization(
+ device.device_auth_id,
+ device.user_code,
+ device.interval,
+ );
+
+ // Step 4: Exchange for tokens
+ console.log(' Exchanging code for tokens...');
+ const tokens = await exchangeCodeForTokens(authorizationCode, codeVerifier);
+
+ // Step 5: Build and save session
+ const accountId = extractAccountId(tokens.accessToken);
+ const email = extractEmail(tokens.accessToken);
+ const plan = extractPlan(tokens.accessToken);
+
+ const session: ChatGPTSession = {
+ accessToken: tokens.accessToken,
+ refreshToken: tokens.refreshToken,
+ expiresAt: new Date(Date.now() + tokens.expiresIn * 1000).toISOString(),
+ accountId,
+ userEmail: email,
+ plan: plan ?? 'unknown',
+ authenticatedAt: new Date().toISOString(),
+ };
+
+ saveChatGPTSession(session);
+
+ console.log();
+ console.log(' ChatGPT authenticated successfully!');
+ if (email) console.log(` Account: ${email}`);
+ if (plan) console.log(` Plan: ${plan}`);
+ console.log(` Token expires in: ~${Math.round(tokens.expiresIn / 60)} minutes (auto-refreshes)`);
+ console.log(` ${'─'.repeat(54)}\n`);
+
+ return session;
+}
+
+/**
+ * Returns a valid ChatGPT session, refreshing if needed.
+ * Synchronous check only — for async refresh use getValidChatGPTSession().
+ */
+export function getChatGPTSession(): ChatGPTSession | null {
+ const session = loadChatGPTSession();
+ if (!isChatGPTSessionValid(session)) return null;
+ return session;
+}
+
+/**
+ * Logs out of ChatGPT by clearing the stored session.
+ */
+export function logoutChatGPT(): void {
+ clearChatGPTSession();
+}
+
+export { isChatGPTSessionValid, loadChatGPTSession, getValidChatGPTSession };
diff --git a/src/auth/chatgpt-models.ts b/src/auth/chatgpt-models.ts
new file mode 100644
index 00000000..88b5c02d
--- /dev/null
+++ b/src/auth/chatgpt-models.ts
@@ -0,0 +1,92 @@
+import type { ProviderModelCatalog } from '../utils/provider-models.js';
+import { CHATGPT_BACKEND_API } from './chatgpt-session.js';
+
+// Models available to ChatGPT Plus/Pro subscribers via OAuth.
+// Sorted by preference (newest/best first).
+// Only models supported on the ChatGPT codex/responses endpoint.
+// gpt-4o, o3, o4-mini, gpt-5.4-nano etc. are NOT supported there.
+const CHATGPT_PREFERRED_MODELS = [
+ 'gpt-5.5',
+ 'gpt-5.4',
+ 'gpt-5.4-mini',
+ 'gpt-5.3-codex',
+ 'gpt-5.2',
+] as const;
+
+/**
+ * Build headers for ChatGPT backend-api/codex requests (OAuth-based).
+ */
+export function getChatGPTHeaders(accessToken: string, accountId: string): Record<string, string> {
+ return {
+ Authorization: `Bearer ${accessToken}`,
+ 'Content-Type': 'application/json',
+ 'ChatGPT-Account-Id': accountId,
+ 'User-Agent': `mercury-agent/1.0 (${process.platform} ${process.arch})`,
+ };
+}
+
+/**
+ * Fetches available models from the ChatGPT codex API.
+ * Uses the same endpoint structure as the Responses API.
+ */
+export async function fetchChatGPTModels(
+ accessToken: string,
+ accountId: string,
+): Promise<ProviderModelCatalog> {
+ // Try fetching from the models endpoint
+ try {
+ const response = await fetch(`${CHATGPT_BACKEND_API}/models`, {
+ headers: getChatGPTHeaders(accessToken, accountId),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (response.ok) {
+ const data = (await response.json()) as Record<string, any>;
+ const models = (data.models ?? [])
+ .map((m: any) => (m.slug?.trim() ?? m.id?.trim() ?? '') as string)
+ .filter((slug: string) => slug.length > 0);
+
+ if (models.length > 0) {
+ return buildCatalog(models);
+ }
+ }
+ } catch {
+ // Fall through to hardcoded list
+ }
+
+ // Fallback: return the known models for ChatGPT Plus/Pro
+ return buildCatalog([...CHATGPT_PREFERRED_MODELS]);
+}
+
+function buildCatalog(models: string[]): ProviderModelCatalog {
+ const preferredSet = new Set<string>(CHATGPT_PREFERRED_MODELS);
+
+ // Pick the recommended model
+ let recommendedModel = models[0]!;
+ for (const preferred of CHATGPT_PREFERRED_MODELS) {
+ if (models.includes(preferred)) {
+ recommendedModel = preferred;
+ break;
+ }
+ }
+
+ // Prioritize preferred models, then the rest
+ const preferredMatches = CHATGPT_PREFERRED_MODELS.filter((m) =>
+ models.includes(m),
+ ) as unknown as string[];
+ const others = models
+ .filter((m) => m !== recommendedModel && !preferredSet.has(m))
+ .sort();
+
+ const allModels = [
+ ...preferredMatches.filter((m) => m !== recommendedModel),
+ ...others,
+ ].slice(0, 10);
+
+ return {
+ recommendedModel,
+ models: allModels,
+ };
+}
+
+export { CHATGPT_BACKEND_API };
diff --git a/src/auth/chatgpt-session.ts b/src/auth/chatgpt-session.ts
new file mode 100644
index 00000000..362fc623
--- /dev/null
+++ b/src/auth/chatgpt-session.ts
@@ -0,0 +1,208 @@
+import { readFileSync, writeFileSync, existsSync, mkdirSync } from 'node:fs';
+import { join } from 'node:path';
+import { getMercuryHome } from '../utils/config.js';
+
+// ---------------------------------------------------------------------------
+// Types
+// ---------------------------------------------------------------------------
+
+export interface ChatGPTSession {
+ accessToken: string;
+ refreshToken: string;
+ /** ISO-8601 timestamp when the access token expires */
+ expiresAt: string;
+ /** ChatGPT account ID extracted from JWT (needed for API headers) */
+ accountId: string;
+ userEmail?: string;
+ plan?: string;
+ authenticatedAt: string;
+}
+
+// ---------------------------------------------------------------------------
+// Constants
+// ---------------------------------------------------------------------------
+
+export const CHATGPT_OAUTH_CLIENT_ID = 'app_EMoamEEZ73f0CkXaXp7hrann';
+export const CHATGPT_OAUTH_TOKEN_URL = 'https://auth.openai.com/oauth/token';
+export const CHATGPT_DEVICE_AUTH_URL = 'https://auth.openai.com/api/accounts/deviceauth/usercode';
+export const CHATGPT_DEVICE_TOKEN_URL = 'https://auth.openai.com/api/accounts/deviceauth/token';
+export const CHATGPT_DEVICE_UI_URL = 'https://auth.openai.com/codex/device';
+export const CHATGPT_BACKEND_API = 'https://chatgpt.com/backend-api';
+
+// ---------------------------------------------------------------------------
+// Session persistence
+// ---------------------------------------------------------------------------
+
+function getSessionPath(): string {
+ return join(getMercuryHome(), 'chatgpt-session.json');
+}
+
+export function loadChatGPTSession(): ChatGPTSession | null {
+ const path = getSessionPath();
+ if (!existsSync(path)) return null;
+
+ try {
+ const raw = readFileSync(path, 'utf-8');
+ const session = JSON.parse(raw) as ChatGPTSession;
+ if (!session.accessToken || !session.refreshToken) return null;
+ return session;
+ } catch {
+ return null;
+ }
+}
+
+export function saveChatGPTSession(session: ChatGPTSession): void {
+ const dir = getMercuryHome();
+ if (!existsSync(dir)) {
+ mkdirSync(dir, { recursive: true });
+ }
+ writeFileSync(getSessionPath(), JSON.stringify(session, null, 2), 'utf-8');
+}
+
+export function clearChatGPTSession(): void {
+ const path = getSessionPath();
+ if (existsSync(path)) {
+ writeFileSync(path, '{}', 'utf-8');
+ }
+}
+
+// ---------------------------------------------------------------------------
+// Token validity
+// ---------------------------------------------------------------------------
+
+export function isChatGPTSessionValid(session: ChatGPTSession | null): boolean {
+ if (!session || !session.accessToken) return false;
+ if (!session.expiresAt) return true;
+ // Consider expired 60s early to avoid edge-case failures
+ return Date.now() < new Date(session.expiresAt).getTime() - 60_000;
+}
+
+// ---------------------------------------------------------------------------
+// JWT helpers
+// ---------------------------------------------------------------------------
+
+/**
+ * Decode a JWT payload without verifying signature.
+ */
+export function decodeJwtPayload(token: string): Record<string, any> {
+ const parts = token.split('.');
+ if (parts.length < 2) throw new Error('Invalid JWT');
+ const payload = parts[1]!;
+ // base64url → base64
+ const base64 = payload.replace(/-/g, '+').replace(/_/g, '/');
+ const json = Buffer.from(base64, 'base64').toString('utf-8');
+ return JSON.parse(json);
+}
+
+/**
+ * Extract the ChatGPT account ID from an OAuth access token JWT.
+ */
+export function extractAccountId(accessToken: string): string {
+ try {
+ const claims = decodeJwtPayload(accessToken);
+ // Try multiple known claim paths
+ const authClaim = claims['https://api.openai.com/auth'] as Record<string, any> | undefined;
+ if (authClaim?.chatgpt_account_id) return authClaim.chatgpt_account_id;
+ if (claims.chatgpt_account_id) return claims.chatgpt_account_id;
+ // Fallback: organizations array
+ if (Array.isArray(claims.organizations) && claims.organizations[0]?.id) {
+ return claims.organizations[0].id;
+ }
+ throw new Error('Could not find chatgpt_account_id in JWT claims');
+ } catch (err: any) {
+ throw new Error(`Failed to extract account ID from token: ${err.message}`);
+ }
+}
+
+/**
+ * Extract email from an OAuth access token or id_token JWT.
+ */
+export function extractEmail(token: string): string | undefined {
+ try {
+ const claims = decodeJwtPayload(token);
+ const profile = claims['https://api.openai.com/profile'] as Record<string, any> | undefined;
+ return profile?.email ?? claims.email;
+ } catch {
+ return undefined;
+ }
+}
+
+/**
+ * Extract plan type from an OAuth access token JWT.
+ */
+export function extractPlan(token: string): string | undefined {
+ try {
+ const claims = decodeJwtPayload(token);
+ const authClaim = claims['https://api.openai.com/auth'] as Record<string, any> | undefined;
+ return authClaim?.chatgpt_plan_type ?? claims.chatgpt_plan_type;
+ } catch {
+ return undefined;
+ }
+}
+
+// ---------------------------------------------------------------------------
+// Token refresh
+// ---------------------------------------------------------------------------
+
+/**
+ * Refresh the access token using the stored refresh token.
+ * Returns a new session (also saves it), or null on failure.
+ */
+export async function refreshChatGPTToken(session: ChatGPTSession): Promise<ChatGPTSession | null> {
+ try {
+ const response = await fetch(CHATGPT_OAUTH_TOKEN_URL, {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({
+ grant_type: 'refresh_token',
+ refresh_token: session.refreshToken,
+ client_id: CHATGPT_OAUTH_CLIENT_ID,
+ }),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) return null;
+
+ const data = (await response.json()) as Record<string, any>;
+ const accessToken = data.access_token as string;
+ const refreshToken = (data.refresh_token as string) || session.refreshToken;
+ const expiresIn = (data.expires_in as number) || 3600;
+
+ const accountId = extractAccountId(accessToken);
+ const email = extractEmail(accessToken);
+ const plan = extractPlan(accessToken);
+
+ const newSession: ChatGPTSession = {
+ accessToken,
+ refreshToken,
+ expiresAt: new Date(Date.now() + expiresIn * 1000).toISOString(),
+ accountId,
+ userEmail: email ?? session.userEmail,
+ plan: plan ?? session.plan,
+ authenticatedAt: session.authenticatedAt,
+ };
+
+ saveChatGPTSession(newSession);
+ return newSession;
+ } catch {
+ return null;
+ }
+}
+
+/**
+ * Get a valid session, refreshing the token if needed.
+ * Returns null if no session exists or refresh fails.
+ */
+export async function getValidChatGPTSession(): Promise<ChatGPTSession | null> {
+ const session = loadChatGPTSession();
+ if (!session) return null;
+
+ if (isChatGPTSessionValid(session)) return session;
+
+ // Try refreshing
+ if (session.refreshToken) {
+ return refreshChatGPTToken(session);
+ }
+
+ return null;
+}
diff --git a/src/auth/github-auth.ts b/src/auth/github-auth.ts
new file mode 100644
index 00000000..478fe432
--- /dev/null
+++ b/src/auth/github-auth.ts
@@ -0,0 +1,223 @@
+import { exec } from 'node:child_process';
+import { promisify } from 'node:util';
+import {
+ loadGitHubSession,
+ saveGitHubSession,
+ clearGitHubSession,
+ isGitHubSessionValid,
+ validateGitHubToken,
+ GITHUB_OAUTH_CLIENT_ID,
+ GITHUB_DEVICE_CODE_URL,
+ GITHUB_TOKEN_URL,
+ GITHUB_DEVICE_VERIFY_URL,
+ type GitHubSession,
+} from './github-session.js';
+
+const execAsync = promisify(exec);
+
+// ---------------------------------------------------------------------------
+// Browser helper
+// ---------------------------------------------------------------------------
+
+function openBrowser(url: string): void {
+ const cmd =
+ process.platform === 'darwin'
+ ? 'open'
+ : process.platform === 'win32'
+ ? 'start'
+ : 'xdg-open';
+ execAsync(`${cmd} "${url}"`).catch(() => {});
+}
+
+// ---------------------------------------------------------------------------
+// Device flow OAuth
+// ---------------------------------------------------------------------------
+
+interface DeviceCodeResponse {
+ device_code: string;
+ user_code: string;
+ verification_uri: string;
+ expires_in: number;
+ interval: number;
+}
+
+interface TokenResponse {
+ access_token?: string;
+ token_type?: string;
+ scope?: string;
+ error?: string;
+ error_description?: string;
+ interval?: number;
+}
+
+/**
+ * Step 1: Request device and user verification codes.
+ */
+async function requestDeviceCode(): Promise<DeviceCodeResponse> {
+ const response = await fetch(GITHUB_DEVICE_CODE_URL, {
+ method: 'POST',
+ headers: {
+ 'Accept': 'application/json',
+ 'Content-Type': 'application/json',
+ },
+ body: JSON.stringify({
+ client_id: GITHUB_OAUTH_CLIENT_ID,
+ scope: '',
+ }),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) {
+ const text = await response.text().catch(() => 'unknown');
+ throw new Error(`Failed to request device code: ${response.status} — ${text}`);
+ }
+
+ return (await response.json()) as DeviceCodeResponse;
+}
+
+/**
+ * Step 2: Poll for user authorization.
+ */
+async function pollForToken(
+ deviceCode: string,
+ interval: number,
+ expiresIn: number,
+): Promise<{ accessToken: string; tokenType: string; scope: string }> {
+ const deadline = Date.now() + expiresIn * 1000;
+ let pollInterval = interval * 1000;
+
+ while (Date.now() < deadline) {
+ await new Promise((resolve) => setTimeout(resolve, pollInterval));
+
+ const response = await fetch(GITHUB_TOKEN_URL, {
+ method: 'POST',
+ headers: {
+ 'Accept': 'application/json',
+ 'Content-Type': 'application/json',
+ },
+ body: JSON.stringify({
+ client_id: GITHUB_OAUTH_CLIENT_ID,
+ device_code: deviceCode,
+ grant_type: 'urn:ietf:params:oauth:grant-type:device_code',
+ }),
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ const data = (await response.json()) as TokenResponse;
+
+ if (data.access_token) {
+ return {
+ accessToken: data.access_token,
+ tokenType: data.token_type ?? 'bearer',
+ scope: data.scope ?? '',
+ };
+ }
+
+ if (data.error === 'authorization_pending') {
+ continue;
+ }
+
+ if (data.error === 'slow_down') {
+ // GitHub asks us to slow down — add 5 seconds
+ pollInterval += 5000;
+ continue;
+ }
+
+ if (data.error === 'expired_token') {
+ throw new Error('Device code expired. Please try again.');
+ }
+
+ if (data.error === 'access_denied') {
+ throw new Error('Authorization was denied by the user.');
+ }
+
+ if (data.error) {
+ throw new Error(`GitHub OAuth error: ${data.error} — ${data.error_description || ''}`);
+ }
+ }
+
+ throw new Error('Authorization timed out. Please try again.');
+}
+
+// ---------------------------------------------------------------------------
+// Public API
+// ---------------------------------------------------------------------------
+
+/**
+ * Interactive GitHub OAuth login via device flow.
+ *
+ * 1. Requests a device code
+ * 2. Shows the user code and opens github.com/login/device
+ * 3. Polls for authorization
+ * 4. Validates the token
+ * 5. Stores the session
+ */
+export async function loginGitHub(): Promise<GitHubSession> {
+ console.log(`\n ${'─'.repeat(54)}`);
+ console.log(` GitHub OAuth Authentication (Device Flow)`);
+ console.log(` ${'─'.repeat(54)}`);
+ console.log();
+
+ // Step 1: Get device code
+ console.log(' Requesting device code...');
+ const device = await requestDeviceCode();
+
+ // Step 2: Show code and open browser
+ console.log();
+ console.log(` Your code: ${device.user_code}`);
+ console.log();
+ console.log(` Opening: ${device.verification_uri}`);
+ console.log(` Enter the code above in your browser to authorize Mercury.`);
+ console.log();
+ console.log(' Waiting for authorization (up to 15 minutes)...');
+
+ openBrowser(device.verification_uri);
+
+ // Step 3: Poll
+ const tokens = await pollForToken(
+ device.device_code,
+ device.interval,
+ device.expires_in,
+ );
+
+ // Step 4: Validate and get user info
+ console.log(' Validating token...');
+ const validation = await validateGitHubToken(tokens.accessToken);
+
+ // Step 5: Build and save session
+ const session: GitHubSession = {
+ accessToken: tokens.accessToken,
+ tokenType: tokens.tokenType,
+ scope: tokens.scope,
+ userLogin: validation.login,
+ authenticatedAt: new Date().toISOString(),
+ };
+
+ saveGitHubSession(session);
+
+ console.log();
+ console.log(' GitHub authenticated successfully!');
+ if (validation.login) console.log(` Account: @${validation.login}`);
+ console.log(` Token does not expire (valid until revoked)`);
+ console.log(` ${'─'.repeat(54)}\n`);
+
+ return session;
+}
+
+/**
+ * Returns the current GitHub session, or null if not authenticated.
+ */
+export function getGitHubSession(): GitHubSession | null {
+ const session = loadGitHubSession();
+ if (!isGitHubSessionValid(session)) return null;
+ return session;
+}
+
+/**
+ * Logs out by clearing the stored session.
+ */
+export function logoutGitHub(): void {
+ clearGitHubSession();
+}
+
+export { isGitHubSessionValid, loadGitHubSession };
diff --git a/src/auth/github-models.ts b/src/auth/github-models.ts
new file mode 100644
index 00000000..1faffa6c
--- /dev/null
+++ b/src/auth/github-models.ts
@@ -0,0 +1,86 @@
+import type { ProviderModelCatalog } from '../utils/provider-models.js';
+import { getValidCopilotToken, COPILOT_HEADERS } from './github-session.js';
+
+// Preferred models sorted by quality/usefulness for an agent
+const GITHUB_PREFERRED_MODELS = [
+ 'claude-sonnet-4.6',
+ 'gpt-4o',
+ 'gpt-5.4',
+ 'claude-opus-4.6',
+ 'claude-opus-4.7',
+ 'claude-opus-4.5',
+ 'gpt-4.1',
+ 'gpt-4o-mini',
+ 'gemini-3.1-pro-preview',
+] as const;
+
+/**
+ * Fetch available models from the Copilot API.
+ * Requires a valid GitHub OAuth session — exchanges it for a Copilot token first.
+ */
+export async function fetchGitHubModels(
+ _accessToken: string,
+): Promise<ProviderModelCatalog> {
+ const copilot = await getValidCopilotToken();
+ if (!copilot) {
+ throw new Error('Failed to get Copilot token. Is GitHub Copilot enabled for your account?');
+ }
+
+ const response = await fetch(`${copilot.apiEndpoint}/models`, {
+ headers: {
+ Authorization: `Bearer ${copilot.token}`,
+ Accept: 'application/json',
+ ...COPILOT_HEADERS,
+ },
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) {
+ throw new Error(`Failed to fetch Copilot models: ${response.status} ${response.statusText}`);
+ }
+
+ const data = (await response.json()) as { data?: Array<{ id: string }> };
+
+ // Filter out embedding models and router/internal models
+ const models = (data.data ?? [])
+ .map((m) => m.id)
+ .filter((id) => !id.includes('embedding') && !id.includes('accounts/'))
+ .sort();
+
+ if (models.length === 0) {
+ throw new Error('No models available from Copilot API.');
+ }
+
+ return buildCatalog(models);
+}
+
+function buildCatalog(models: string[]): ProviderModelCatalog {
+ const preferredSet = new Set<string>(GITHUB_PREFERRED_MODELS);
+
+ // Pick the recommended model
+ let recommendedModel = models[0]!;
+ for (const preferred of GITHUB_PREFERRED_MODELS) {
+ if (models.includes(preferred)) {
+ recommendedModel = preferred;
+ break;
+ }
+ }
+
+ // Prioritize preferred models, then the rest
+ const preferredMatches = GITHUB_PREFERRED_MODELS.filter((m) =>
+ models.includes(m),
+ ) as unknown as string[];
+ const others = models
+ .filter((m) => m !== recommendedModel && !preferredSet.has(m))
+ .sort();
+
+ const allModels = [
+ ...preferredMatches.filter((m) => m !== recommendedModel),
+ ...others,
+ ].slice(0, 15);
+
+ return {
+ recommendedModel,
+ models: allModels,
+ };
+}
diff --git a/src/auth/github-session.ts b/src/auth/github-session.ts
new file mode 100644
index 00000000..7f7d7fa3
--- /dev/null
+++ b/src/auth/github-session.ts
@@ -0,0 +1,195 @@
+import { readFileSync, writeFileSync, existsSync, mkdirSync } from 'node:fs';
+import { join } from 'node:path';
+import { getMercuryHome } from '../utils/config.js';
+
+// ---------------------------------------------------------------------------
+// Types
+// ---------------------------------------------------------------------------
+
+export interface GitHubSession {
+ accessToken: string;
+ tokenType: string;
+ scope: string;
+ userLogin?: string;
+ authenticatedAt: string;
+}
+
+/**
+ * Copilot-specific token returned by the token exchange endpoint.
+ * This is a short-lived token (~30 min) used to call the Copilot API.
+ */
+export interface CopilotToken {
+ token: string;
+ expiresAt: number; // unix timestamp (seconds)
+ apiEndpoint: string; // e.g. https://api.business.githubcopilot.com
+}
+
+// ---------------------------------------------------------------------------
+// Constants
+// ---------------------------------------------------------------------------
+
+export const GITHUB_OAUTH_CLIENT_ID = 'Iv1.b507a08c87ecfe98';
+export const GITHUB_DEVICE_CODE_URL = 'https://github.com/login/device/code';
+export const GITHUB_TOKEN_URL = 'https://github.com/login/oauth/access_token';
+export const GITHUB_DEVICE_VERIFY_URL = 'https://github.com/login/device';
+
+/** The internal endpoint to exchange a GitHub OAuth token for a Copilot token */
+const COPILOT_TOKEN_URL = 'https://api.github.com/copilot_internal/v2/token';
+
+/** Required headers for Copilot API calls */
+export const COPILOT_HEADERS: Record<string, string> = {
+ 'User-Agent': 'GithubCopilot/1.246.0',
+ 'Editor-Version': 'vscode/1.96.2',
+ 'Editor-Plugin-Version': 'copilot-chat/0.24.2',
+ 'Copilot-Integration-Id': 'vscode-chat',
+ 'Openai-Intent': 'conversation-panel',
+};
+
+// ---------------------------------------------------------------------------
+// Session persistence
+// ---------------------------------------------------------------------------
+
+function getSessionPath(): string {
+ return join(getMercuryHome(), 'github-session.json');
+}
+
+export function loadGitHubSession(): GitHubSession | null {
+ const path = getSessionPath();
+ if (!existsSync(path)) return null;
+
+ try {
+ const raw = readFileSync(path, 'utf-8');
+ const session = JSON.parse(raw) as GitHubSession;
+ if (!session.accessToken) return null;
+ return session;
+ } catch {
+ return null;
+ }
+}
+
+export function saveGitHubSession(session: GitHubSession): void {
+ const dir = getMercuryHome();
+ if (!existsSync(dir)) {
+ mkdirSync(dir, { recursive: true });
+ }
+ writeFileSync(getSessionPath(), JSON.stringify(session, null, 2), 'utf-8');
+}
+
+export function clearGitHubSession(): void {
+ const path = getSessionPath();
+ if (existsSync(path)) {
+ writeFileSync(path, '{}', 'utf-8');
+ }
+}
+
+// ---------------------------------------------------------------------------
+// Token validation
+// ---------------------------------------------------------------------------
+
+/**
+ * Validate a GitHub OAuth token by calling GET /user.
+ * GitHub OAuth tokens don't expire — they're valid until revoked.
+ */
+export async function validateGitHubToken(accessToken: string): Promise<{
+ valid: boolean;
+ login?: string;
+}> {
+ try {
+ const response = await fetch('https://api.github.com/user', {
+ headers: {
+ Authorization: `Bearer ${accessToken}`,
+ Accept: 'application/vnd.github+json',
+ 'User-Agent': 'mercury-agent/1.0',
+ },
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) return { valid: false };
+
+ const data = (await response.json()) as Record<string, any>;
+ return {
+ valid: true,
+ login: data.login as string | undefined,
+ };
+ } catch {
+ return { valid: false };
+ }
+}
+
+/**
+ * Check if a session is valid (has a token).
+ * GitHub OAuth tokens don't expire, so we just check existence.
+ */
+export function isGitHubSessionValid(session: GitHubSession | null): boolean {
+ return session !== null && session.accessToken.length > 0;
+}
+
+// ---------------------------------------------------------------------------
+// Copilot token exchange (short-lived tokens for API calls)
+// ---------------------------------------------------------------------------
+
+let cachedCopilotToken: CopilotToken | null = null;
+
+/**
+ * Exchange a GitHub OAuth token for a short-lived Copilot API token.
+ * The Copilot token is cached and auto-refreshed when it expires.
+ *
+ * Flow:
+ * 1. POST to api.github.com/copilot_internal/v2/token with the OAuth token
+ * 2. Receive a short-lived token (~30 min) + API endpoint
+ * 3. Use the token + endpoint for all Copilot API calls
+ */
+export async function getCopilotToken(oauthToken: string): Promise<CopilotToken> {
+ // Return cached token if still valid (with 60s buffer)
+ if (cachedCopilotToken && cachedCopilotToken.expiresAt > Date.now() / 1000 + 60) {
+ return cachedCopilotToken;
+ }
+
+ const response = await fetch(COPILOT_TOKEN_URL, {
+ headers: {
+ Authorization: `token ${oauthToken}`,
+ Accept: 'application/json',
+ 'User-Agent': 'mercury-agent/1.0',
+ },
+ signal: AbortSignal.timeout(15_000),
+ });
+
+ if (!response.ok) {
+ const text = await response.text().catch(() => 'unknown');
+ throw new Error(`Failed to get Copilot token: ${response.status} — ${text}`);
+ }
+
+ const data = (await response.json()) as Record<string, any>;
+
+ if (!data.token) {
+ throw new Error('Copilot token exchange returned no token — is GitHub Copilot enabled for your account?');
+ }
+
+ cachedCopilotToken = {
+ token: data.token as string,
+ expiresAt: data.expires_at as number,
+ apiEndpoint: (data.endpoints as any)?.api ?? 'https://api.githubcopilot.com',
+ };
+
+ return cachedCopilotToken;
+}
+
+/**
+ * Get a valid Copilot token from the stored GitHub session.
+ * Returns null if no session or token exchange fails.
+ */
+export async function getValidCopilotToken(): Promise<CopilotToken | null> {
+ const session = loadGitHubSession();
+ if (!isGitHubSessionValid(session)) return null;
+
+ try {
+ return await getCopilotToken(session!.accessToken);
+ } catch {
+ return null;
+ }
+}
+
+/** Clear the cached copilot token (e.g. on logout) */
+export function clearCopilotTokenCache(): void {
+ cachedCopilotToken = null;
+}
diff --git a/src/capabilities/permissions.ts b/src/capabilities/permissions.ts
index 8f17f40a..0ea1f2e0 100644
--- a/src/capabilities/permissions.ts
+++ b/src/capabilities/permissions.ts
@@ -260,15 +260,41 @@ export class PermissionManager {
const scope = this.findScope(resolved);
const tempScope = this.findTempScope(resolved);
+ // Read access: allow if any scope covers it (reads are safe in any mode)
+ if (mode === 'read') {
+ if (scope && scope.read) return { allowed: true };
+ if (tempScope && tempScope.read) return { allowed: true };
+ }
+
+ // Write access: in auto-approve-all mode, allow if scope covers it
+ if (mode === 'write' && this.autoApproveAll) {
+ if (scope && scope.write) return { allowed: true };
+ if (tempScope && tempScope.write) return { allowed: true };
+ }
+
+ // Write access in ask-me mode: ALWAYS prompt the user, even if scope exists
+ if (mode === 'write' && !this.autoApproveAll && this.askHandler && this.currentChannelType !== 'internal') {
+ const scopeAllows = (scope && scope.write) || (tempScope && tempScope.write);
+ if (scopeAllows) {
+ // Scope allows it, but user wants to confirm — prompt with file path
+ const result = await this.askHandler(`Write to file: ${resolved}`);
+ if (result === 'yes') return { allowed: true };
+ if (result === 'always') {
+ // User chose "always" — switch to auto-approve for the rest of this session
+ this.autoApproveAll = true;
+ return { allowed: true };
+ }
+ return { allowed: false, reason: `User denied write to ${path}` };
+ }
+ // No scope covers it — request scope expansion
+ return this.requestScopeExternal(path, mode);
+ }
+
+ // No scope matched — deny or ask
if (scope) {
- if (mode === 'read' && scope.read) return { allowed: true };
- if (mode === 'write' && scope.write) return { allowed: true };
return { allowed: false, reason: `Permission denied: ${mode} access to ${path} (scope has ${mode}=false)` };
}
-
if (tempScope) {
- if (mode === 'read' && tempScope.read) return { allowed: true };
- if (mode === 'write' && tempScope.write) return { allowed: true };
return { allowed: false, reason: `Permission denied: ${mode} access to ${path}` };
}
@@ -279,6 +305,21 @@ export class PermissionManager {
return { allowed: false, reason: `Permission denied for ${mode} access to ${path}` };
}
+ // Read-only commands that never need approval even in ask-me mode
+ private static readonly SAFE_READ_COMMANDS = new Set([
+ 'ls', 'cat', 'pwd', 'which', 'echo', 'head', 'tail', 'wc', 'find', 'grep', 'rg',
+ 'ps', 'df', 'du', 'uname', 'dir', 'type', 'cd', 'where', 'tree', 'findstr',
+ 'tasklist', 'systeminfo', 'git', // git read commands are filtered by pattern below
+ ]);
+
+ private static readonly SAFE_READ_PATTERNS = [
+ 'ls *', 'cat *', 'pwd', 'which *', 'echo *', 'head *', 'tail *', 'wc *',
+ 'find *', 'grep *', 'rg *', 'ps *', 'df *', 'du *', 'uname *',
+ 'dir *', 'type *', 'cd *', 'where *', 'tree *', 'findstr *',
+ 'tasklist *', 'systeminfo *',
+ 'git status *', 'git diff *', 'git log *', 'git branch *',
+ ];
+
async checkShellCommand(command: string): Promise<{ allowed: boolean; reason?: string; needsApproval: boolean }> {
if (this.autoApproveAll) {
logger.info({ cmd: command.trim() }, 'Shell command auto-approved (auto-approve-all mode)');
@@ -298,6 +339,7 @@ export class PermissionManager {
const trimmed = command.trim();
const baseCmd = trimmed.split(/\s+/)[0];
+ // Always block dangerous commands
for (const pattern of shell.blocked) {
if (this.matchPattern(trimmed, pattern)) {
return { allowed: false, reason: `Blocked command: matches "${pattern}"`, needsApproval: false };
@@ -314,37 +356,23 @@ export class PermissionManager {
}
}
- for (const pattern of shell.autoApproved) {
- if (this.matchPattern(trimmed, pattern)) {
- logger.info({ cmd: trimmed }, 'Shell command auto-approved');
- return { allowed: true, needsApproval: false };
- }
- }
-
- for (const pattern of shell.needsApproval) {
- if (this.matchPattern(trimmed, pattern)) {
- if (this.askHandler && this.currentChannelType !== 'internal') {
- const result = await this.askHandler(`Run command: ${trimmed}`);
- if (result === 'yes') {
- return { allowed: true, needsApproval: false };
- }
- if (result === 'always') {
- this.addApprovedCommand(baseCmd);
- return { allowed: true, needsApproval: false };
- }
- return { allowed: false, reason: `User denied: ${trimmed}`, needsApproval: false };
- }
- return { allowed: false, reason: `Command requires approval: matches "${pattern}"`, needsApproval: true };
- }
+ // In ask-me mode: only auto-approve safe read-only commands
+ // Everything else must be prompted
+ const isSafeRead = PermissionManager.SAFE_READ_PATTERNS.some(p => this.matchPattern(trimmed, p));
+ if (isSafeRead) {
+ logger.info({ cmd: trimmed }, 'Shell command auto-approved (safe read-only)');
+ return { allowed: true, needsApproval: false };
}
+ // All non-safe commands require user approval in ask-me mode
if (this.askHandler && this.currentChannelType !== 'internal') {
const result = await this.askHandler(`Run command: ${trimmed}`);
if (result === 'yes') {
return { allowed: true, needsApproval: false };
}
if (result === 'always') {
- this.addApprovedCommand(baseCmd);
+ // User chose "always" — switch to auto-approve for the rest of this session
+ this.autoApproveAll = true;
return { allowed: true, needsApproval: false };
}
return { allowed: false, reason: `User denied: ${trimmed}`, needsApproval: false };
diff --git a/src/capabilities/registry.ts b/src/capabilities/registry.ts
index be88b519..8899650e 100644
--- a/src/capabilities/registry.ts
+++ b/src/capabilities/registry.ts
@@ -241,6 +241,22 @@ export class CapabilityRegistry {
return this.tools;
}
+ /** Return tools filtered for plan mode — read-only tools only */
+ getPlanTools(): Record<string, Tool> {
+ const blocked = new Set([
+ 'write_file', 'create_file', 'delete_file', 'edit_file',
+ 'run_command', 'cd',
+ 'git_add', 'git_commit', 'git_push',
+ 'create_pr', 'create_issue',
+ 'delegate_task',
+ ]);
+ const filtered: Record<string, Tool> = {};
+ for (const [name, tool] of Object.entries(this.tools)) {
+ if (!blocked.has(name)) filtered[name] = tool;
+ }
+ return filtered;
+ }
+
getToolNames(): string[] {
return Object.keys(this.tools);
}
diff --git a/src/channels/cli.ts b/src/channels/cli.ts
index 8a824a85..f8d57547 100644
--- a/src/channels/cli.ts
+++ b/src/channels/cli.ts
@@ -7,7 +7,7 @@ import type { ChannelMessage } from '../types/channel.js';
import { BaseChannel, type PermissionMode } from './base.js';
import { logger } from '../utils/logger.js';
import { formatToolStep, formatToolResult } from '../utils/tool-label.js';
-import type { ChatMessage, ToolStep, PermissionPromptState, SidebarSection, SkillInfo, SubAgentInfo, ProviderInfo, TokenInfo, AppMode, WorkspaceState, WorkspaceTreeNode, WorkspaceGitFile, BackgroundTaskInfo } from '../ui/types.js';
+import type { ChatMessage, CompletionMeta, ToolStep, PermissionPromptState, SidebarSection, SkillInfo, SubAgentInfo, ProviderInfo, TokenInfo, AppMode, WorkspaceState, WorkspaceTreeNode, WorkspaceGitFile, BackgroundTaskInfo } from '../ui/types.js';
import { TuiApp } from '../ui/App.js';
export interface TuiState {
@@ -206,6 +206,25 @@ export class CLIChannel extends BaseChannel {
this.expandWorkspaceNode();
return;
}
+ if (trimmed.startsWith('/ws scroll ')) {
+ const delta = parseInt(trimmed.slice(11), 10);
+ if (!isNaN(delta)) this.scrollWorkspaceCode(delta);
+ return;
+ }
+ if (trimmed.startsWith('/ws focus ')) {
+ const area = trimmed.slice(9).trim() as 'explorer' | 'code' | 'git' | 'chat';
+ if (['explorer', 'code', 'git', 'chat'].includes(area)) this.setWorkspaceFocus(area);
+ return;
+ }
+ if (trimmed === '/ws toggle-chat') {
+ this.toggleWorkspaceChat();
+ return;
+ }
+ if (trimmed.startsWith('/ws chat-scroll ')) {
+ const delta = parseInt(trimmed.slice(16), 10);
+ if (!isNaN(delta)) this.scrollWorkspaceChat(delta);
+ return;
+ }
if (trimmed === '/menu' || trimmed === '/m') {
this.update({ mode: 'menu' });
return;
@@ -272,6 +291,28 @@ export class CLIChannel extends BaseChannel {
});
}
+ sendCompletion(elapsedMs: number, stepCount: number, meta?: CompletionMeta): void {
+ const secs = Math.floor(elapsedMs / 1000);
+ const mins = Math.floor(secs / 60);
+ const remSecs = secs % 60;
+ const timeStr = mins > 0 ? `${mins}m ${remSecs}s` : `${secs}s`;
+ const stepsStr = stepCount > 0 ? `${stepCount} step${stepCount !== 1 ? 's' : ''}` : '';
+ const parts = [stepsStr, timeStr].filter(Boolean).join(' · ');
+
+ const msg: ChatMessage = {
+ id: `done-${Date.now().toString(36)}`,
+ role: 'system',
+ content: `━━━ Task complete (${parts}) ━━━`,
+ timestamp: Date.now(),
+ completionMeta: meta,
+ };
+ this.update({
+ chatMessages: [...this.state.chatMessages, msg],
+ isThinking: false,
+ toolSteps: [],
+ });
+ }
+
async sendFile(filePath: string, _targetId?: string): Promise<void> {
const fs = await import('node:fs');
const path = await import('node:path');
@@ -453,6 +494,20 @@ export class CLIChannel extends BaseChannel {
});
}
+ async presentChoicePrompt(question: string, options: Array<{ value: string; label: string }>): Promise<string> {
+ return new Promise((resolve) => {
+ this.permissionResolver = (val) => resolve(String(val));
+ this.update({
+ permissionPrompt: {
+ type: 'mode',
+ message: question,
+ options,
+ resolve: () => {},
+ },
+ });
+ });
+ }
+
async askToContinue(question: string, _targetId?: string): Promise<boolean> {
return new Promise((resolve) => {
this.permissionResolver = (val) => {
@@ -593,7 +648,17 @@ export class CLIChannel extends BaseChannel {
if (!node) return;
if (!node.isDir) {
const preview = this.readFilePreview(node.path);
- this.update({ workspace: { ...ws, selectedPath: node.path, openedFilePath: node.path, openedFilePreview: preview, lastAction: `Opened file: ${node.path}` } });
+ this.update({
+ workspace: {
+ ...ws,
+ selectedPath: node.path,
+ openedFilePath: node.path,
+ openedFilePreview: preview,
+ codeScrollOffset: 0,
+ focusArea: 'code',
+ lastAction: `Opened: ${path.basename(node.path)}`,
+ },
+ });
return;
}
const expanded = !node.expanded;
@@ -647,18 +712,60 @@ export class CLIChannel extends BaseChannel {
unstagedCount,
branch,
lastAction,
+ codeScrollOffset: this.state.workspace?.codeScrollOffset ?? 0,
+ focusArea: this.state.workspace?.focusArea ?? 'explorer',
+ chatCollapsed: this.state.workspace?.chatCollapsed ?? false,
+ chatScrollOffset: this.state.workspace?.chatScrollOffset ?? 0,
+ rightPanel: this.state.workspace?.rightPanel ?? 'chat',
};
}
closeWorkspaceFile(): void {
const ws = this.state.workspace;
if (!ws?.active) return;
- this.update({ workspace: { ...ws, openedFilePath: null, openedFilePreview: [], lastAction: 'Closed file preview' } });
+ this.update({ workspace: { ...ws, openedFilePath: null, openedFilePreview: [], codeScrollOffset: 0, focusArea: 'explorer', lastAction: 'Closed file preview' } });
+ }
+
+ scrollWorkspaceCode(delta: number): void {
+ const ws = this.state.workspace;
+ if (!ws?.active || !ws.openedFilePreview.length) return;
+ const maxOffset = Math.max(0, ws.openedFilePreview.length - 1);
+ const next = Math.max(0, Math.min(maxOffset, ws.codeScrollOffset + delta));
+ if (next !== ws.codeScrollOffset) {
+ this.update({ workspace: { ...ws, codeScrollOffset: next } });
+ }
+ }
+
+ setWorkspaceFocus(area: 'explorer' | 'code' | 'git' | 'chat'): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ // When focusing git or chat, also switch the right panel
+ const rightPanel = area === 'git' ? 'git' : area === 'chat' ? 'chat' : ws.rightPanel;
+ this.update({ workspace: { ...ws, focusArea: area, rightPanel } });
+ }
+
+ toggleWorkspaceChat(): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ // Toggle right panel between chat and git
+ const rightPanel = ws.rightPanel === 'chat' ? 'git' : 'chat';
+ const focusArea = rightPanel === 'chat' ? 'chat' : ws.focusArea === 'chat' ? 'explorer' : ws.focusArea;
+ this.update({ workspace: { ...ws, rightPanel, focusArea } });
+ }
+
+ scrollWorkspaceChat(delta: number): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ const maxOffset = Math.max(0, this.state.chatMessages.length - 1);
+ const next = Math.max(0, Math.min(maxOffset, ws.chatScrollOffset + delta));
+ if (next !== ws.chatScrollOffset) {
+ this.update({ workspace: { ...ws, chatScrollOffset: next } });
+ }
}
private exitWorkspaceToChat(): void {
const ws = this.state.workspace;
- const nextWorkspace = ws ? { ...ws, active: false, lastAction: 'Exited workspace mode' } : null;
+ const nextWorkspace = ws ? { ...ws, active: false, focusArea: 'explorer' as const, codeScrollOffset: 0, chatCollapsed: false, chatScrollOffset: 0, rightPanel: 'chat' as const, lastAction: 'Exited workspace mode' } : null;
this.update({
mode: 'chat',
workspace: nextWorkspace,
@@ -670,7 +777,7 @@ export class CLIChannel extends BaseChannel {
private readFilePreview(filePath: string): string[] {
try {
const raw = fs.readFileSync(filePath, 'utf-8');
- return raw.split('\n').slice(0, 80);
+ return raw.split('\n').slice(0, 500);
} catch {
return ['(Unable to read file preview)'];
}
diff --git a/src/channels/telegram.ts b/src/channels/telegram.ts
index 4612a489..bc250ea4 100644
--- a/src/channels/telegram.ts
+++ b/src/channels/telegram.ts
@@ -40,7 +40,22 @@ export class TelegramChannel extends BaseChannel {
private onPermissionMode?: (mode: PermissionMode, chatId: number) => void;
private statusMessageIds = new Map<string, number>();
private stepCounters = new Map<string, number>();
+ private stepHistory = new Map<string, string[]>();
private statusText = new Map<string, string>();
+ /** Track all ephemeral message IDs (permissions, loops, status) per chat for cleanup */
+ private ephemeralMessageIds = new Map<string, number[]>();
+ /** Track pinned status message per chat (only one at a time) */
+ private pinnedMessageIds = new Map<string, number>();
+ /** Minimum steps before we pin the status card */
+ private static readonly PIN_STEP_THRESHOLD = 3;
+ /** Whether a task is currently active per chat — gates message routing */
+ private taskActive = new Map<string, boolean>();
+ /** Deferred AI responses to send after task completes */
+ private deferredResponses = new Map<string, string>();
+ /** Notices appended to the status card during a task (Autopilot warnings, etc.) */
+ private statusNotices = new Map<string, string[]>();
+ /** Maximum number of notice lines to show in the status card */
+ private static readonly MAX_STATUS_NOTICES = 3;
constructor(private config: MercuryConfig) {
super();
@@ -50,6 +65,34 @@ export class TelegramChannel extends BaseChannel {
this.chatCommandContext = ctx;
}
+ /** Mark a task as active — routes send() through the status card */
+ beginTask(targetId?: string): void {
+ const key = targetId || 'notification';
+ this.taskActive.set(key, true);
+ this.deferredResponses.delete(key);
+ this.statusNotices.delete(key);
+ }
+
+ /** Mark task as ended — allows normal send() again */
+ endTask(targetId?: string): void {
+ const key = targetId || 'notification';
+ this.taskActive.set(key, false);
+ }
+
+ /** Check if a task is currently active */
+ isTaskActive(targetId?: string): boolean {
+ const key = targetId || 'notification';
+ return this.taskActive.get(key) ?? false;
+ }
+
+ /** Get and clear deferred response text (to send after task cleanup) */
+ popDeferredResponse(targetId?: string): string | undefined {
+ const key = targetId || 'notification';
+ const text = this.deferredResponses.get(key);
+ this.deferredResponses.delete(key);
+ return text;
+ }
+
setOnPermissionMode(handler: (mode: PermissionMode, chatId: number) => void): void {
this.onPermissionMode = handler;
}
@@ -228,20 +271,20 @@ export class TelegramChannel extends BaseChannel {
const commands = [
{ command: 'start', description: 'Request Telegram access to this Mercury instance' },
- { command: 'pair', description: 'Request Telegram access to this Mercury instance' },
- { command: 'help', description: 'Show capabilities and commands manual' },
+ { command: 'help', description: 'Show available commands' },
{ command: 'status', description: 'Show agent config, budget, and uptime' },
- { command: 'tools', description: 'List all loaded tools' },
- { command: 'skills', description: 'List installed skills' },
- { command: 'budget', description: 'Show token budget status' },
- { command: 'budget_override', description: 'Override budget for one request' },
- { command: 'budget_reset', description: 'Reset token usage to zero' },
- { command: 'budget_set', description: 'Set new daily token budget' },
+ { command: 'progress', description: 'Live status for the current task' },
+ { command: 'stop', description: 'Stop all agents and clear queue' },
+ { command: 'budget', description: 'Token budget status and management' },
{ command: 'stream', description: 'Toggle text streaming on/off' },
{ command: 'memory', description: 'View and manage second brain memory' },
{ command: 'permissions', description: 'Change permission mode (Ask Me / Allow All)' },
- { command: 'tasks', description: 'List scheduled tasks' },
- { command: 'unpair', description: 'Reset all Telegram access for this Mercury instance' },
+ { command: 'models', description: 'List providers or switch AI model' },
+ { command: 'code', description: 'Programming mode (plan / execute / off)' },
+ { command: 'agents', description: 'List and manage sub-agents' },
+ { command: 'bg', description: 'Background tasks (list / cancel / run)' },
+ { command: 'spotify', description: 'Spotify playback controls' },
+ { command: 'unpair', description: 'Reset all Telegram access (admin only)' },
];
try {
@@ -265,6 +308,32 @@ export class TelegramChannel extends BaseChannel {
return;
}
+ const key = targetId || 'notification';
+
+ // During an active task, route messages through the status card instead of creating new messages
+ if (this.taskActive.get(key)) {
+ const timeSuffix = elapsedMs != null ? ` (${(elapsedMs / 1000).toFixed(1)}s)` : '';
+ const fullContent = content + timeSuffix;
+ if (!fullContent.trim()) return;
+
+ // If this looks like a final AI response (long, not a system notice), defer it
+ const isSystemNotice = content.startsWith('☿ ') || content.startsWith('⚠') || content.startsWith(' [') || content.length < 200;
+ if (isSystemNotice) {
+ // Append as a notice line in the status card
+ const notices = this.statusNotices.get(key) || [];
+ // Truncate long notices to keep status card compact
+ const truncated = fullContent.length > 80 ? fullContent.slice(0, 77) + '…' : fullContent;
+ notices.push(truncated);
+ this.statusNotices.set(key, notices);
+ // Refresh the status card to include the notice
+ await this.refreshStatusCard(targetId);
+ } else {
+ // Defer the full response — will be sent after task completes
+ this.deferredResponses.set(key, fullContent);
+ }
+ return;
+ }
+
const timeSuffix = elapsedMs != null ? `\n⏱ ${(elapsedMs / 1000).toFixed(1)}s` : '';
const fullContent = content + timeSuffix;
if (!fullContent.trim()) {
@@ -333,12 +402,20 @@ export class TelegramChannel extends BaseChannel {
const chatIds = this.resolveTargetChatIds(targetId);
if (chatIds.length === 0 || !this.bot) return '';
- this.deleteStatusMessage(targetId);
-
let full = '';
for await (const chunk of content) {
full += chunk;
}
+
+ const key = targetId || 'notification';
+ // During an active task, defer the streamed response
+ if (this.taskActive.get(key)) {
+ this.deferredResponses.set(key, full);
+ return full;
+ }
+
+ this.deleteStatusMessage(targetId);
+
const html = mdToTelegram(full);
for (const chatId of chatIds) {
try {
@@ -352,19 +429,48 @@ export class TelegramChannel extends BaseChannel {
async sendToolFeedback(toolName: string, args: Record<string, any>, targetId?: string): Promise<void> {
const key = targetId || 'notification';
- this.stepCounters.set(key, (this.stepCounters.get(key) || 0) + 1);
- const step = this.stepCounters.get(key)!;
+ const step = (this.stepCounters.get(key) || 0) + 1;
+ this.stepCounters.set(key, step);
const label = formatToolStep(toolName, args);
- await this.updateStatusMessage(`**Step ${step}.** ${label}`, targetId);
+
+ // Build a rolling progress view: completed steps + current
+ const history = this.stepHistory.get(key) || [];
+ // Keep last 5 completed steps visible
+ const recentHistory = history.slice(-5);
+ const lines = [
+ `⚙️ **Mercury working** (step ${step})`,
+ '',
+ ...recentHistory.map(h => `✅ ${h}`),
+ `⏳ ${label}…`,
+ ];
+ await this.updateStatusMessage(lines.join('\n'), targetId);
+
+ // Pin the status card once we hit the threshold (substantial task)
+ if (step === TelegramChannel.PIN_STEP_THRESHOLD) {
+ await this.pinStatusMessage(targetId);
+ }
}
async sendStepDone(toolName: string, result: unknown, targetId?: string): Promise<void> {
const key = targetId || 'notification';
const step = this.stepCounters.get(key) || 0;
const summary = formatToolResult(toolName, result);
- const current = this.statusText.get(key) || '';
- const line = summary ? `✓ ${summary}` : '✓ done';
- await this.updateStatusMessage(`${current}\n${line}`, targetId);
+ const label = formatToolStep(toolName, {} as any);
+ const doneLine = summary ? `${label} · ${summary}` : label;
+
+ // Add to history
+ const history = this.stepHistory.get(key) || [];
+ history.push(doneLine);
+ this.stepHistory.set(key, history);
+
+ // Update progress view
+ const recentHistory = history.slice(-5);
+ const lines = [
+ `⚙️ **Mercury working** (${step} steps done)`,
+ '',
+ ...recentHistory.map(h => `✅ ${h}`),
+ ];
+ await this.updateStatusMessage(lines.join('\n'), targetId);
}
async typing(targetId?: string): Promise<void> {
@@ -391,6 +497,18 @@ export class TelegramChannel extends BaseChannel {
async sendStreamToChat(chatId: number, textStream: AsyncIterable<string>): Promise<string> {
if (!this.bot) return '';
+ // During an active task, collect the stream and defer it
+ // Check all task-active keys since we have chatId not targetId
+ const activeKey = this.findActiveTaskKey(chatId);
+ if (activeKey) {
+ let full = '';
+ for await (const chunk of textStream) {
+ full += chunk;
+ }
+ this.deferredResponses.set(activeKey, full);
+ return full;
+ }
+
const STREAM_EDIT_INTERVAL = 1500;
const STREAM_MIN_LENGTH = 20;
@@ -474,27 +592,41 @@ export class TelegramChannel extends BaseChannel {
.text('Deny', `${id}:no`);
const html = mdToTelegram(prompt);
+ let sentMsgId: number | undefined;
try {
- await this.bot.api.sendMessage(chatId, html, {
+ const msg = await this.bot.api.sendMessage(chatId, html, {
parse_mode: 'HTML',
reply_markup: keyboard,
});
+ sentMsgId = msg.message_id;
} catch {
- await this.bot.api.sendMessage(chatId, this.stripHtml(html), {
+ const msg = await this.bot.api.sendMessage(chatId, this.stripHtml(html), {
reply_markup: keyboard,
});
+ sentMsgId = msg.message_id;
}
+ if (sentMsgId) this.trackEphemeral(targetId, sentMsgId);
+
return new Promise((resolve) => {
- this.pendingApprovals.set(`${id}:yes`, () => resolve('yes'));
- this.pendingApprovals.set(`${id}:always`, () => resolve('always'));
- this.pendingApprovals.set(`${id}:no`, () => resolve('no'));
+ const cleanup = (result: string) => {
+ this.pendingApprovals.delete(`${id}:yes`);
+ this.pendingApprovals.delete(`${id}:always`);
+ this.pendingApprovals.delete(`${id}:no`);
+ // Delete the permission card immediately
+ if (sentMsgId) this.deleteEphemeralMessage(targetId, sentMsgId);
+ resolve(result);
+ };
+ this.pendingApprovals.set(`${id}:yes`, () => cleanup('yes'));
+ this.pendingApprovals.set(`${id}:always`, () => cleanup('always'));
+ this.pendingApprovals.set(`${id}:no`, () => cleanup('no'));
setTimeout(() => {
this.pendingApprovals.delete(`${id}:yes`);
this.pendingApprovals.delete(`${id}:always`);
this.pendingApprovals.delete(`${id}:no`);
+ if (sentMsgId) this.deleteEphemeralMessage(targetId, sentMsgId);
resolve('no');
}, 120_000);
});
@@ -510,24 +642,36 @@ export class TelegramChannel extends BaseChannel {
.text('Continue', `${id}:yes`)
.text('Stop', `${id}:no`);
+ let sentMsgId: number | undefined;
try {
- await this.bot.api.sendMessage(chatId, mdToTelegram(question), {
+ const msg = await this.bot.api.sendMessage(chatId, mdToTelegram(question), {
parse_mode: 'HTML',
reply_markup: keyboard,
});
+ sentMsgId = msg.message_id;
} catch {
- await this.bot.api.sendMessage(chatId, question, {
+ const msg = await this.bot.api.sendMessage(chatId, question, {
reply_markup: keyboard,
});
+ sentMsgId = msg.message_id;
}
+ if (sentMsgId) this.trackEphemeral(targetId, sentMsgId);
+
return new Promise((resolve) => {
- this.pendingApprovals.set(`${id}:yes`, () => resolve(true));
- this.pendingApprovals.set(`${id}:no`, () => resolve(false));
+ const cleanup = (result: boolean) => {
+ this.pendingApprovals.delete(`${id}:yes`);
+ this.pendingApprovals.delete(`${id}:no`);
+ if (sentMsgId) this.deleteEphemeralMessage(targetId, sentMsgId);
+ resolve(result);
+ };
+ this.pendingApprovals.set(`${id}:yes`, () => cleanup(true));
+ this.pendingApprovals.set(`${id}:no`, () => cleanup(false));
setTimeout(() => {
this.pendingApprovals.delete(`${id}:yes`);
this.pendingApprovals.delete(`${id}:no`);
+ if (sentMsgId) this.deleteEphemeralMessage(targetId, sentMsgId);
resolve(false);
}, 120_000);
});
@@ -545,24 +689,36 @@ export class TelegramChannel extends BaseChannel {
const html = `<b>Permission Mode</b>\nHow should Mercury handle risky actions this session?\n\n🔒 <b>Ask Me</b> — confirm before file writes, commands, and scope changes\n✅ <b>Allow All</b> — auto-approve everything (scopes, commands, loops)`;
+ let sentMsgId: number | undefined;
try {
- await this.bot.api.sendMessage(chatId, html, {
+ const msg = await this.bot.api.sendMessage(chatId, html, {
parse_mode: 'HTML',
reply_markup: keyboard,
});
+ sentMsgId = msg.message_id;
} catch {
- await this.bot.api.sendMessage(chatId, this.stripHtml(html), {
+ const msg = await this.bot.api.sendMessage(chatId, this.stripHtml(html), {
reply_markup: keyboard,
});
+ sentMsgId = msg.message_id;
}
+ if (sentMsgId) this.trackEphemeral(targetId, sentMsgId);
+
return new Promise((resolve) => {
- this.pendingApprovals.set(`${id}:ask-me`, () => resolve('ask-me'));
- this.pendingApprovals.set(`${id}:allow-all`, () => resolve('allow-all'));
+ const cleanup = (result: PermissionMode) => {
+ this.pendingApprovals.delete(`${id}:ask-me`);
+ this.pendingApprovals.delete(`${id}:allow-all`);
+ if (sentMsgId) this.deleteEphemeralMessage(targetId, sentMsgId);
+ resolve(result);
+ };
+ this.pendingApprovals.set(`${id}:ask-me`, () => cleanup('ask-me'));
+ this.pendingApprovals.set(`${id}:allow-all`, () => cleanup('allow-all'));
setTimeout(() => {
this.pendingApprovals.delete(`${id}:ask-me`);
this.pendingApprovals.delete(`${id}:allow-all`);
+ if (sentMsgId) this.deleteEphemeralMessage(targetId, sentMsgId);
resolve('ask-me');
}, 120_000);
});
@@ -944,6 +1100,42 @@ export class TelegramChannel extends BaseChannel {
.replace(/&amp;/g, '&');
}
+ /** Find the task-active key that matches a numeric chatId */
+ private findActiveTaskKey(chatId: number): string | undefined {
+ for (const [key, active] of this.taskActive) {
+ if (!active) continue;
+ // Keys can be 'notification', 'telegram:12345', or just '12345'
+ if (key === 'notification') return key;
+ const numericPart = key.startsWith('telegram:') ? key.split(':')[1] : key;
+ if (numericPart === String(chatId)) return key;
+ }
+ return undefined;
+ }
+
+ /** Refresh the status card with current step history + notices */
+ private async refreshStatusCard(targetId?: string): Promise<void> {
+ const key = targetId || 'notification';
+ const step = this.stepCounters.get(key) || 0;
+ const history = this.stepHistory.get(key) || [];
+ const notices = this.statusNotices.get(key) || [];
+
+ const recentHistory = history.slice(-5);
+ const recentNotices = notices.slice(-TelegramChannel.MAX_STATUS_NOTICES);
+
+ const lines = [
+ `⚙️ **Mercury working** (step ${step})`,
+ '',
+ ...recentHistory.map(h => `✅ ${h}`),
+ ];
+
+ if (recentNotices.length > 0) {
+ lines.push('');
+ lines.push(...recentNotices.map(n => `💬 ${n}`));
+ }
+
+ await this.updateStatusMessage(lines.join('\n'), targetId);
+ }
+
private async updateStatusMessage(text: string, targetId?: string): Promise<void> {
const chatIds = this.resolveTargetChatIds(targetId);
if (chatIds.length === 0 || !this.bot) return;
@@ -981,6 +1173,8 @@ export class TelegramChannel extends BaseChannel {
const key = targetId || 'notification';
const msgId = this.statusMessageIds.get(key);
if (msgId && this.bot) {
+ // Unpin before deleting if this was pinned
+ await this.unpinStatusMessage(targetId);
const chatIds = this.resolveTargetChatIds(targetId);
for (const chatId of chatIds) {
await this.bot.api.deleteMessage(chatId, msgId).catch(() => {});
@@ -991,13 +1185,171 @@ export class TelegramChannel extends BaseChannel {
}
}
+ /** Pin the current status message to the top of the chat (silently) */
+ private async pinStatusMessage(targetId?: string): Promise<void> {
+ if (!this.bot) return;
+ const key = targetId || 'notification';
+ const msgId = this.statusMessageIds.get(key);
+ if (!msgId) return;
+
+ const chatIds = this.resolveTargetChatIds(targetId);
+ for (const chatId of chatIds) {
+ // Failsafe: unpin any existing pinned message first
+ const existingPin = this.pinnedMessageIds.get(key);
+ if (existingPin && existingPin !== msgId) {
+ await this.bot.api.unpinChatMessage(chatId, existingPin).catch(() => {});
+ this.pinnedMessageIds.delete(key);
+ }
+
+ // Don't re-pin the same message
+ if (existingPin === msgId) return;
+
+ try {
+ await this.bot.api.pinChatMessage(chatId, msgId, { disable_notification: true });
+ this.pinnedMessageIds.set(key, msgId);
+ logger.info({ chatId, msgId }, 'Pinned status message');
+ } catch (err: any) {
+ logger.warn({ err: err.message, chatId }, 'Failed to pin status message');
+ }
+ }
+ }
+
+ /** Unpin the current status message */
+ private async unpinStatusMessage(targetId?: string): Promise<void> {
+ if (!this.bot) return;
+ const key = targetId || 'notification';
+ const msgId = this.pinnedMessageIds.get(key);
+ if (!msgId) return;
+
+ const chatIds = this.resolveTargetChatIds(targetId);
+ for (const chatId of chatIds) {
+ await this.bot.api.unpinChatMessage(chatId, msgId).catch(() => {});
+ }
+ this.pinnedMessageIds.delete(key);
+ }
+
+ /** Track a message ID as ephemeral (will be deleted on task completion) */
+ private trackEphemeral(targetId: string | undefined, messageId: number): void {
+ const key = targetId || 'notification';
+ const ids = this.ephemeralMessageIds.get(key) || [];
+ ids.push(messageId);
+ this.ephemeralMessageIds.set(key, ids);
+ }
+
+ /** Delete a specific ephemeral message immediately (e.g., after permission response) */
+ private async deleteEphemeralMessage(targetId: string | undefined, messageId: number): Promise<void> {
+ if (!this.bot) return;
+ const chatIds = this.resolveTargetChatIds(targetId);
+ for (const chatId of chatIds) {
+ await this.bot.api.deleteMessage(chatId, messageId).catch(() => {});
+ }
+ // Remove from tracking
+ const key = targetId || 'notification';
+ const ids = this.ephemeralMessageIds.get(key);
+ if (ids) {
+ const idx = ids.indexOf(messageId);
+ if (idx !== -1) ids.splice(idx, 1);
+ }
+ }
+
+ /** Clean up all ephemeral messages for a chat (called on task completion) */
+ async cleanupEphemeralMessages(targetId?: string): Promise<void> {
+ if (!this.bot) return;
+ const key = targetId || 'notification';
+ const ids = this.ephemeralMessageIds.get(key) || [];
+ const chatIds = this.resolveTargetChatIds(targetId);
+ for (const chatId of chatIds) {
+ for (const msgId of ids) {
+ await this.bot.api.deleteMessage(chatId, msgId).catch(() => {});
+ }
+ }
+ this.ephemeralMessageIds.delete(key);
+ }
+
resetStepCounter(targetId?: string): void {
const key = targetId || 'notification';
this.stepCounters.delete(key);
+ this.stepHistory.delete(key);
this.statusText.delete(key);
+ this.statusNotices.delete(key);
+ this.endTask(targetId);
this.deleteStatusMessage(targetId);
}
+ async sendCompletion(elapsedMs: number, stepCount: number, targetId?: string, meta?: { provider: string; model: string; inputTokens: number; outputTokens: number; totalTokens: number; budgetUsed: number; budgetTotal: number; budgetPercentage: number }): Promise<void> {
+ const secs = Math.floor(elapsedMs / 1000);
+ const mins = Math.floor(secs / 60);
+ const remSecs = secs % 60;
+ const timeStr = mins > 0 ? `${mins}m ${remSecs}s` : `${secs}s`;
+ const stepsStr = stepCount > 0 ? `${stepCount} step${stepCount !== 1 ? 's' : ''}` : '';
+ const parts = [stepsStr, timeStr].filter(Boolean).join(' · ');
+
+ const key = targetId || 'notification';
+ const history = this.stepHistory.get(key) || [];
+ const recentHistory = history.slice(-5);
+
+ const lines = [
+ `✅ **Task complete** (${parts})`,
+ ];
+
+ if (meta) {
+ const formatTokens = (n: number) => n >= 1000 ? `${(n / 1000).toFixed(1)}k` : `${n}`;
+ lines.push(`☿ ${meta.model} via ${meta.provider} · ${formatTokens(meta.totalTokens)} tokens`);
+ const pct = Math.round(meta.budgetPercentage);
+ const barLen = 15;
+ const filled = Math.round((pct / 100) * barLen);
+ const bar = '█'.repeat(filled) + '░'.repeat(barLen - filled);
+ lines.push(`Budget: ${bar} ${pct}% (${formatTokens(meta.budgetUsed)} / ${formatTokens(meta.budgetTotal)})`);
+ }
+
+ if (recentHistory.length > 0) {
+ lines.push('');
+ lines.push(...recentHistory.map(h => ` ✓ ${h}`));
+ }
+
+ // Clean up: unpin + delete the status card, clean up ephemeral messages
+ await this.deleteStatusMessage(targetId);
+ await this.cleanupEphemeralMessages(targetId);
+
+ // End the task so deferred response flush uses normal send()
+ this.endTask(targetId);
+
+ const chatIds = this.resolveTargetChatIds(targetId);
+
+ // Flush deferred AI response first (the actual answer the user wants to see)
+ const deferred = this.deferredResponses.get(key);
+ if (deferred && deferred.trim()) {
+ this.deferredResponses.delete(key);
+ const deferredHtml = mdToTelegram(deferred);
+ const chunks = this.splitMessage(deferredHtml, MAX_MESSAGE_LENGTH);
+ for (const chatId of chatIds) {
+ for (const chunk of chunks) {
+ try {
+ await this.bot?.api.sendMessage(chatId, chunk, { parse_mode: 'HTML' });
+ } catch {
+ await this.bot?.api.sendMessage(chatId, this.stripHtml(chunk)).catch(() => {});
+ }
+ }
+ }
+ }
+
+ // Send the completion banner as a separate message
+ const html = mdToTelegram(lines.join('\n'));
+ for (const chatId of chatIds) {
+ try {
+ await this.bot?.api.sendMessage(chatId, html, { parse_mode: 'HTML' });
+ } catch {
+ await this.bot?.api.sendMessage(chatId, this.stripHtml(html)).catch(() => {});
+ }
+ }
+
+ this.stepCounters.delete(key);
+ this.stepHistory.delete(key);
+ this.statusText.delete(key);
+ this.statusMessageIds.delete(key);
+ this.statusNotices.delete(key);
+ }
+
private isImageFile(ext: string): boolean {
return ['.jpg', '.jpeg', '.png', '.gif', '.webp', '.bmp', '.svg'].includes(ext);
}
diff --git a/src/core/agent.ts b/src/core/agent.ts
index 0958a3c6..40618c19 100644
--- a/src/core/agent.ts
+++ b/src/core/agent.ts
@@ -19,7 +19,8 @@ import { BackgroundTaskManager } from './background-tasks.js';
import { logger } from '../utils/logger.js';
import { CLIChannel } from '../channels/cli.js';
import { TelegramChannel } from '../channels/telegram.js';
-import { formatToolStep } from '../utils/tool-label.js';
+import { formatToolStep, formatNarrative, type NarrativeStep } from '../utils/tool-label.js';
+import { getTelegramHelp } from '../utils/manual.js';
import type { ArrowSelectOption } from '../utils/arrow-select.js';
import { setAskUserHandler } from '../capabilities/interaction/ask-user.js';
import type { SpotifyClient } from '../spotify/client.js';
@@ -40,46 +41,39 @@ import {
} from '../utils/config.js';
class ToolCallLoopDetector {
- private recentCalls: Array<{ tool: string; params: string; failed: boolean }> = [];
+ private recentCalls: Array<{ tool: string; params: string; failed: boolean; timestamp: number }> = [];
private totalCalls = 0;
private hardAborted = false;
private recentStepTexts: Array<string> = [];
private consecutiveNoActionSteps = 0;
- private static readonly ABSOLUTE_MAX = 25;
- private static readonly FAILED_ABSOLUTE_MAX = 12;
- private static readonly NO_ACTION_MAX = 5;
+ // --- Limits ---
+ private static readonly ABSOLUTE_MAX = 75;
+ private static readonly FAILED_ABSOLUTE_MAX = 20;
+ private static readonly NO_ACTION_MAX = 6;
+ // Tools that naturally repeat in productive work
private static readonly HIGH_TOLERANCE_TOOLS = new Set([
- 'fetch_url',
- 'read_file',
- 'list_dir',
- 'web_search',
- 'github_api',
+ 'fetch_url', 'read_file', 'list_dir', 'web_search', 'github_api',
+ 'run_command', 'edit_file', 'write_file', 'create_file',
+ 'git_status', 'git_diff', 'git_log',
]);
- private static readonly IDENTICAL_THRESHOLD = 3;
- private static readonly SIMILAR_THRESHOLD = 4;
- private static readonly TEXT_REPEAT_THRESHOLD = 3;
- private static readonly MAX_STEP_TEXTS = 12;
-
- private static getSameToolThreshold(toolName: string, failingCount: number): number {
- const baseHigh = 5;
- const baseNormal = 3;
- const isHigh = ToolCallLoopDetector.HIGH_TOLERANCE_TOOLS.has(toolName);
- let threshold = isHigh ? baseHigh : baseNormal;
- if (failingCount >= 3) {
- threshold = Math.min(threshold, isHigh ? 3 : 2);
- }
- return threshold;
- }
+ // --- Thresholds ---
+ // Identical = same tool + same params (always a true loop)
+ private static readonly IDENTICAL_THRESHOLD = 4;
+ // Similar = same tool, all failing
+ private static readonly SIMILAR_THRESHOLD = 6;
+ // Text repetition in model output
+ private static readonly TEXT_REPEAT_THRESHOLD = 4;
+ private static readonly MAX_STEP_TEXTS = 15;
record(toolName: string, params: Record<string, any>, failed: boolean = false): void {
- const paramsKey = JSON.stringify(params).slice(0, 200);
- this.recentCalls.push({ tool: toolName, params: paramsKey, failed });
+ const paramsKey = JSON.stringify(params).slice(0, 300);
+ this.recentCalls.push({ tool: toolName, params: paramsKey, failed, timestamp: Date.now() });
this.totalCalls++;
this.consecutiveNoActionSteps = 0;
- if (this.recentCalls.length > 30) {
+ if (this.recentCalls.length > 40) {
this.recentCalls.shift();
}
}
@@ -106,11 +100,13 @@ class ToolCallLoopDetector {
return false;
}
+ /**
+ * Identical loop: same tool + exact same params repeated.
+ * This is always a true stuck loop — no productive work produces identical calls.
+ */
detectIdentical(): { tool: string; count: number; message: string } | null {
if (this.recentCalls.length < 3) return null;
-
const last = this.recentCalls[this.recentCalls.length - 1];
-
let identicalCount = 0;
for (let i = this.recentCalls.length - 1; i >= 0; i--) {
if (this.recentCalls[i].tool === last.tool && this.recentCalls[i].params === last.params) {
@@ -119,77 +115,60 @@ class ToolCallLoopDetector {
break;
}
}
-
if (identicalCount >= ToolCallLoopDetector.IDENTICAL_THRESHOLD) {
this.hardAborted = true;
return {
tool: last.tool,
count: identicalCount,
- message: `[SYSTEM] You called "${last.tool}" ${identicalCount} times with identical parameters and got the same result. This is a hard loop — stop immediately.`,
+ message: `Identical call detected: "${last.tool}" called ${identicalCount}x with the exact same parameters.`,
};
}
-
return null;
}
+ /**
+ * Failing loop: same tool called repeatedly, all calls failing.
+ * Different params but consistently failing = stuck on a broken approach.
+ */
detectSimilarLoop(): { tool: string; count: number; message: string } | null {
if (this.recentCalls.length < 4) return null;
-
const last = this.recentCalls[this.recentCalls.length - 1];
- let similarCount = 0;
-
+ let failCount = 0;
for (let i = this.recentCalls.length - 1; i >= 0; i--) {
const call = this.recentCalls[i];
if (call.tool !== last.tool) break;
- if (call.failed || last.failed) {
- similarCount++;
- } else {
- break;
- }
+ if (call.failed) failCount++;
+ else break;
}
-
- if (similarCount >= ToolCallLoopDetector.SIMILAR_THRESHOLD) {
+ if (failCount >= ToolCallLoopDetector.SIMILAR_THRESHOLD) {
this.hardAborted = true;
return {
tool: last.tool,
- count: similarCount,
- message: `[SYSTEM] You called "${last.tool}" ${similarCount} times with different params but all are failing. This is a failing loop — stop immediately. Tell the user you cannot complete this task.`,
+ count: failCount,
+ message: `Failing loop: "${last.tool}" called ${failCount}x, all failing.`,
};
}
-
return null;
}
detectTextRepetition(): { pattern: string; count: number } | null {
if (this.recentStepTexts.length < ToolCallLoopDetector.TEXT_REPEAT_THRESHOLD) return null;
-
const texts = this.recentStepTexts;
const last = texts[texts.length - 1];
-
let repeatCount = 0;
for (let i = texts.length - 1; i >= 0; i--) {
- const similarity = this.textSimilarity(last, texts[i]);
- if (similarity >= 0.7) {
- repeatCount++;
- } else {
- break;
- }
+ if (this.textSimilarity(last, texts[i]) >= 0.7) repeatCount++;
+ else break;
}
-
if (repeatCount >= ToolCallLoopDetector.TEXT_REPEAT_THRESHOLD) {
- return {
- pattern: last.slice(0, 60),
- count: repeatCount,
- };
+ return { pattern: last.slice(0, 60), count: repeatCount };
}
-
return null;
}
private textSimilarity(a: string, b: string): number {
if (a === b) return 1;
if (!a || !b) return 0;
-
const setA = new Set(a.split(' '));
const setB = new Set(b.split(' '));
const intersection = [...setA].filter(w => setB.has(w)).length;
@@ -197,47 +176,88 @@ class ToolCallLoopDetector {
return union === 0 ? 0 : intersection / union;
}
- detectSameTool(): { tool: string; count: number } | null {
- if (this.recentCalls.length < 3) return null;
-
+ /**
+ * Smart repetition analysis: detects same-tool runs but evaluates whether
+ * the work is productive based on parameter diversity and success rate.
+ *
+ * Returns null if no concern, or an analysis object with:
+ * - tool, count: what's repeating
+ * - paramDiversity: 0-1, how varied the parameters are (1 = all unique)
+ * - successRate: 0-1, fraction of calls that succeeded
+ * - verdict: 'productive' | 'suspicious' | 'stuck'
+ */
+ analyzeRepetition(): {
+ tool: string;
+ count: number;
+ paramDiversity: number;
+ successRate: number;
+ verdict: 'productive' | 'suspicious' | 'stuck';
+ } | null {
+ if (this.recentCalls.length < 5) return null;
+
+ // Find the consecutive run of the same tool
const last = this.recentCalls[this.recentCalls.length - 1];
-
- let consecutiveCount = 0;
- let failingConsecutive = 0;
+ const run: typeof this.recentCalls = [];
for (let i = this.recentCalls.length - 1; i >= 0; i--) {
- if (this.recentCalls[i].tool === last.tool) {
- consecutiveCount++;
- if (this.recentCalls[i].failed) failingConsecutive++;
- } else {
- break;
- }
- }
-
- const threshold = ToolCallLoopDetector.getSameToolThreshold(last.tool, failingConsecutive);
- if (consecutiveCount >= threshold) {
- return { tool: last.tool, count: consecutiveCount };
- }
-
- if (this.recentCalls.length >= 6) {
- const lastN = this.recentCalls.slice(-6);
- const toolCounts: Record<string, number> = {};
- for (const call of lastN) {
- toolCounts[call.tool] = (toolCounts[call.tool] || 0) + 1;
- }
- for (const [tool, count] of Object.entries(toolCounts)) {
- if (count >= 5) {
- return { tool, count };
- }
- }
+ if (this.recentCalls[i].tool === last.tool) run.unshift(this.recentCalls[i]);
+ else break;
+ }
+
+ // Need a meaningful run length to analyze
+ const isHigh = ToolCallLoopDetector.HIGH_TOLERANCE_TOOLS.has(last.tool);
+ const minRun = isHigh ? 10 : 6;
+ if (run.length < minRun) return null;
+
+ // Parameter diversity: how many unique param sets vs total calls
+ const uniqueParams = new Set(run.map(c => c.params));
+ const paramDiversity = uniqueParams.size / run.length;
+
+ // Success rate
+ const successes = run.filter(c => !c.failed).length;
+ const successRate = successes / run.length;
+
+ // Verdict logic
+ let verdict: 'productive' | 'suspicious' | 'stuck';
+ if (paramDiversity >= 0.6 && successRate >= 0.7) {
+ // High diversity + mostly succeeding = productive iteration
+ // e.g., fetching 20 different URLs, reading 15 different files
+ verdict = 'productive';
+ } else if (successRate < 0.3) {
+ // Mostly failing = stuck
+ verdict = 'stuck';
+ } else if (paramDiversity < 0.2 && successRate < 0.5) {
+ // Low diversity + mediocre success = suspicious
+ verdict = 'stuck';
+ } else if (paramDiversity < 0.3) {
+ // Low diversity but succeeding — suspicious (might be retrying similar things)
+ verdict = 'suspicious';
+ } else {
+ // Moderate diversity, moderate success — let it run but flag
+ verdict = 'suspicious';
}
- return null;
+ return {
+ tool: last.tool,
+ count: run.length,
+ paramDiversity,
+ successRate,
+ verdict,
+ };
}
isHardAborted(): boolean {
return this.hardAborted;
}
+ /** Return human-readable summaries of recent calls for AI self-check */
+ getRecentCallSummaries(): string[] {
+ return this.recentCalls.slice(-10).map(c => {
+ const params = c.params.length > 100 ? c.params.slice(0, 97) + '...' : c.params;
+ return `${c.tool}(${params})${c.failed ? ' [FAILED]' : ' [OK]'}`;
+ });
+ }
+
+ /** Reset all loop detection state */
reset(): void {
this.recentCalls = [];
this.totalCalls = 0;
@@ -247,8 +267,14 @@ class ToolCallLoopDetector {
}
}
-const MAX_STEPS = 10;
-const MAX_RESPONSE_TOKENS = 1600;
+const MAX_STEPS = 25;
+const MAX_RESPONSE_TOKENS = 4096;
+const HEARTBEAT_INITIAL_MS = 20000;
+const HEARTBEAT_MAX_MS = 60000;
+const LONG_TASK_HANDOFF_SUGGEST_MS = 45000;
+const MAX_FOREGROUND_WALL_MS = 10 * 60 * 1000;
+const MAX_STALL_MS = 4 * 60 * 1000;
+const MAX_SELF_CHECKS = 3; // max AI self-checks per request before hard-aborting
export class Agent {
readonly lifecycle: Lifecycle;
@@ -260,7 +286,10 @@ export class Agent {
private telegramStreaming: boolean;
private currentMessage: ChannelMessage | null = null;
private currentAbort: AbortController | null = null;
- private autoBackgroundHandoff = false;
+ private lastProgressAt = 0;
+ private currentActivity = '';
+ private completedStepCount = 0;
+ private stepNarrative: import('../utils/tool-label.js').NarrativeStep[] = [];
private supervisor?: import('../core/supervisor.js').SubAgentSupervisor;
readonly programmingMode: ProgrammingMode;
private spotifyClient?: SpotifyClient;
@@ -335,23 +364,6 @@ export class Agent {
const trimmed = msg.content.trim();
- if (
- this.processing &&
- !trimmed.startsWith('/') &&
- msg.channelType !== 'internal' &&
- this.supervisor &&
- this.currentMessage &&
- this.currentAbort &&
- !this.currentAbort.signal.aborted &&
- !this.autoBackgroundHandoff &&
- this.currentMessage.channelType === msg.channelType &&
- this.currentMessage.channelId === msg.channelId
- ) {
- void this.autoBackgroundCurrentTask(msg).catch((err) => {
- logger.warn({ err }, 'Auto-background handoff failed');
- });
- }
-
if (this.processing && trimmed.startsWith('/')) {
this.handleFastPathCommand(msg).catch((err) => {
logger.error({ err, content: trimmed.slice(0, 50) }, 'Fast-path command failed');
@@ -363,37 +375,6 @@ export class Agent {
this.processQueue();
}
- private async autoBackgroundCurrentTask(interruptMsg: ChannelMessage): Promise<void> {
- if (!this.currentMessage || !this.currentAbort || !this.supervisor) return;
- if (this.currentAbort.signal.aborted || this.autoBackgroundHandoff) return;
- this.autoBackgroundHandoff = true;
- try {
- const taskDescription = this.currentMessage.content.trim();
- if (!taskDescription) return;
-
- this.currentAbort.abort();
-
- const agentId = await this.supervisor.spawn({
- task: taskDescription,
- sourceChannelId: this.currentMessage.channelId,
- sourceChannelType: this.currentMessage.channelType as any,
- workingDirectory: this.capabilities.getCwd(),
- });
- const bgId = this.backgroundTasks.spawnAgent(taskDescription, this.capabilities.getCwd(), agentId);
- this.syncBgTasksToTui();
-
- const channel = this.channels.getChannelForMessage(interruptMsg);
- if (channel) {
- await channel.send(
- `📋 I moved the in-progress task to background (${bgId}) so I can respond now. Use /bg ${bgId} or /bg list for progress.`,
- interruptMsg.channelId,
- ).catch(() => {});
- }
- } finally {
- this.autoBackgroundHandoff = false;
- }
- }
-
private async handleFastPathCommand(msg: ChannelMessage): Promise<void> {
const trimmed = msg.content.trim();
const channel = this.channels.getChannelForMessage(msg);
@@ -438,8 +419,24 @@ export class Agent {
return;
}
+ if (trimmed === '/progress' || trimmed === '/still') {
+ if (!this.processing || !this.currentMessage) {
+ await channel.send('No active foreground task.', msg.channelId);
+ return;
+ }
+ const elapsedSec = Math.round((Date.now() - this.currentMessage.timestamp) / 1000);
+ const stepInfo = this.completedStepCount > 0 ? ` · step ${this.completedStepCount}/${MAX_STEPS}` : '';
+ const narrative = formatNarrative(this.stepNarrative, this.currentActivity, 10);
+ const narrativeBlock = narrative ? `\n${narrative}` : '';
+ await channel.send(
+ `⏳ Task in progress (${elapsedSec}s${stepInfo})${narrativeBlock}\nUse /bg current to move it to background.`,
+ msg.channelId,
+ );
+ return;
+ }
+
if (trimmed === '/help') {
- await channel.send('Agent is busy. Available: /agents, /halt, /stop, /spotify, /code, /memory, /bg', msg.channelId);
+ await channel.send('Agent is busy. Available: /agents, /halt, /stop, /progress, /spotify, /code, /memory, /bg', msg.channelId);
return;
}
@@ -462,7 +459,8 @@ export class Agent {
const agentList = activeAgents.map(a => `**${a.id}**: ${a.task.slice(0, 40)}`).join(', ');
await channel.send(`I'm busy working on sub-agent tasks (${agentList}). Your message has been queued — I'll respond once I'm free. Use /agents to check status.`, msg.channelId);
} else {
- await channel.send("I'm busy processing. Use /bg current to move this task to the background, or wait for it to finish.", msg.channelId);
+ const elapsedSec = this.currentMessage ? Math.round((Date.now() - this.currentMessage.timestamp) / 1000) : 0;
+ await channel.send(`I'm busy processing${elapsedSec > 0 ? ` (${elapsedSec}s elapsed)` : ''}. Use /progress for live status or /bg current to move this task to the background.`, msg.channelId);
}
this.messageQueue.push(msg);
@@ -512,7 +510,7 @@ export class Agent {
}
private async handleBgCommand(trimmed: string, msg: ChannelMessage, channel: any): Promise<void> {
- const parts = trimmed.split(/\s+/);
+ const parts = trimmed.trim().split(/\s+/);
const sub = parts.length > 1 ? parts[1] : '';
const args = parts.slice(1).join(' ');
@@ -569,17 +567,28 @@ export class Agent {
return;
}
- if (sub === 'cancel') {
+ if (sub === 'cancel' || sub === 'stop' || sub === 'kill') {
const taskId = parts[2];
if (!taskId) {
- await channel.send('Usage: /bg cancel <id>', msg.channelId);
+ await channel.send(`Usage: /bg ${sub} <id>`, msg.channelId);
return;
}
const cancelled = this.backgroundTasks.cancel(taskId);
if (cancelled) {
- await channel.send(`⛔ Cancelled background task ${taskId}.`, msg.channelId);
+ await channel.send(`⛔ Stopped background task ${taskId}.`, msg.channelId);
} else {
- await channel.send(`Task ${taskId} not found or not running.`, msg.channelId);
+ await channel.send(`Task "${taskId}" not found or not running.`, msg.channelId);
+ }
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ if (sub === 'killall' || sub === 'stopall') {
+ const count = this.backgroundTasks.cancelAll();
+ if (count === 0) {
+ await channel.send('No running background tasks to stop.', msg.channelId);
+ } else {
+ await channel.send(`⛔ Stopped ${count} background task${count === 1 ? '' : 's'}.`, msg.channelId);
}
this.syncBgTasksToTui();
return;
@@ -601,22 +610,6 @@ export class Agent {
}
const colonIdx = trimmed.indexOf(':');
- if (sub.startsWith('cancel')) {
- const taskId2 = parts[2];
- if (!taskId2) {
- await channel.send('Usage: /bg cancel <id>', msg.channelId);
- return;
- }
- const cancelled = this.backgroundTasks.cancel(taskId2);
- if (cancelled) {
- await channel.send(`⛔ Cancelled background task ${taskId2}.`, msg.channelId);
- } else {
- await channel.send(`Task ${taskId2} not found or not running.`, msg.channelId);
- }
- this.syncBgTasksToTui();
- return;
- }
-
if (colonIdx !== -1 && trimmed[colonIdx + 1] === ' ') {
const taskDescription = trimmed.slice(colonIdx + 1).trim();
if (!taskDescription) {
@@ -643,7 +636,7 @@ export class Agent {
const command = args || '';
if (!command) {
- await channel.send('Usage:\n• /bg <command> — run a shell command in the background\n• /bg: <task> — delegate an LLM task to the background\n• /bg current — move the active task to the background\n• /bg list — show all background tasks\n• /bg <id> — show task details\n• /bg cancel <id> — cancel a running task\n• /bg clear — prune completed tasks', msg.channelId);
+ await channel.send('Usage:\n• /bg <command> — run a shell command in the background\n• /bg: <task> — delegate an LLM task to the background\n• /bg current — move the active task to the background\n• /bg list — show all background tasks\n• /bg <id> — show task details\n• /bg stop <id> — stop a running task\n• /bg killall — stop all running tasks\n• /bg clear — prune completed tasks', msg.channelId);
return;
}
@@ -660,6 +653,82 @@ export class Agent {
}
}
+ private markProgress(activity?: string): void {
+ this.lastProgressAt = Date.now();
+ if (activity) {
+ this.currentActivity = activity;
+ }
+ }
+
+ private withProgressStream(content: AsyncIterable<string>): AsyncIterable<string> {
+ const self = this;
+ return (async function* () {
+ for await (const chunk of content) {
+ self.markProgress('Streaming response...');
+ yield chunk;
+ }
+ })();
+ }
+
+ private startForegroundHeartbeat(msg: ChannelMessage): () => void {
+ if (msg.channelType === 'internal') return () => {};
+
+ let heartbeatCount = 0;
+ let currentIntervalMs = HEARTBEAT_INITIAL_MS;
+ let timer: ReturnType<typeof setTimeout> | null = null;
+
+ const tick = () => {
+ if (!this.processing || !this.currentMessage || this.currentMessage.id !== msg.id) return;
+ const channel = this.channels.getChannelForMessage(msg);
+ if (!channel) return;
+
+ const elapsedMs = Date.now() - this.currentMessage.timestamp;
+ const stallMs = Date.now() - this.lastProgressAt;
+ const elapsedSec = Math.round(elapsedMs / 1000);
+ const stallSec = Math.round(stallMs / 1000);
+
+ if (stallMs >= MAX_STALL_MS && this.currentAbort && !this.currentAbort.signal.aborted) {
+ logger.warn({ elapsedSec, stallSec, msgId: msg.id }, 'Foreground task stalled — aborting');
+ this.currentAbort.abort();
+ void channel.send(
+ `⚠ Task stalled (no progress for ${stallSec}s). Stopped to avoid hanging. You can retry or use /bg current sooner for long tasks.`,
+ msg.channelId,
+ ).catch(() => {});
+ return;
+ }
+
+ heartbeatCount++;
+ const handoffHint = elapsedMs >= LONG_TASK_HANDOFF_SUGGEST_MS
+ ? '\nUse /bg current to move to background.'
+ : '';
+ const stepInfo = this.completedStepCount > 0
+ ? ` · step ${this.completedStepCount}/${MAX_STEPS}`
+ : '';
+ const narrative = formatNarrative(this.stepNarrative, this.currentActivity, 3);
+ const narrativeBlock = narrative ? `\n${narrative}` : '';
+ void channel.send(
+ `⏳ Working... ${elapsedSec}s elapsed${stepInfo}.${narrativeBlock}${handoffHint}`,
+ msg.channelId,
+ ).catch(() => {});
+
+ // Escalate: 20s → 30s → 45s → 60s (cap)
+ if (heartbeatCount <= 2) {
+ currentIntervalMs = 30000;
+ } else if (heartbeatCount <= 4) {
+ currentIntervalMs = 45000;
+ } else {
+ currentIntervalMs = HEARTBEAT_MAX_MS;
+ }
+ timer = setTimeout(tick, currentIntervalMs);
+ };
+
+ timer = setTimeout(tick, HEARTBEAT_INITIAL_MS);
+
+ return () => {
+ if (timer) clearTimeout(timer);
+ };
+ }
+
private notifyBackgroundTaskComplete(task: import('./background-tasks.js').BackgroundTask): void {
const label = task.command || task.task || task.id;
const duration = task.completedAt ? ` in ${((task.completedAt - task.startedAt) / 1000).toFixed(1)}s` : '';
@@ -714,14 +783,14 @@ export class Agent {
this.processing = false;
}
- private switchSessionProvider(providerName: string): { ok: boolean; message: string } {
+ private async switchSessionProvider(providerName: string): Promise<{ ok: boolean; message: string }> {
const active = getActiveProviders(this.config).map((p) => p.name);
if (!active.includes(providerName)) {
return { ok: false, message: `Provider \`${providerName}\` is not configured. Run \`mercury doctor\` to add/configure models.` };
}
this.config.providers.default = providerName as any;
- this.providers = new ProviderRegistryImpl(this.config);
+ this.providers = await ProviderRegistryImpl.create(this.config);
const selected = this.providers.getDefault();
const model = selected.getModel();
@@ -763,6 +832,12 @@ export class Agent {
private async handleMessage(msg: ChannelMessage): Promise<void> {
this.lifecycle.transition('thinking');
const startTime = Date.now();
+ this.currentActivity = '';
+ this.completedStepCount = 0;
+ this.stepNarrative = [];
+ const stopHeartbeat = this.startForegroundHeartbeat(msg);
+ this.markProgress('Starting...');
+ let wallTimeout: ReturnType<typeof setTimeout> | null = null;
if (this.supervisor && msg.channelType !== 'internal') {
const activeAgents = this.supervisor.getActiveAgents();
@@ -941,6 +1016,7 @@ export class Agent {
const channel = this.channels.getChannelForMessage(msg);
if (channel) {
await channel.typing(msg.channelId).catch(() => {});
+ this.markProgress();
}
this.capabilities.setChannelContext(msg.channelId, msg.channelType);
@@ -954,19 +1030,27 @@ export class Agent {
const loopDetector = new ToolCallLoopDetector();
const loopAbortController = new AbortController();
let loopWarningSent = false;
+ let selfCheckCount = 0;
this.currentMessage = msg;
this.currentAbort = loopAbortController;
+ wallTimeout = setTimeout(() => {
+ if (!loopAbortController.signal.aborted) {
+ loopAbortController.abort();
+ }
+ }, MAX_FOREGROUND_WALL_MS);
const canStream = msg.channelType === 'cli' || (msg.channelType === 'telegram' && this.telegramStreaming);
const tgChannel = this.channels.get('telegram');
if (msg.channelType === 'telegram' && tgChannel) {
(tgChannel as TelegramChannel).resetStepCounter(msg.channelId);
+ (tgChannel as TelegramChannel).beginTask(msg.channelId);
}
for (const provider of fallbackIterator) {
try {
+ this.markProgress(`Calling ${provider.name}...`);
const deepseekProviderOptions = provider instanceof DeepSeekProvider && provider.isReasoner
? { deepseek: { thinking: { type: 'enabled' as const } } }
: undefined;
@@ -978,12 +1062,22 @@ export class Agent {
model: provider.getModelInstance(),
system: systemPrompt,
messages,
- tools: this.capabilities.getTools(),
+ tools: this.programmingMode.isPlan() ? this.capabilities.getPlanTools() : this.capabilities.getTools(),
maxOutputTokens: MAX_RESPONSE_TOKENS,
stopWhen: stepCountIs(MAX_STEPS),
abortSignal: loopAbortController.signal,
...(deepseekProviderOptions ? { providerOptions: deepseekProviderOptions } : {}),
onStepFinish: async ({ toolCalls, toolResults }) => {
+ this.completedStepCount++;
+ if (toolCalls && toolCalls.length > 0) {
+ for (const tc of toolCalls as any[]) {
+ this.stepNarrative.push({ tool: tc.toolName, label: formatToolStep(tc.toolName, tc.input as Record<string, any> || {}) });
+ }
+ const labels = toolCalls.map((tc: any) => formatToolStep(tc.toolName, tc.input as Record<string, any> || {}));
+ this.markProgress(labels.join(' → '));
+ } else {
+ this.markProgress('Thinking...');
+ }
if (toolCalls && toolResults && toolCalls.length > 0) {
const names = toolCalls.map((tc: any) => tc.toolName).join(', ');
logger.info({ tools: names }, 'Tool call step');
@@ -1016,7 +1110,7 @@ export class Agent {
logger.warn({ tool: hardLoop.tool, count: hardLoop.count }, 'Hard loop detected — aborting');
if (!loopWarningSent && channel && msg.channelType !== 'internal') {
loopWarningSent = true;
- await channel.send(`⚠ Repeated call detected — ${hardLoop.tool} called ${hardLoop.count}x with same params. Stopping.`, msg.channelId).catch(() => {});
+ await channel.send(`☿ **Mercury Autopilot** · Identical call loop — ${hardLoop.tool} called ${hardLoop.count}x with same params. Stopping this path.`, msg.channelId).catch(() => {});
}
loopAbortController.abort();
return;
@@ -1026,27 +1120,79 @@ export class Agent {
logger.warn({ tool: similarLoop.tool, count: similarLoop.count }, 'Failing loop detected — aborting');
if (!loopWarningSent && channel && msg.channelType !== 'internal') {
loopWarningSent = true;
- await channel.send(`⚠ Failing loop detected — ${similarLoop.tool} called ${similarLoop.count}x, all failing. Stopping.`, msg.channelId).catch(() => {});
+ await channel.send(`☿ **Mercury Autopilot** · Failing loop — ${similarLoop.tool} called ${similarLoop.count}x, all failing. Stopping this path.`, msg.channelId).catch(() => {});
}
loopAbortController.abort();
return;
}
- const softLoop = loopDetector.detectSameTool();
- if (softLoop && !loopWarningSent && channel && msg.channelType !== 'internal') {
- if (this.capabilities.permissions.isAutoApproveAll()) {
- loopDetector.reset();
- loopWarningSent = false;
- } else {
- loopWarningSent = true;
- const shouldContinue = await channel.askToContinue(
- `${softLoop.tool} has been called ${softLoop.count}x in a row. This might be a loop.`,
- msg.channelId,
- ).catch(() => false);
- if (shouldContinue) {
+ // ── Mercury Autopilot: intelligent repetition analysis ──
+ const analysis = loopDetector.analyzeRepetition();
+ if (analysis && !loopWarningSent && channel && msg.channelType !== 'internal') {
+ if (analysis.verdict === 'productive') {
+ // Productive iteration — diverse params, high success rate
+ // Let it run, just log for transparency
+ logger.info({
+ tool: analysis.tool,
+ count: analysis.count,
+ diversity: analysis.paramDiversity.toFixed(2),
+ successRate: analysis.successRate.toFixed(2),
+ }, 'Mercury Autopilot: productive iteration detected — continuing');
+ } else if (analysis.verdict === 'suspicious') {
+ // Suspicious but not definitively stuck — observe further
+ if (this.capabilities.permissions.isAutoApproveAll()) {
+ selfCheckCount++;
+ if (selfCheckCount >= MAX_SELF_CHECKS) {
+ // Escalate: ask AI for final verdict
+ const recentCalls = loopDetector.getRecentCallSummaries();
+ const shouldContinue = await this.aiSelfCheck({
+ toolName: analysis.tool,
+ callCount: analysis.count,
+ recentCalls,
+ taskDescription: msg.content.slice(0, 300),
+ });
+ if (!shouldContinue) {
+ logger.warn({ tool: analysis.tool, count: analysis.count }, 'Mercury Autopilot: AI verdict — unproductive, aborting');
+ await channel.send(`☿ **Mercury Autopilot** · ${analysis.tool} repeated ${analysis.count}x with low progress (${Math.round(analysis.paramDiversity * 100)}% diversity, ${Math.round(analysis.successRate * 100)}% success). Stopping this path.`, msg.channelId).catch(() => {});
+ loopAbortController.abort();
+ return;
+ }
+ }
+ // Not yet at check limit — let it continue with a note
loopDetector.reset();
loopWarningSent = false;
+ await channel.send(`☿ **Mercury Autopilot** · Observing ${analysis.tool} (${analysis.count} calls, ${Math.round(analysis.paramDiversity * 100)}% diversity). Continuing under monitoring.`, msg.channelId).catch(() => {});
} else {
+ loopWarningSent = true;
+ const shouldContinue = await channel.askToContinue(
+ `☿ Mercury Autopilot: ${analysis.tool} called ${analysis.count}x (${Math.round(analysis.paramDiversity * 100)}% param diversity, ${Math.round(analysis.successRate * 100)}% success rate). Continue?`,
+ msg.channelId,
+ ).catch(() => false);
+ if (shouldContinue) {
+ loopDetector.reset();
+ loopWarningSent = false;
+ } else {
+ loopAbortController.abort();
+ }
+ }
+ } else {
+ // verdict === 'stuck'
+ if (this.capabilities.permissions.isAutoApproveAll()) {
+ logger.warn({ tool: analysis.tool, count: analysis.count, diversity: analysis.paramDiversity, successRate: analysis.successRate }, 'Mercury Autopilot: stuck loop detected');
+ await channel.send(`☿ **Mercury Autopilot** · ${analysis.tool} is stuck (${analysis.count} calls, ${Math.round(analysis.paramDiversity * 100)}% diversity, ${Math.round(analysis.successRate * 100)}% success). Stopping this path.`, msg.channelId).catch(() => {});
loopAbortController.abort();
+ return;
+ } else {
+ loopWarningSent = true;
+ const shouldContinue = await channel.askToContinue(
+ `☿ Mercury Autopilot: ${analysis.tool} appears stuck (${analysis.count} calls, ${Math.round(analysis.successRate * 100)}% success). Continue anyway?`,
+ msg.channelId,
+ ).catch(() => false);
+ if (shouldContinue) {
+ loopDetector.reset();
+ loopWarningSent = false;
+ } else {
+ loopAbortController.abort();
+ }
}
}
}
@@ -1081,6 +1227,7 @@ export class Agent {
} else {
await channel.send(` [Using: ${names}]`, msg.channelId).catch(() => {});
}
+ this.markProgress();
}
} else if (toolResults === undefined || (toolCalls === undefined)) {
const stepText = (toolResults as any)?.text ?? '';
@@ -1119,15 +1266,15 @@ export class Agent {
? Number(msg.channelId.split(':')[1])
: Number(msg.channelId);
if (!isNaN(chatId)) {
- fullText = await (tgChannel as any).sendStreamToChat(chatId, streamResult.textStream);
+ fullText = await (tgChannel as any).sendStreamToChat(chatId, this.withProgressStream(streamResult.textStream));
} else {
- fullText = await channel.stream(streamResult.textStream, msg.channelId);
+ fullText = await channel.stream(this.withProgressStream(streamResult.textStream), msg.channelId);
}
} else {
- fullText = await channel.stream(streamResult.textStream, msg.channelId);
+ fullText = await channel.stream(this.withProgressStream(streamResult.textStream), msg.channelId);
}
} else {
- fullText = await channel.stream(streamResult.textStream, msg.channelId);
+ fullText = await channel.stream(this.withProgressStream(streamResult.textStream), msg.channelId);
}
const [usage] = await Promise.all([
@@ -1144,12 +1291,22 @@ export class Agent {
model: provider.getModelInstance(),
system: systemPrompt,
messages,
- tools: this.capabilities.getTools(),
+ tools: this.programmingMode.isPlan() ? this.capabilities.getPlanTools() : this.capabilities.getTools(),
maxOutputTokens: MAX_RESPONSE_TOKENS,
stopWhen: stepCountIs(MAX_STEPS),
abortSignal: loopAbortController.signal,
...(deepseekProviderOptions ? { providerOptions: deepseekProviderOptions } : {}),
onStepFinish: async ({ toolCalls, toolResults }) => {
+ this.completedStepCount++;
+ if (toolCalls && toolCalls.length > 0) {
+ for (const tc of toolCalls as any[]) {
+ this.stepNarrative.push({ tool: tc.toolName, label: formatToolStep(tc.toolName, tc.input as Record<string, any> || {}) });
+ }
+ const labels = toolCalls.map((tc: any) => formatToolStep(tc.toolName, tc.input as Record<string, any> || {}));
+ this.markProgress(labels.join(' → '));
+ } else {
+ this.markProgress('Thinking...');
+ }
if (toolCalls && toolResults && toolCalls.length > 0) {
const names = toolCalls.map((tc: any) => tc.toolName).join(', ');
logger.info({ tools: names }, 'Tool call step');
@@ -1182,7 +1339,7 @@ export class Agent {
logger.warn({ tool: hardLoop.tool, count: hardLoop.count }, 'Hard loop detected — aborting');
if (!loopWarningSent && channel && msg.channelType !== 'internal') {
loopWarningSent = true;
- await channel.send(`⚠ Repeated call detected — ${hardLoop.tool} called ${hardLoop.count}x with same params. Stopping.`, msg.channelId).catch(() => {});
+ await channel.send(`☿ **Mercury Autopilot** · Identical call loop — ${hardLoop.tool} called ${hardLoop.count}x with same params. Stopping this path.`, msg.channelId).catch(() => {});
}
loopAbortController.abort();
return;
@@ -1192,27 +1349,79 @@ export class Agent {
logger.warn({ tool: similarLoop.tool, count: similarLoop.count }, 'Failing loop detected — aborting');
if (!loopWarningSent && channel && msg.channelType !== 'internal') {
loopWarningSent = true;
- await channel.send(`⚠ Failing loop detected — ${similarLoop.tool} called ${similarLoop.count}x, all failing. Stopping.`, msg.channelId).catch(() => {});
+ await channel.send(`☿ **Mercury Autopilot** · Failing loop — ${similarLoop.tool} called ${similarLoop.count}x, all failing. Stopping this path.`, msg.channelId).catch(() => {});
}
loopAbortController.abort();
return;
}
- const softLoop = loopDetector.detectSameTool();
- if (softLoop && !loopWarningSent && channel && msg.channelType !== 'internal') {
- if (this.capabilities.permissions.isAutoApproveAll()) {
- loopDetector.reset();
- loopWarningSent = false;
- } else {
- loopWarningSent = true;
- const shouldContinue = await channel.askToContinue(
- `${softLoop.tool} has been called ${softLoop.count}x in a row. This might be a loop.`,
- msg.channelId,
- ).catch(() => false);
- if (shouldContinue) {
+ // ── Mercury Autopilot: intelligent repetition analysis ──
+ const analysis = loopDetector.analyzeRepetition();
+ if (analysis && !loopWarningSent && channel && msg.channelType !== 'internal') {
+ if (analysis.verdict === 'productive') {
+ // Productive iteration — diverse params, high success rate
+ // Let it run, just log for transparency
+ logger.info({
+ tool: analysis.tool,
+ count: analysis.count,
+ diversity: analysis.paramDiversity.toFixed(2),
+ successRate: analysis.successRate.toFixed(2),
+ }, 'Mercury Autopilot: productive iteration detected — continuing');
+ } else if (analysis.verdict === 'suspicious') {
+ // Suspicious but not definitively stuck — observe further
+ if (this.capabilities.permissions.isAutoApproveAll()) {
+ selfCheckCount++;
+ if (selfCheckCount >= MAX_SELF_CHECKS) {
+ // Escalate: ask AI for final verdict
+ const recentCalls = loopDetector.getRecentCallSummaries();
+ const shouldContinue = await this.aiSelfCheck({
+ toolName: analysis.tool,
+ callCount: analysis.count,
+ recentCalls,
+ taskDescription: msg.content.slice(0, 300),
+ });
+ if (!shouldContinue) {
+ logger.warn({ tool: analysis.tool, count: analysis.count }, 'Mercury Autopilot: AI verdict — unproductive, aborting');
+ await channel.send(`☿ **Mercury Autopilot** · ${analysis.tool} repeated ${analysis.count}x with low progress (${Math.round(analysis.paramDiversity * 100)}% diversity, ${Math.round(analysis.successRate * 100)}% success). Stopping this path.`, msg.channelId).catch(() => {});
+ loopAbortController.abort();
+ return;
+ }
+ }
+ // Not yet at check limit — let it continue with a note
loopDetector.reset();
loopWarningSent = false;
+ await channel.send(`☿ **Mercury Autopilot** · Observing ${analysis.tool} (${analysis.count} calls, ${Math.round(analysis.paramDiversity * 100)}% diversity). Continuing under monitoring.`, msg.channelId).catch(() => {});
} else {
+ loopWarningSent = true;
+ const shouldContinue = await channel.askToContinue(
+ `☿ Mercury Autopilot: ${analysis.tool} called ${analysis.count}x (${Math.round(analysis.paramDiversity * 100)}% param diversity, ${Math.round(analysis.successRate * 100)}% success rate). Continue?`,
+ msg.channelId,
+ ).catch(() => false);
+ if (shouldContinue) {
+ loopDetector.reset();
+ loopWarningSent = false;
+ } else {
+ loopAbortController.abort();
+ }
+ }
+ } else {
+ // verdict === 'stuck'
+ if (this.capabilities.permissions.isAutoApproveAll()) {
+ logger.warn({ tool: analysis.tool, count: analysis.count, diversity: analysis.paramDiversity, successRate: analysis.successRate }, 'Mercury Autopilot: stuck loop detected');
+ await channel.send(`☿ **Mercury Autopilot** · ${analysis.tool} is stuck (${analysis.count} calls, ${Math.round(analysis.paramDiversity * 100)}% diversity, ${Math.round(analysis.successRate * 100)}% success). Stopping this path.`, msg.channelId).catch(() => {});
loopAbortController.abort();
+ return;
+ } else {
+ loopWarningSent = true;
+ const shouldContinue = await channel.askToContinue(
+ `☿ Mercury Autopilot: ${analysis.tool} appears stuck (${analysis.count} calls, ${Math.round(analysis.successRate * 100)}% success). Continue anyway?`,
+ msg.channelId,
+ ).catch(() => false);
+ if (shouldContinue) {
+ loopDetector.reset();
+ loopWarningSent = false;
+ } else {
+ loopAbortController.abort();
+ }
}
}
}
@@ -1247,6 +1456,7 @@ export class Agent {
} else {
await channel.send(` [Using: ${names}]`, msg.channelId).catch(() => {});
}
+ this.markProgress();
}
} else if (toolResults === undefined || (toolCalls === undefined)) {
const stepText = (toolResults as any)?.text ?? '';
@@ -1287,7 +1497,14 @@ export class Agent {
result = { text: streamedText, usage: undefined };
}
if (!result) {
- result = { text: 'I stopped because I detected I was stuck in a loop (repeating the same action without progress). I cannot complete this task as requested. Please let me know if you\'d like me to try a completely different approach, or if there\'s something else I can help with.', usage: undefined };
+ const elapsedMs = Date.now() - startTime;
+ const timedOut = elapsedMs >= MAX_FOREGROUND_WALL_MS;
+ result = {
+ text: timedOut
+ ? 'I stopped because this request exceeded the foreground time limit. Please retry with a narrower scope, or move it to background with /bg current sooner.'
+ : 'I stopped because I detected I was stuck in a loop (repeating the same action without progress). I cannot complete this task as requested. Please let me know if you\'d like me to try a completely different approach, or if there\'s something else I can help with.',
+ usage: undefined,
+ };
}
if (usedProvider) {
this.providers.markSuccess(usedProvider.name);
@@ -1306,6 +1523,11 @@ export class Agent {
const errMsg = `All LLM providers failed. Last error: ${lastError?.message || 'unknown'}`;
logger.error({ err: lastError }, errMsg);
if (channel && msg.channelType !== 'internal') {
+ // End task before sending error so it goes through as a normal message
+ if (channel instanceof TelegramChannel) {
+ (channel as TelegramChannel).endTask(msg.channelId);
+ (channel as TelegramChannel).resetStepCounter(msg.channelId);
+ }
await channel.send(errMsg, msg.channelId);
}
this.lifecycle.transition('idle');
@@ -1313,6 +1535,13 @@ export class Agent {
}
const finalText = (streamedText || result.text || '').trim() || '(no text response)';
+ this.markProgress('Finalizing response...');
+
+ // Store plan output when in plan mode for later execution
+ if (this.programmingMode.isPlan() && finalText !== '(no text response)') {
+ this.programmingMode.storePlan(finalText);
+ logger.info({ planLength: finalText.length }, 'Plan captured from plan-mode response');
+ }
this.tokenBudget.recordUsage({
provider: usedProvider!.name,
@@ -1353,11 +1582,64 @@ export class Agent {
if (channel && msg.channelType !== 'internal') {
const elapsed = Date.now() - startTime;
- if (streamedText && streamedText.trim()) {
- logger.info({ channelType: msg.channelType, elapsed }, 'Streamed response completed');
+ const stepCount = this.completedStepCount;
+
+ // Send completion banner only for substantial tasks (3+ steps AND >30s)
+ // Simple responses (greetings, quick answers) don't need a banner
+ const isSubstantialTask = stepCount >= 3 && elapsed >= 30_000;
+ if (isSubstantialTask && channel instanceof TelegramChannel) {
+ // For substantial Telegram tasks: sendCompletion handles endTask + deferred flush + cleanup
+ const completionMeta = {
+ provider: usedProvider?.name ?? 'unknown',
+ model: usedProvider?.model ?? 'unknown',
+ inputTokens: result.usage?.inputTokens ?? 0,
+ outputTokens: result.usage?.outputTokens ?? 0,
+ totalTokens: (result.usage?.inputTokens ?? 0) + (result.usage?.outputTokens ?? 0),
+ budgetUsed: this.tokenBudget.getDailyUsed(),
+ budgetTotal: this.tokenBudget.getBudget(),
+ budgetPercentage: this.tokenBudget.getUsagePercentage(),
+ };
+ // If there's a non-streamed response that wasn't deferred, defer it now
+ if (!streamedText && finalText && finalText.trim()) {
+ // send() during active task already deferred it — nothing to do
+ }
+ await (channel as TelegramChannel).sendCompletion(elapsed, stepCount, msg.channelId, completionMeta);
+ } else if (channel instanceof TelegramChannel) {
+ // For non-substantial Telegram tasks: end task, flush deferred, clean up
+ (channel as TelegramChannel).endTask(msg.channelId);
+ // Flush deferred response
+ const deferred = (channel as TelegramChannel).popDeferredResponse(msg.channelId);
+ const responseText = deferred || (!streamedText && finalText ? finalText : null);
+ if (responseText && responseText.trim()) {
+ await channel.send(responseText, msg.channelId, elapsed);
+ }
+ if (stepCount > 0) {
+ await (channel as TelegramChannel).cleanupEphemeralMessages(msg.channelId);
+ (channel as TelegramChannel).resetStepCounter(msg.channelId);
+ }
+ this.markProgress();
} else {
- logger.info({ channelType: msg.channelType, targetId: msg.channelId }, 'Sending response');
- await channel.send(finalText, msg.channelId, elapsed);
+ // CLI or other channels — original flow
+ if (streamedText && streamedText.trim()) {
+ logger.info({ channelType: msg.channelType, elapsed }, 'Streamed response completed');
+ } else {
+ logger.info({ channelType: msg.channelType, targetId: msg.channelId }, 'Sending response');
+ await channel.send(finalText, msg.channelId, elapsed);
+ this.markProgress();
+ }
+ if (isSubstantialTask && channel instanceof CLIChannel) {
+ const completionMeta = {
+ provider: usedProvider?.name ?? 'unknown',
+ model: usedProvider?.model ?? 'unknown',
+ inputTokens: result.usage?.inputTokens ?? 0,
+ outputTokens: result.usage?.outputTokens ?? 0,
+ totalTokens: (result.usage?.inputTokens ?? 0) + (result.usage?.outputTokens ?? 0),
+ budgetUsed: this.tokenBudget.getDailyUsed(),
+ budgetTotal: this.tokenBudget.getBudget(),
+ budgetPercentage: this.tokenBudget.getUsagePercentage(),
+ };
+ (channel as CLIChannel).sendCompletion(elapsed, stepCount, completionMeta);
+ }
}
} else {
logger.debug('Internal prompt processed, no channel response needed');
@@ -1368,8 +1650,13 @@ export class Agent {
logger.error({ err }, 'Error handling message');
this.lifecycle.transition('idle');
} finally {
+ if (wallTimeout) clearTimeout(wallTimeout);
+ stopHeartbeat();
this.currentMessage = null;
this.currentAbort = null;
+ this.currentActivity = '';
+ this.completedStepCount = 0;
+ this.stepNarrative = [];
if (isInternal || isScheduled) {
this.capabilities.permissions.setAutoApproveAll(false);
}
@@ -1393,7 +1680,18 @@ export class Agent {
prompt += '\nBe concise to conserve tokens.';
}
- prompt += `\n\nEnvironment:\n- Platform: ${process.platform}\n- Working directory: ${this.capabilities.getCwd()}`;
+ const now = new Date();
+ const dateStr = now.toLocaleDateString('en-US', { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' });
+ const timeStr = now.toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit', hour12: true });
+ const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
+ prompt += `\n\nEnvironment:\n- Date: ${dateStr}, ${timeStr} (${timezone})\n- Platform: ${process.platform}\n- Working directory: ${this.capabilities.getCwd()}`;
+
+ prompt += `\n\n**Tool Usage Guidelines:**
+- Use write_file, create_file, and edit_file tools DIRECTLY to create and modify files. Do NOT create intermediary scripts (Python, bash, Node.js) whose sole purpose is to generate other files — you have native file tools for this.
+- Use run_command for: building, testing, installing dependencies, running the project, git operations, and other system tasks that require a shell.
+- Do NOT use run_command with echo/cat/tee/heredoc to write files. Use write_file or create_file instead.
+- Do NOT create one-time-use helper scripts. If the user asks you to create a file, create it directly with create_file or write_file.
+- When creating multiple files, call create_file or write_file for each one individually. Do not batch them into a script.`;
if (this.userMemory) {
const summary = this.userMemory.getSummary();
@@ -1630,6 +1928,68 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
logger.info('Mercury has shut down');
}
+ /**
+ * AI self-check: ask the model itself whether repeated tool usage is productive or a loop.
+ * Used in allow-all mode instead of prompting the user.
+ * Returns true if the AI thinks it should continue, false if it should stop.
+ */
+ private async aiSelfCheck(context: {
+ toolName: string;
+ callCount: number;
+ recentCalls: string[];
+ taskDescription: string;
+ }): Promise<boolean> {
+ try {
+ const provider = this.providers.getDefault();
+ if (!provider) return true; // no provider = let it continue
+
+ const selfCheckResult = await generateText({
+ model: provider.getModelInstance(),
+ system: `You are Mercury Autopilot, a monitoring system inside an AI coding agent. Your job is to determine whether repeated tool usage is productive iteration or a stuck loop.
+
+Productive patterns (CONTINUE):
+- Fetching multiple different URLs (e.g., scraping articles, reading docs)
+- Reading multiple different files to understand a codebase
+- Editing different sections of code across files
+- Running different commands (build, test, lint, deploy)
+- Creating multiple files for a project
+
+Stuck patterns (STOP):
+- Same exact call repeated with identical parameters
+- Retrying the same failing operation with minor variations
+- Reading the same file over and over
+- Running the same failing command repeatedly
+
+Respond with ONLY "CONTINUE" or "STOP" followed by a one-line reason.`,
+ messages: [{
+ role: 'user',
+ content: `Tool "${context.toolName}" called ${context.callCount} times consecutively.
+
+User's task: ${context.taskDescription}
+
+Recent calls (newest last):
+${context.recentCalls.join('\n')}
+
+Is this productive iteration or a stuck loop?`,
+ }],
+ maxOutputTokens: 80,
+ });
+
+ const answer = (selfCheckResult.text || '').trim().toUpperCase();
+ const shouldContinue = answer.startsWith('CONTINUE');
+ logger.info({
+ toolName: context.toolName,
+ count: context.callCount,
+ decision: shouldContinue ? 'continue' : 'stop',
+ reason: selfCheckResult.text?.trim().slice(0, 120),
+ }, 'Mercury Autopilot verdict');
+ return shouldContinue;
+ } catch (err) {
+ logger.warn({ err }, 'Mercury Autopilot self-check failed — defaulting to continue');
+ return true; // on failure, be permissive
+ }
+ }
+
setSpotifyClient(client: SpotifyClient): void {
this.spotifyClient = client;
}
@@ -1638,21 +1998,14 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
const channel = this.channels.get(channelType as any);
if (channelType === 'cli' && channel instanceof CLIChannel) {
- const options: ArrowSelectOption[] = choices.map((label, i) => ({
+ const options = choices.map((label, i) => ({
value: String(i),
label,
}));
- try {
- const selected = await channel.withMenu(async (select) => {
- return select(question, options);
- });
- if (selected === undefined) return choices[0];
- const index = parseInt(selected, 10);
- return isNaN(index) ? choices[0] : choices[index];
- } catch {
- return choices[0];
- }
+ const selected = await channel.presentChoicePrompt(question, options);
+ const index = parseInt(selected, 10);
+ return isNaN(index) ? choices[0] : (choices[index] ?? choices[0]);
}
if (channelType === 'telegram' && channel instanceof TelegramChannel) {
@@ -1753,13 +2106,29 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
if (!ctx) return false;
if (cmd === '/help') {
- await channel.send(ctx.manual(), channelId);
+ const helpText = channelType === 'telegram' ? getTelegramHelp() : ctx.manual();
+ await channel.send(helpText, channelId);
return true;
}
if (cmd.startsWith('/bg')) {
- const args = trimmed.slice('/bg'.length).trim();
- await this.handleBgCommand(args, { content: trimmed, channelId, channelType: channelType as any, id: Date.now().toString(36), senderId: 'user', timestamp: Date.now() }, channel);
+ await this.handleBgCommand(trimmed, { content: trimmed, channelId, channelType: channelType as any, id: Date.now().toString(36), senderId: 'user', timestamp: Date.now() }, channel);
+ return true;
+ }
+
+ if (cmd === '/progress' || cmd === '/still') {
+ if (!this.processing || !this.currentMessage) {
+ await channel.send('No active foreground task.', channelId);
+ return true;
+ }
+ const elapsedSec = Math.round((Date.now() - this.currentMessage.timestamp) / 1000);
+ const stepInfo = this.completedStepCount > 0 ? ` · step ${this.completedStepCount}/${MAX_STEPS}` : '';
+ const narrative = formatNarrative(this.stepNarrative, this.currentActivity, 10);
+ const narrativeBlock = narrative ? `\n${narrative}` : '';
+ await channel.send(
+ `⏳ Task in progress (${elapsedSec}s${stepInfo})${narrativeBlock}\nUse /bg current to move it to background.`,
+ channelId,
+ );
return true;
}
@@ -1836,7 +2205,7 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
if (picked === 'Keep current model') return true;
const providerName = picked.split(' · ')[0].trim();
if (providerName && providerName !== current.name) {
- const switched = this.switchSessionProvider(providerName);
+ const switched = await this.switchSessionProvider(providerName);
await channel.send(switched.message, channelId);
}
}
@@ -1854,7 +2223,7 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
return true;
}
- const switched = this.switchSessionProvider(target);
+ const switched = await this.switchSessionProvider(target);
await channel.send(switched.message, channelId);
return true;
}
diff --git a/src/core/background-tasks.ts b/src/core/background-tasks.ts
index 8b02985e..b49cfbd9 100644
--- a/src/core/background-tasks.ts
+++ b/src/core/background-tasks.ts
@@ -1,5 +1,8 @@
import { spawn, type ChildProcess } from 'node:child_process';
+import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
+import { join } from 'node:path';
import { logger } from '../utils/logger.js';
+import { getMercuryHome } from '../utils/config.js';
export type BgTaskType = 'shell' | 'agent';
export type BgTaskStatus = 'running' | 'completed' | 'failed' | 'timed_out' | 'cancelled';
@@ -40,11 +43,48 @@ const PRUNE_AGE_MS = 60 * 60 * 1000;
const SIGTERM_GRACE_MS = 3000;
const MAX_PREVIEW = 200;
const DEFAULT_SHELL_TIMEOUT_MS = 0;
+const BG_TASKS_FILE = 'background-tasks.json';
let taskCounter = 0;
+const ADJECTIVES = [
+ 'swift', 'calm', 'bold', 'warm', 'cool', 'keen', 'neat', 'wise',
+ 'fair', 'glad', 'blue', 'gold', 'soft', 'wild', 'deep', 'pure',
+ 'slim', 'tall', 'kind', 'fast', 'red', 'dark', 'pale', 'loud',
+ 'thin', 'rich', 'raw', 'dry', 'old', 'new', 'big', 'low',
+ 'shy', 'dim', 'hot', 'icy', 'odd', 'tan', 'apt', 'fit',
+ 'lax', 'coy', 'sly', 'wry', 'zen', 'deft', 'grim', 'snug',
+];
+
+const NOUNS = [
+ 'fox', 'owl', 'elk', 'ant', 'bee', 'cat', 'dog', 'ram',
+ 'jay', 'cod', 'eel', 'yak', 'bat', 'hen', 'ape', 'gnu',
+ 'oak', 'elm', 'ash', 'bay', 'fir', 'ivy', 'gem', 'ore',
+ 'sun', 'moon', 'star', 'wave', 'wind', 'rain', 'snow', 'bolt',
+ 'flame', 'spark', 'leaf', 'seed', 'root', 'vine', 'reef', 'cove',
+ 'peak', 'vale', 'dune', 'isle', 'pond', 'brook', 'dale', 'mesa',
+];
+
+const usedIds = new Set<string>();
+
function nextId(): string {
- return `bg-${++taskCounter}`;
+ taskCounter += 1;
+ // Try up to 10 times to find a unique combo
+ for (let attempt = 0; attempt < 10; attempt++) {
+ const adj = ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)];
+ const noun = NOUNS[Math.floor(Math.random() * NOUNS.length)];
+ const id = `${adj}-${noun}`;
+ if (!usedIds.has(id)) {
+ usedIds.add(id);
+ return id;
+ }
+ }
+ // Fallback: append counter
+ const adj = ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)];
+ const noun = NOUNS[Math.floor(Math.random() * NOUNS.length)];
+ const id = `${adj}-${noun}-${taskCounter}`;
+ usedIds.add(id);
+ return id;
}
function tailTruncate(str: string, maxLen: number): string {
@@ -64,6 +104,7 @@ export class BackgroundTaskManager {
private pruneInterval: ReturnType<typeof setInterval> | null = null;
constructor() {
+ this.load();
this.pruneInterval = setInterval(() => this.prune(), 5 * 60 * 1000);
}
@@ -81,6 +122,7 @@ export class BackgroundTaskManager {
for (const [, t] of this.sigkillTimeouts) {
clearTimeout(t);
}
+ this.save();
}
onGlobalComplete(cb: TaskCompleteCallback): void {
@@ -105,6 +147,7 @@ export class BackgroundTaskManager {
timeoutMs,
};
this.tasks.set(id, task);
+ this.save();
try {
const child = spawn(command, [], {
@@ -184,6 +227,7 @@ export class BackgroundTaskManager {
timeoutMs: 0,
};
this.tasks.set(id, task);
+ this.save();
logger.info({ taskId: id, agentId, task: taskDescription }, 'Background agent task started');
return id;
}
@@ -195,6 +239,7 @@ export class BackgroundTaskManager {
if (task.stdout.length > MAX_OUTPUT) {
task.stdout = tailTruncate(task.stdout, MAX_OUTPUT);
}
+ this.save();
}
completeAgentTask(bgTaskId: string, exitCode: number | null, status: BgTaskStatus, output?: string): void {
@@ -224,10 +269,35 @@ export class BackgroundTaskManager {
task.exitCode = null;
this.clearTimeouts(taskId);
this.notifyComplete(task);
+ this.save();
logger.info({ taskId }, 'Background task cancelled');
return true;
}
+ cancelAll(): number {
+ let count = 0;
+ for (const [id, task] of this.tasks) {
+ if (task.status === 'running') {
+ if (task.type === 'shell') {
+ this.killTask(id, 'SIGTERM');
+ const sigkill = setTimeout(() => {
+ this.killTask(id, 'SIGKILL');
+ }, SIGTERM_GRACE_MS);
+ this.sigkillTimeouts.set(id, sigkill);
+ }
+ task.status = 'cancelled';
+ task.completedAt = Date.now();
+ task.exitCode = null;
+ this.clearTimeouts(id);
+ this.notifyComplete(task);
+ count++;
+ }
+ }
+ if (count > 0) this.save();
+ logger.info({ count }, 'All background tasks cancelled');
+ return count;
+ }
+
get(taskId: string): BackgroundTask | undefined {
return this.tasks.get(taskId);
}
@@ -269,6 +339,7 @@ export class BackgroundTaskManager {
}
}
if (pruned > 0) {
+ this.save();
logger.info({ pruned }, 'Pruned completed background tasks');
}
return pruned;
@@ -282,6 +353,7 @@ export class BackgroundTaskManager {
cleared++;
}
}
+ if (cleared > 0) this.save();
return cleared;
}
@@ -305,6 +377,7 @@ export class BackgroundTaskManager {
logger.info({ taskId: id, status, exitCode }, 'Background task completed');
this.notifyComplete(task);
+ this.save();
}
private notifyComplete(task: BackgroundTask): void {
@@ -343,6 +416,50 @@ export class BackgroundTaskManager {
this.tasks.delete(oldest.id);
}
}
+ this.save();
+ }
+
+ private load(): void {
+ const filePath = this.getFilePath();
+ if (!existsSync(filePath)) return;
+
+ try {
+ const raw = readFileSync(filePath, 'utf-8');
+ const parsed = JSON.parse(raw) as BackgroundTask[];
+ this.tasks.clear();
+
+ for (const task of parsed) {
+ if (!task?.id) continue;
+ if (task.status === 'running') {
+ task.status = 'failed';
+ task.completedAt = Date.now();
+ task.stderr = `${task.stderr}\nRecovered after restart: task was running when process exited.`.trim();
+ }
+ this.tasks.set(task.id, task);
+ usedIds.add(task.id);
+ }
+
+ logger.info({ count: this.tasks.size }, 'Background tasks loaded');
+ } catch (err) {
+ logger.warn({ err }, 'Failed to load background tasks');
+ this.tasks.clear();
+ }
+ }
+
+ private save(): void {
+ try {
+ const dir = join(getMercuryHome(), 'memory');
+ if (!existsSync(dir)) {
+ mkdirSync(dir, { recursive: true });
+ }
+ writeFileSync(this.getFilePath(), JSON.stringify([...this.tasks.values()], null, 2), 'utf-8');
+ } catch (err) {
+ logger.warn({ err }, 'Failed to save background tasks');
+ }
+ }
+
+ private getFilePath(): string {
+ return join(getMercuryHome(), 'memory', BG_TASKS_FILE);
}
private toSummary(task: BackgroundTask): BackgroundTaskSummary {
@@ -361,4 +478,4 @@ export class BackgroundTaskManager {
runningMs: task.status === 'running' ? Date.now() - task.startedAt : undefined,
};
}
-}
\ No newline at end of file
+}
diff --git a/src/core/programming-mode.ts b/src/core/programming-mode.ts
index d12e011a..ed429efe 100644
--- a/src/core/programming-mode.ts
+++ b/src/core/programming-mode.ts
@@ -5,6 +5,7 @@ export type ProgrammingModeState = 'off' | 'plan' | 'execute';
export class ProgrammingMode {
private state: ProgrammingModeState = 'off';
private projectContext: string | null = null;
+ private lastPlan: string | null = null;
getState(): ProgrammingModeState {
return this.state;
@@ -29,12 +30,13 @@ export class ProgrammingMode {
setExecute(): void {
this.state = 'execute';
- logger.info('Programming mode: execute');
+ logger.info({ hasPlan: !!this.lastPlan }, 'Programming mode: execute');
}
setOff(): void {
this.state = 'off';
this.projectContext = null;
+ this.lastPlan = null;
logger.info('Programming mode: off');
}
@@ -45,6 +47,7 @@ export class ProgrammingMode {
this.state = 'execute';
} else {
this.state = 'off';
+ this.lastPlan = null;
}
logger.info({ state: this.state }, 'Programming mode toggled');
return this.state;
@@ -58,6 +61,22 @@ export class ProgrammingMode {
return this.projectContext;
}
+ /** Store the finalized plan from the last plan-mode session */
+ storePlan(plan: string): void {
+ this.lastPlan = plan;
+ logger.info({ planLength: plan.length }, 'Plan stored');
+ }
+
+ /** Retrieve and keep the stored plan (returns null if none) */
+ getLastPlan(): string | null {
+ return this.lastPlan;
+ }
+
+ /** Clear the stored plan (e.g., after execution is complete) */
+ clearPlan(): void {
+ this.lastPlan = null;
+ }
+
getStatusText(): string {
const stateLabels: Record<ProgrammingModeState, string> = {
off: 'Off',
@@ -79,12 +98,19 @@ export class ProgrammingMode {
if (this.state === 'plan') {
suffix += '\nMode: PLAN';
suffix += '\nYou are in planning mode. Explore the codebase, analyze the problem, and present a step-by-step implementation plan.';
- suffix += '\nDo NOT write code yet. Present your plan using numbered steps.';
+ suffix += '\nDo NOT write code or make any file changes. You only have read-only tools available.';
+ suffix += '\nPresent your plan using numbered steps with clear descriptions.';
suffix += '\nWhen multiple approaches exist, use the ask_user tool to present choices.';
- suffix += '\nWait for user approval before switching to execution.';
+ suffix += '\nWait for user approval before the user switches to execution mode.';
} else if (this.state === 'execute') {
suffix += '\nMode: EXECUTE';
- suffix += '\nYou are in execution mode. Implement the plan step by step.';
+ if (this.lastPlan) {
+ suffix += '\n\n**APPROVED PLAN FROM PLANNING SESSION:**';
+ suffix += `\n${this.lastPlan}`;
+ suffix += '\n\n**INSTRUCTIONS:** Implement the above plan step by step. The user has already reviewed and approved this plan — do NOT re-ask for confirmation or re-analyze. Start implementing immediately.';
+ } else {
+ suffix += '\nYou are in execution mode. Implement the requested changes step by step.';
+ }
suffix += '\nRun builds/tests after each significant change.';
suffix += '\nCommit at logical checkpoints.';
suffix += '\nDelegate independent subtasks to sub-agents when possible.';
diff --git a/src/core/sub-agent.ts b/src/core/sub-agent.ts
index 3a1c1950..a5ea73ba 100644
--- a/src/core/sub-agent.ts
+++ b/src/core/sub-agent.ts
@@ -129,7 +129,7 @@ export class SubAgent {
try {
const provider = this.providers.getDefault();
- const maxSteps = this.config.maxSteps || 10;
+ const maxSteps = this.config.maxSteps || 25;
logger.info({ agentId: this.config.id, provider: provider.name, maxSteps }, 'Sub-agent generating response');
diff --git a/src/index.ts b/src/index.ts
index cc501465..24a3fcf1 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -109,6 +109,7 @@ const PROVIDER_OPTIONS: Array<{ key: ProviderName; label: string }> = [
{ key: 'deepseek', label: 'DeepSeek' },
{ key: 'openai', label: 'OpenAI' },
{ key: 'anthropic', label: 'Anthropic' },
+ { key: 'githubCopilot', label: 'GitHub Copilot' },
{ key: 'grok', label: 'Grok (xAI)' },
{ key: 'ollamaCloud', label: 'Ollama Cloud' },
{ key: 'ollamaLocal', label: 'Ollama Local' },
@@ -118,12 +119,16 @@ const PROVIDER_OPTIONS: Array<{ key: ProviderName; label: string }> = [
];
function getConfiguredProviderNames(config: MercuryConfig): ProviderName[] {
- return PROVIDER_OPTIONS
- .map((option) => option.key)
- .filter((key) => isProviderConfigured(config.providers[key]));
+ // Include all selectable providers plus chatgptWeb (which is a sub-option of OpenAI)
+ const allProviderKeys: ProviderName[] = [
+ ...PROVIDER_OPTIONS.map((option) => option.key),
+ 'chatgptWeb',
+ ];
+ return allProviderKeys.filter((key) => isProviderConfigured(config.providers[key]));
}
function getProviderLabel(name: ProviderName): string {
+ if (name === 'chatgptWeb') return 'OpenAI (ChatGPT Plus/Pro)';
return PROVIDER_OPTIONS.find((option) => option.key === name)?.label || name;
}
@@ -157,7 +162,7 @@ async function chooseProvidersToConfigure(config: MercuryConfig, isReconfig: boo
console.log('');
const prompt = isReconfig
- ? chalk.white(' Choose providers to configure [comma-separated, Enter keeps current]: ')
+ ? chalk.white(' Choose providers to configure [comma-separated, Enter to keep current]: ')
: chalk.white(' Choose providers to configure [comma-separated, Enter for DeepSeek]: ');
const input = await ask(prompt);
@@ -170,7 +175,8 @@ async function chooseProvidersToConfigure(config: MercuryConfig, isReconfig: boo
if (parsed.length > 0) return parsed;
if (!isReconfig) return ['deepseek'];
- return configured.length > 0 ? configured : ['deepseek'];
+ // On reconfig, Enter with no input means "keep current, don't re-prompt"
+ return [];
}
}
@@ -673,10 +679,16 @@ async function configure(existingConfig?: MercuryConfig): Promise<void> {
}
console.log('');
- while (true) {
+ while (true) {
const selectedProviders = await chooseProvidersToConfigure(config, isReconfig);
console.log('');
+ // On reconfig, if user pressed Enter (empty input), they want to keep
+ // current providers unchanged — skip the per-provider prompts entirely.
+ if (isReconfig && selectedProviders.length === 0) {
+ break;
+ }
+
for (const provider of selectedProviders) {
if (provider === 'deepseek') {
const mask = isReconfig && config.providers.deepseek.apiKey ? ` [${maskKey(config.providers.deepseek.apiKey)}]` : '';
@@ -696,20 +708,97 @@ async function configure(existingConfig?: MercuryConfig): Promise<void> {
}
if (provider === 'openai') {
- const mask = isReconfig && config.providers.openai.apiKey ? ` [${maskKey(config.providers.openai.apiKey)}]` : '';
- const result = await promptApiKeyWithModelSelection(
- config,
- 'openai',
- 'OpenAI',
- chalk.white(` OpenAI API key${mask}${isReconfig ? '' : ' (Enter to skip)'}: `),
- isReconfig,
+ // Ask user which OpenAI auth method to use
+ const authMethod = await selectWithArrowKeys(
+ 'OpenAI Authentication',
+ [
+ { value: 'apikey', label: 'API Key (platform.openai.com)' },
+ { value: 'oauth', label: 'ChatGPT Plus/Pro (OAuth — use your subscription)' },
+ { value: 'skip', label: 'Skip OpenAI' },
+ ],
);
- if (!result.skipped && result.apiKey && result.model) {
- config.providers.openai.apiKey = result.apiKey;
- config.providers.openai.model = result.model;
- config.providers.openai.enabled = true;
+
+ if (authMethod === 'skip' || !authMethod) {
+ continue;
+ }
+
+ if (authMethod === 'apikey') {
+ const mask = isReconfig && config.providers.openai.apiKey ? ` [${maskKey(config.providers.openai.apiKey)}]` : '';
+ const result = await promptApiKeyWithModelSelection(
+ config,
+ 'openai',
+ 'OpenAI',
+ chalk.white(` OpenAI API key${mask}${isReconfig ? '' : ' (Enter to skip)'}: `),
+ isReconfig,
+ );
+ if (!result.skipped && result.apiKey && result.model) {
+ config.providers.openai.apiKey = result.apiKey;
+ config.providers.openai.model = result.model;
+ config.providers.openai.enabled = true;
+ }
+ continue;
+ }
+
+ if (authMethod === 'oauth') {
+ // ChatGPT Plus/Pro OAuth flow
+ const { loadChatGPTSession, isChatGPTSessionValid } = await import('./auth/chatgpt-session.js');
+ const existing = loadChatGPTSession();
+ const alreadyLoggedIn = existing && isChatGPTSessionValid(existing);
+
+ let session = existing;
+
+ if (alreadyLoggedIn) {
+ console.log(chalk.green(' ✓ ChatGPT Plus/Pro already authenticated'));
+ if (existing!.userEmail) console.log(chalk.dim(` Account: ${existing!.userEmail}`));
+ if (existing!.plan) console.log(chalk.dim(` Plan: ${existing!.plan}`));
+ const reauth = await ask(chalk.white(' Re-authenticate? [y/N]: '));
+ if (reauth.toLowerCase() !== 'y') {
+ session = existing;
+ } else {
+ session = null;
+ }
+ }
+
+ if (!session || !isChatGPTSessionValid(session)) {
+ console.log(chalk.dim(' Uses your ChatGPT Plus/Pro subscription via OAuth — no API billing.'));
+ console.log(chalk.dim(' A browser window will open for you to authorize Mercury.'));
+
+ try {
+ const { loginChatGPT } = await import('./auth/chatgpt-auth.js');
+ session = await loginChatGPT();
+ } catch (err: any) {
+ console.log(chalk.red(` ✗ ChatGPT OAuth login failed: ${err.message || err}`));
+ continue;
+ }
+ }
+
+ if (session && session.accessToken) {
+ try {
+ const { fetchChatGPTModels } = await import('./auth/chatgpt-models.js');
+ console.log(chalk.dim(' Fetching available models...'));
+ const catalog = await fetchChatGPTModels(session.accessToken, session.accountId);
+ const model = await chooseProviderModel(
+ 'ChatGPT Plus/Pro',
+ catalog.recommendedModel,
+ catalog.models,
+ );
+ config.providers.chatgptWeb.apiKey = '';
+ config.providers.chatgptWeb.model = model;
+ config.providers.chatgptWeb.enabled = true;
+ console.log(chalk.green(` ✓ OpenAI (ChatGPT Plus/Pro) configured with model: ${model}`));
+ } catch (err: any) {
+ console.log(chalk.yellow(` Could not fetch models: ${err.message || err}`));
+ const defaultModel = 'gpt-5.4-mini';
+ const manualModel = await ask(chalk.white(` Enter model name [Enter for ${defaultModel}]: `));
+ const model = manualModel || defaultModel;
+ config.providers.chatgptWeb.apiKey = '';
+ config.providers.chatgptWeb.model = model;
+ config.providers.chatgptWeb.enabled = true;
+ console.log(chalk.green(` ✓ OpenAI (ChatGPT Plus/Pro) configured with model: ${model}`));
+ }
+ }
+ continue;
}
- continue;
}
if (provider === 'anthropic') {
@@ -817,6 +906,71 @@ async function configure(existingConfig?: MercuryConfig): Promise<void> {
config.providers.mimoTokenPlan.model = result.model;
config.providers.mimoTokenPlan.enabled = true;
}
+ continue;
+ }
+
+ if (provider === 'githubCopilot') {
+ const { loadGitHubSession, isGitHubSessionValid } = await import('./auth/github-session.js');
+ const existing = loadGitHubSession();
+ const alreadyLoggedIn = existing && isGitHubSessionValid(existing);
+
+ let session = existing;
+
+ if (alreadyLoggedIn) {
+ console.log(chalk.green(' ✓ GitHub Copilot already authenticated'));
+ if (existing!.userLogin) console.log(chalk.dim(` Account: @${existing!.userLogin}`));
+ const reauth = await ask(chalk.white(' Re-authenticate? [y/N]: '));
+ if (reauth.toLowerCase() !== 'y') {
+ session = existing;
+ } else {
+ session = null;
+ }
+ }
+
+ if (!session || !isGitHubSessionValid(session)) {
+ console.log(chalk.dim(' GitHub Copilot uses your GitHub account via OAuth.'));
+ console.log(chalk.dim(' A browser window will open for you to authorize Mercury.'));
+ const proceed = await ask(chalk.white(' Set up GitHub Copilot? [Y/n]: '));
+
+ if (proceed.toLowerCase() === 'n') {
+ continue;
+ }
+
+ try {
+ const { loginGitHub } = await import('./auth/github-auth.js');
+ session = await loginGitHub();
+ } catch (err: any) {
+ console.log(chalk.red(` ✗ GitHub OAuth login failed: ${err.message || err}`));
+ continue;
+ }
+ }
+
+ if (session && session.accessToken) {
+ try {
+ const { fetchGitHubModels } = await import('./auth/github-models.js');
+ console.log(chalk.dim(' Fetching available models...'));
+ const catalog = await fetchGitHubModels(session.accessToken);
+ const model = await chooseProviderModel(
+ 'GitHub Copilot',
+ catalog.recommendedModel,
+ catalog.models,
+ );
+ config.providers.githubCopilot.apiKey = '';
+ config.providers.githubCopilot.model = model;
+ config.providers.githubCopilot.enabled = true;
+ console.log(chalk.green(` ✓ GitHub Copilot configured with model: ${model}`));
+ } catch (err: any) {
+ console.log(chalk.yellow(` Could not fetch models: ${err.message || err}`));
+ const defaultModel = 'openai/gpt-4.1';
+ const manualModel = await ask(chalk.white(` Enter model name [Enter for ${defaultModel}]: `));
+ const model = manualModel || defaultModel;
+ config.providers.githubCopilot.apiKey = '';
+ config.providers.githubCopilot.model = model;
+ config.providers.githubCopilot.enabled = true;
+ console.log(chalk.green(` ✓ GitHub Copilot configured with model: ${model}`));
+ }
+ }
+ continue;
}
}
@@ -1061,7 +1215,7 @@ function runPlatformDoctor(): void {
console.log(` Spotify inline art: ${canInlineArt ? chalk.green('supported (iTerm local)') : chalk.dim('disabled/fallback mode')}`);
console.log('');
console.log(chalk.bold.white(' Keybinding Notes'));
- console.log(` • View toggle: ${chalk.white('Ctrl+V')} (fallback: ${chalk.white('/view')})`);
+ console.log(` • View toggle: ${chalk.white('Ctrl+T')} (fallback: ${chalk.white('/view')})`);
console.log(` • Workspace exit: ${chalk.white('Esc')} or ${chalk.white('Ctrl+Q')} (fallback: ${chalk.white('/ws exit')})`);
console.log(` • Code mode switch: ${chalk.white('Ctrl+P')} plan, ${chalk.white('Ctrl+X')} execute`);
console.log('');
@@ -1085,7 +1239,7 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
}
const tokenBudget = new TokenBudget(config);
- const providers = new ProviderRegistry(config);
+ const providers = await ProviderRegistry.create(config);
if (!providers.hasProviders()) {
if (isDaemon) {
diff --git a/src/memory/second-brain-db.ts b/src/memory/second-brain-db.ts
index 663d0cf6..773c4456 100644
--- a/src/memory/second-brain-db.ts
+++ b/src/memory/second-brain-db.ts
@@ -12,23 +12,29 @@ let syncDatabaseClass: typeof import('better-sqlite3') | null = null;
let availabilityChecked = false;
let available = false;
-try {
- const mod = require('better-sqlite3');
- const probeDir = join(tmpdir(), `mercury-sqlite3-probe-${process.pid}`);
+function ensureProbed(): void {
+ if (availabilityChecked) return;
+ availabilityChecked = true;
try {
- mkdirSync(probeDir, { recursive: true });
- const probeDb = new mod(join(probeDir, 'probe.db'));
- probeDb.close();
- rmSync(probeDir, { recursive: true, force: true });
- syncDatabaseClass = mod;
+ const mod = require('better-sqlite3');
+ const probeDir = join(tmpdir(), `mercury-sqlite3-probe-${process.pid}`);
+ try {
+ mkdirSync(probeDir, { recursive: true });
+ const probeDb = new mod(join(probeDir, 'probe.db'));
+ probeDb.close();
+ rmSync(probeDir, { recursive: true, force: true });
+ syncDatabaseClass = mod;
+ available = true;
+ } catch {
+ syncDatabaseClass = null;
+ }
} catch {
syncDatabaseClass = null;
}
-} catch {
- syncDatabaseClass = null;
}
export function isBetterSqlite3Available(): boolean {
+ ensureProbed();
return syncDatabaseClass !== null;
}
@@ -59,6 +65,7 @@ export class SecondBrainDB {
private db: BetterSqlite3Database;
constructor(dbPath: string) {
+ ensureProbed();
if (!syncDatabaseClass) {
throw new Error(
'better-sqlite3 is not available — second brain memory requires it. ' +
diff --git a/src/providers/chatgpt-web.ts b/src/providers/chatgpt-web.ts
new file mode 100644
index 00000000..2de35558
--- /dev/null
+++ b/src/providers/chatgpt-web.ts
@@ -0,0 +1,206 @@
+import { createOpenAI } from '@ai-sdk/openai';
+import { BaseProvider } from './base.js';
+import type { ProviderConfig } from '../utils/config.js';
+import type { LLMResponse, LLMStreamChunk } from './base.js';
+import { getValidChatGPTSession, getChatGPTSession } from '../auth/chatgpt-auth.js';
+import { CHATGPT_BACKEND_API } from '../auth/chatgpt-session.js';
+import { logger } from '../utils/logger.js';
+
+// Fields the codex endpoint does not accept
+const UNSUPPORTED_FIELDS = [
+ 'max_output_tokens', 'temperature', 'top_p',
+ 'frequency_penalty', 'presence_penalty',
+ 'service_tier', 'user',
+];
+
+/**
+ * Sanitise an outgoing request body for the ChatGPT codex/responses endpoint.
+ */
+function sanitiseBody(raw: string): string {
+ const body = JSON.parse(raw);
+
+ // Required
+ body.store = false;
+ body.stream = true;
+ if (!body.instructions) body.instructions = 'You are a helpful assistant.';
+
+ // Strip unsupported & undefined/null
+ for (const key of UNSUPPORTED_FIELDS) delete body[key];
+ for (const key of Object.keys(body)) {
+ if (body[key] === undefined || body[key] === null) delete body[key];
+ }
+
+ return JSON.stringify(body);
+}
+
+/**
+ * Consume an SSE stream and build a complete Responses API JSON payload.
+ * The codex endpoint's `response.completed` event has empty `output`,
+ * so we reconstruct it from intermediate events.
+ * Returns a synthetic JSON Response so the SDK's doGenerate can parse it.
+ */
+async function sseToJsonResponse(sseResponse: Response): Promise<Response> {
+ const text = await sseResponse.text();
+ const lines = text.split('\n');
+
+ let responseObj: Record<string, any> | null = null;
+ const outputItems: Record<string, any>[] = [];
+ const contentParts: Map<string, any[]> = new Map(); // itemId → parts[]
+
+ for (const line of lines) {
+ if (!line.startsWith('data: ')) continue;
+ const data = line.slice(6).trim();
+ if (data === '[DONE]') continue;
+
+ let parsed: any;
+ try { parsed = JSON.parse(data); } catch { continue; }
+
+ switch (parsed.type) {
+ case 'response.completed':
+ responseObj = parsed.response;
+ break;
+ case 'response.output_item.added':
+ if (parsed.item) {
+ outputItems[parsed.output_index] = { ...parsed.item, content: [] };
+ }
+ break;
+ case 'response.output_text.done':
+ // Attach completed text to the right output item
+ if (parsed.output_index !== undefined) {
+ const item = outputItems[parsed.output_index];
+ if (item) {
+ if (!item.content) item.content = [];
+ item.content[parsed.content_index ?? 0] = {
+ type: 'output_text',
+ text: parsed.text ?? '',
+ annotations: [],
+ };
+ }
+ }
+ break;
+ case 'response.content_part.done':
+ // Also capture from content_part.done as fallback
+ if (parsed.part && parsed.output_index !== undefined) {
+ const item = outputItems[parsed.output_index];
+ if (item && !item.content?.[parsed.content_index ?? 0]) {
+ if (!item.content) item.content = [];
+ item.content[parsed.content_index ?? 0] = parsed.part;
+ }
+ }
+ break;
+ }
+ }
+
+ if (!responseObj) {
+ return new Response(JSON.stringify({ error: { message: 'No response.completed event found' } }), {
+ status: 500,
+ headers: { 'Content-Type': 'application/json' },
+ });
+ }
+
+ // Reconstruct output with the text we collected
+ responseObj.output = outputItems.filter(Boolean);
+
+ return new Response(JSON.stringify(responseObj), {
+ status: 200,
+ headers: { 'Content-Type': 'application/json' },
+ });
+}
+
+export class ChatGPTWebProvider extends BaseProvider {
+ readonly name: string;
+ readonly model: string;
+ private cachedModelInstance: any = null;
+ private cachedAccessToken: string = '';
+
+ constructor(config: ProviderConfig) {
+ super(config);
+ this.name = config.name;
+ this.model = config.model;
+ }
+
+ async generateText(_prompt: string, _systemPrompt: string): Promise<LLMResponse> {
+ throw new Error('Use getModelInstance() with the AI SDK agent loop');
+ }
+
+ async *streamText(_prompt: string, _systemPrompt: string): AsyncIterable<LLMStreamChunk> {
+ throw new Error('Use getModelInstance() with the AI SDK agent loop');
+ }
+
+ isAvailable(): boolean {
+ const session = getChatGPTSession();
+ return session !== null && session.accessToken.length > 0;
+ }
+
+ getModelInstance(): any {
+ const session = getChatGPTSession();
+
+ if (!session?.accessToken || !session?.accountId) {
+ logger.warn('ChatGPT Web: no valid session — requests will fail');
+ }
+
+ const accessToken = session?.accessToken ?? '';
+ const accountId = session?.accountId ?? '';
+
+ // Rebuild the model instance if token changed or first call
+ if (!this.cachedModelInstance || accessToken !== this.cachedAccessToken) {
+ this.cachedAccessToken = accessToken;
+
+ // Kick off async token refresh in background if needed
+ if (session && !this._isTokenFresh(session)) {
+ getValidChatGPTSession().catch((err) => {
+ logger.warn({ err }, 'Background token refresh failed');
+ });
+ }
+
+ const client = createOpenAI({
+ apiKey: 'chatgpt-oauth-token', // dummy — real auth is in custom fetch
+ baseURL: `${CHATGPT_BACKEND_API}/codex`,
+ fetch: async (url, init) => {
+ // Inject OAuth headers
+ const headers = new Headers(init?.headers);
+ headers.set('Authorization', `Bearer ${accessToken}`);
+ headers.set('ChatGPT-Account-Id', accountId);
+ headers.set('User-Agent', `mercury-agent/1.0 (${process.platform} ${process.arch})`);
+ headers.delete('api-key');
+
+ // Detect whether the SDK requested streaming
+ let wasStreaming = false;
+ let modifiedInit = { ...init, headers };
+
+ if (init?.body && typeof init.body === 'string') {
+ try {
+ const parsed = JSON.parse(init.body);
+ wasStreaming = parsed.stream === true;
+ } catch { /* ignore */ }
+
+ try {
+ modifiedInit.body = sanitiseBody(init.body);
+ } catch { /* pass through */ }
+ }
+
+ const response = await globalThis.fetch(url, modifiedInit);
+
+ // If the SDK did NOT request streaming (doGenerate path),
+ // the codex endpoint still returns SSE because we forced stream:true.
+ // Consume the SSE and return a synthetic JSON response.
+ if (!wasStreaming && response.ok) {
+ return sseToJsonResponse(response);
+ }
+
+ return response;
+ },
+ });
+
+ // Use the Responses API (not Chat Completions)
+ this.cachedModelInstance = client.responses(this.model as any);
+ }
+
+ return this.cachedModelInstance;
+ }
+
+ private _isTokenFresh(session: { expiresAt: string }): boolean {
+ if (!session.expiresAt) return true;
+ return Date.now() < new Date(session.expiresAt).getTime() - 120_000;
+ }
+}
diff --git a/src/providers/github-copilot.ts b/src/providers/github-copilot.ts
new file mode 100644
index 00000000..807171d9
--- /dev/null
+++ b/src/providers/github-copilot.ts
@@ -0,0 +1,129 @@
+import { createOpenAI } from '@ai-sdk/openai';
+import { BaseProvider } from './base.js';
+import type { ProviderConfig } from '../utils/config.js';
+import type { LLMResponse, LLMStreamChunk } from './base.js';
+import { getGitHubSession } from '../auth/github-auth.js';
+import {
+ getValidCopilotToken,
+ COPILOT_HEADERS,
+ type CopilotToken,
+} from '../auth/github-session.js';
+import { logger } from '../utils/logger.js';
+
+export class GitHubCopilotProvider extends BaseProvider {
+ readonly name: string;
+ readonly model: string;
+ private cachedModelInstance: any = null;
+ private cachedEndpoint: string = '';
+ private cachedToken: string = '';
+
+ constructor(config: ProviderConfig) {
+ super(config);
+ this.name = config.name;
+ this.model = config.model;
+ }
+
+ async generateText(_prompt: string, _systemPrompt: string): Promise<LLMResponse> {
+ throw new Error('Use getModelInstance() with the AI SDK agent loop');
+ }
+
+ async *streamText(_prompt: string, _systemPrompt: string): AsyncIterable<LLMStreamChunk> {
+ throw new Error('Use getModelInstance() with the AI SDK agent loop');
+ }
+
+ isAvailable(): boolean {
+ const session = getGitHubSession();
+ return session !== null && session.accessToken.length > 0;
+ }
+
+ getModelInstance(): any {
+ // We need to rebuild the instance when the copilot token refreshes.
+ // Since getModelInstance is sync, we eagerly build with the last known
+ // copilot token and rely on the custom fetch to refresh it on-the-fly.
+ //
+ // On first call, we kick off an async token fetch (best-effort) and
+ // build a placeholder that will be replaced on next call.
+ this._refreshTokenBackground();
+ return this._buildModelInstance();
+ }
+
+ private _pendingRefresh: Promise<CopilotToken | null> | null = null;
+ private _lastCopilotToken: CopilotToken | null = null;
+
+ private _refreshTokenBackground(): void {
+ if (this._pendingRefresh) return;
+ // Check if we need a refresh
+ const now = Date.now() / 1000;
+ if (this._lastCopilotToken && this._lastCopilotToken.expiresAt > now + 60) return;
+
+ this._pendingRefresh = getValidCopilotToken()
+ .then((t) => {
+ this._lastCopilotToken = t;
+ this._pendingRefresh = null;
+ return t;
+ })
+ .catch(() => {
+ this._pendingRefresh = null;
+ return null;
+ });
+ }
+
+ private _buildModelInstance(): any {
+ const copilot = this._lastCopilotToken;
+ const endpoint = copilot?.apiEndpoint ?? 'https://api.githubcopilot.com';
+ const token = copilot?.token ?? 'pending';
+
+ // Rebuild if endpoint or token changed
+ if (this.cachedModelInstance && endpoint === this.cachedEndpoint && token === this.cachedToken) {
+ return this.cachedModelInstance;
+ }
+
+ this.cachedEndpoint = endpoint;
+ this.cachedToken = token;
+
+ // Custom fetch that:
+ // 1. Injects required Copilot headers
+ // 2. Auto-refreshes the Copilot token if expired
+ const self = this;
+ const customFetch: typeof globalThis.fetch = async (input, init) => {
+ // Ensure we have a fresh copilot token
+ let ct = self._lastCopilotToken;
+ const now = Date.now() / 1000;
+ if (!ct || ct.expiresAt <= now + 30) {
+ ct = await getValidCopilotToken();
+ if (ct) self._lastCopilotToken = ct;
+ }
+
+ if (!ct) {
+ throw new Error('GitHub Copilot: failed to obtain Copilot token. Is Copilot enabled for your account?');
+ }
+
+ // Rewrite URL to use the correct Copilot API endpoint
+ let url = typeof input === 'string' ? input : input instanceof URL ? input.toString() : (input as Request).url;
+ // Replace any base URL with the one from the token exchange
+ const urlPath = new URL(url).pathname;
+ url = `${ct.apiEndpoint}${urlPath}`;
+
+ // Merge headers
+ const headers = new Headers(init?.headers);
+ headers.set('Authorization', `Bearer ${ct.token}`);
+ for (const [k, v] of Object.entries(COPILOT_HEADERS)) {
+ headers.set(k, v);
+ }
+
+ return globalThis.fetch(url, {
+ ...init,
+ headers,
+ });
+ };
+
+ const client = createOpenAI({
+ apiKey: 'copilot-managed', // placeholder, custom fetch overrides Authorization
+ baseURL: `${endpoint}/chat/completions`.replace('/chat/completions', ''),
+ fetch: customFetch,
+ });
+
+ this.cachedModelInstance = client.chat(this.model as any);
+ return this.cachedModelInstance;
+ }
+}
diff --git a/src/providers/registry.ts b/src/providers/registry.ts
index 16a52ee5..7dc25480 100644
--- a/src/providers/registry.ts
+++ b/src/providers/registry.ts
@@ -1,20 +1,47 @@
import type { MercuryConfig, ProviderConfig } from '../utils/config.js';
import { isProviderConfigured } from '../utils/config.js';
import type { BaseProvider } from './base.js';
-import { OpenAICompatProvider } from './openai-compat.js';
-import { AnthropicProvider } from './anthropic.js';
-import { DeepSeekProvider } from './deepseek.js';
-import { OllamaProvider } from './ollama.js';
-import { MiMoProvider } from './mimo.js';
import { logger } from '../utils/logger.js';
+async function createProvider(pc: ProviderConfig): Promise<BaseProvider> {
+ if (pc.name === 'anthropic') {
+ const { AnthropicProvider } = await import('./anthropic.js');
+ return new AnthropicProvider(pc);
+ } else if (pc.name === 'deepseek') {
+ const { DeepSeekProvider } = await import('./deepseek.js');
+ return new DeepSeekProvider(pc);
+ } else if (pc.name === 'ollamaLocal') {
+ const { OllamaProvider } = await import('./ollama.js');
+ return new OllamaProvider(pc);
+ } else if (pc.name === 'ollamaCloud' || pc.name === 'openaiCompat') {
+ const { OpenAICompatProvider } = await import('./openai-compat.js');
+ return new OpenAICompatProvider(pc, { useChatApi: true });
+ } else if (pc.name === 'mimo' || pc.name === 'mimoTokenPlan') {
+ const { MiMoProvider } = await import('./mimo.js');
+ return new MiMoProvider(pc);
+ } else if (pc.name === 'chatgptWeb') {
+ const { ChatGPTWebProvider } = await import('./chatgpt-web.js');
+ return new ChatGPTWebProvider(pc);
+ } else if (pc.name === 'githubCopilot') {
+ const { GitHubCopilotProvider } = await import('./github-copilot.js');
+ return new GitHubCopilotProvider(pc);
+ } else {
+ const { OpenAICompatProvider } = await import('./openai-compat.js');
+ return new OpenAICompatProvider(pc);
+ }
+}
+
export class ProviderRegistry {
private providers: Map<string, BaseProvider> = new Map();
private defaultName: string;
private lastSuccessful: string | null = null;
- constructor(config: MercuryConfig) {
- this.defaultName = config.providers.default;
+ private constructor(defaultName: string) {
+ this.defaultName = defaultName;
+ }
+
+ static async create(config: MercuryConfig): Promise<ProviderRegistry> {
+ const registry = new ProviderRegistry(config.providers.default);
const entries: ProviderConfig[] = [
config.providers.deepseek,
@@ -26,33 +53,30 @@ export class ProviderRegistry {
config.providers.openaiCompat,
config.providers.mimo,
config.providers.mimoTokenPlan,
+ config.providers.chatgptWeb,
+ config.providers.githubCopilot,
];
- for (const pc of entries) {
- if (!isProviderConfigured(pc)) continue;
- try {
- let provider: BaseProvider;
- if (pc.name === 'anthropic') {
- provider = new AnthropicProvider(pc);
- } else if (pc.name === 'deepseek') {
- provider = new DeepSeekProvider(pc);
- } else if (pc.name === 'ollamaLocal') {
- provider = new OllamaProvider(pc);
- } else if (pc.name === 'ollamaCloud') {
- provider = new OpenAICompatProvider(pc, { useChatApi: true });
- } else if (pc.name === 'openaiCompat') {
- provider = new OpenAICompatProvider(pc, { useChatApi: true });
- } else if (pc.name === 'mimo' || pc.name === 'mimoTokenPlan') {
- provider = new MiMoProvider(pc);
- } else {
- provider = new OpenAICompatProvider(pc);
- }
- this.providers.set(pc.name, provider);
- logger.info({ provider: pc.name, model: pc.model }, 'Provider registered');
- } catch (err) {
- logger.warn({ provider: pc.name, err }, 'Failed to register provider');
+ // Load only configured providers in parallel
+ const configured = entries.filter(pc => isProviderConfigured(pc));
+ const results = await Promise.allSettled(
+ configured.map(async (pc) => {
+ const provider = await createProvider(pc);
+ return { name: pc.name, model: pc.model, provider };
+ })
+ );
+
+ for (const result of results) {
+ if (result.status === 'fulfilled') {
+ const { name, model, provider } = result.value;
+ registry.providers.set(name, provider);
+ logger.info({ provider: name, model }, 'Provider registered');
+ } else {
+ logger.warn({ err: result.reason }, 'Failed to register provider');
}
}
+
+ return registry;
}
get(name?: string): BaseProvider | undefined {
diff --git a/src/skills/loader.ts b/src/skills/loader.ts
index 68f41fe6..45f57eb7 100644
--- a/src/skills/loader.ts
+++ b/src/skills/loader.ts
@@ -105,7 +105,20 @@ export class SkillLoader {
getSkillSummariesText(): string {
const skills = this.getDiscovered();
if (skills.length === 0) return '';
- return 'Available skills:\n' + skills.map(s => `- ${s.name}: ${s.description}`).join('\n');
+
+ let text = '**Available Skills** (invoke with the `use_skill` tool):\n';
+ text += skills.map(s => `- ${s.name}: ${s.description}`).join('\n');
+
+ // Auto-routing hint for web search
+ const hasWebSearchSkill = skills.some(s => s.name === 'web-search');
+ if (hasWebSearchSkill) {
+ text += '\n\n**Important — Web Search:** When the user asks about current events, news, real-time information, '
+ + 'or anything that requires up-to-date knowledge beyond your training data, you MUST invoke the `web-search` skill '
+ + 'via `use_skill` immediately — do NOT attempt to answer from memory or ask clarifying questions first. '
+ + 'Fetch real information, then respond.';
+ }
+
+ return text;
}
saveSkill(name: string, content: string): string {
diff --git a/src/ui/App.tsx b/src/ui/App.tsx
index 52836d06..f58f0885 100644
--- a/src/ui/App.tsx
+++ b/src/ui/App.tsx
@@ -1,7 +1,7 @@
import React from 'react';
-import { Box, Text, useApp, useInput } from 'ink';
+import { Box, Text, Spacer, useApp, useInput, useStdout } from 'ink';
import type { TuiState } from '../channels/cli.js';
-import type { AppMode, ChatMessage, ToolStep, SubAgentInfo, PermissionPromptState, SidebarSection, BackgroundTaskInfo } from './types.js';
+import type { AppMode, ChatMessage, ToolStep, SubAgentInfo, PermissionPromptState, SidebarSection, BackgroundTaskInfo, WorkspaceState } from './types.js';
import type { PermissionMode } from '../channels/base.js';
import type { ProgrammingModeState } from '../core/programming-mode.js';
import { renderMarkdown } from '../utils/markdown.js';
@@ -79,7 +79,11 @@ export interface TuiAppProps {
export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyClient }: TuiAppProps) {
const { exit } = useApp();
const [input, setInput] = React.useState('');
- const [permIdx, setPermIdx] = React.useState(0);
+ const [cursorPos, setCursorPos] = React.useState(0);
+ const setInputAndCursor = (text: string, pos?: number) => {
+ setInput(text);
+ setCursorPos(pos ?? text.length);
+ }; const [permIdx, setPermIdx] = React.useState(0);
const permIdxRef = React.useRef(0);
const [menuIdx, setMenuIdx] = React.useState(0);
const [spotifyIdx, setSpotifyIdx] = React.useState(6);
@@ -102,6 +106,7 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
const slashCommands = React.useMemo(() => [
'/help',
'/status',
+ '/progress',
'/menu',
'/chat',
'/code',
@@ -109,7 +114,9 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
'/code execute',
'/code build',
'/code workspace',
+ '/code agent ',
'/code off',
+ '/code toggle',
'/spotify',
'/budget',
'/permissions',
@@ -117,11 +124,21 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
'/models',
'/models use ',
'/agents',
+ '/agents stop ',
+ '/agents pause ',
+ '/agents resume ',
'/bg',
'/bg current',
'/bg list',
'/bg cancel ',
'/bg clear',
+ '/bg killall',
+ '/stop',
+ '/halt',
+ '/reset',
+ '/tools',
+ '/skills',
+ '/stream',
'/view',
'/view balanced',
'/view detailed',
@@ -139,7 +156,13 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
const q = input.toLowerCase();
return slashCommands.filter((cmd) => cmd.startsWith(q)).slice(0, 5);
}, [input, slashCommands]);
-
+
+ const [slashSelIdx, setSlashSelIdx] = React.useState(0);
+
+ // Reset selection index when suggestions change
+ React.useEffect(() => {
+ setSlashSelIdx(0);
+ }, [slashSuggestions.length, input]);
React.useEffect(() => {
if (state.mode !== 'splash') return;
@@ -392,6 +415,14 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
if (isEnter) {
const trimmed = input.trim();
+
+ // If autocomplete popup is showing and input doesn't exactly match the selected suggestion,
+ // fill the suggestion into the input instead of submitting
+ if (slashSuggestions.length > 0 && trimmed !== slashSuggestions[slashSelIdx]) {
+ setInputAndCursor(slashSuggestions[slashSelIdx]);
+ return;
+ }
+
if (trimmed) {
onInput(trimmed);
setInputHistory((prev) => {
@@ -400,14 +431,23 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
});
setHistoryIndex(-1);
setHistoryDraft('');
- setInput('');
+ setInputAndCursor('');
return;
}
}
if (state.mode === 'workspace') {
+ const focusArea = state.workspace?.focusArea || 'explorer';
+ const rightPanel = state.workspace?.rightPanel || 'chat';
+
+ // Global workspace shortcuts (always active)
if (key.escape || (key.ctrl && (ch === 'q' || ch === 'Q'))) {
- onInput('/ws exit');
+ // Esc in non-explorer panel returns to explorer; Esc in explorer exits workspace
+ if (focusArea !== 'explorer') {
+ onInput('/ws focus explorer');
+ } else {
+ onInput('/ws exit');
+ }
return;
}
@@ -420,44 +460,69 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
return;
}
+ // Panel focus shortcuts
if (key.ctrl && (ch === 'e' || ch === 'E')) {
- setWorkspacePane('files');
+ onInput('/ws focus explorer');
return;
}
if (key.ctrl && (ch === 'g' || ch === 'G')) {
- setWorkspacePane('git');
+ onInput('/ws focus git');
return;
}
-
- const navMode = input.trim().length === 0;
-
- if (navMode && key.upArrow) {
- if (workspacePane === 'files') onInput('/ws up');
- else if (workspacePane === 'details') setDetailCursor((i) => Math.max(0, i - 1));
- else setGitCursor((i) => Math.max(0, i - 1));
+ if (key.ctrl && (ch === 'j' || ch === 'J')) {
+ onInput('/ws toggle-chat');
return;
}
- if (navMode && key.downArrow) {
- if (workspacePane === 'files') onInput('/ws down');
- else if (workspacePane === 'details') setDetailCursor((i) => Math.min(3, i + 1));
- else setGitCursor((i) => Math.min((state.workspace?.gitFiles.length || 1) - 1, i + 1));
- return;
- }
- if (navMode && key.leftArrow) {
- if (workspacePane === 'files') onInput('/ws collapse');
- return;
- }
- if (navMode && key.rightArrow) {
- if (workspacePane === 'files') onInput('/ws expand');
+
+ // Tab cycles focus: explorer → code → right panel (chat or git)
+ if (key.tab) {
+ const showRight = (process.stdout.columns || 80) >= 100;
+ const rightFocus = rightPanel === 'chat' ? 'chat' : 'git';
+ const cycle = showRight ? ['explorer', 'code', rightFocus] : ['explorer', 'code'];
+ const nextIdx = (cycle.indexOf(focusArea) + 1) % cycle.length;
+ onInput(`/ws focus ${cycle[nextIdx]}`);
return;
}
- if (navMode && isEnter) {
- if (workspacePane === 'files') onInput('/ws open-selected');
- else if (workspacePane === 'git') {
- const picked = state.workspace?.gitFiles[gitCursor];
- if (picked) onInput(`/ws stage ${picked.path}`);
+
+ const navMode = input.trim().length === 0;
+
+ // Focus-aware navigation
+ if (navMode) {
+ if (focusArea === 'explorer') {
+ if (key.upArrow) { onInput('/ws up'); return; }
+ if (key.downArrow) { onInput('/ws down'); return; }
+ if (key.leftArrow) { onInput('/ws collapse'); return; }
+ if (key.rightArrow) { onInput('/ws expand'); return; }
+ if (isEnter) { onInput('/ws open-selected'); return; }
+ }
+
+ if (focusArea === 'code') {
+ if (key.upArrow) { onInput('/ws scroll -1'); return; }
+ if (key.downArrow) { onInput('/ws scroll 1'); return; }
+ if (key.pageUp) { onInput('/ws scroll -15'); return; }
+ if (key.pageDown) { onInput('/ws scroll 15'); return; }
+ if (key.ctrl && (ch === 'u' || ch === 'U')) { onInput('/ws scroll -10'); return; }
+ if (key.ctrl && (ch === 'd' || ch === 'D')) { onInput('/ws scroll 10'); return; }
+ }
+
+ if (focusArea === 'git') {
+ if (key.upArrow) { setGitCursor((i) => Math.max(0, i - 1)); return; }
+ if (key.downArrow) { setGitCursor((i) => Math.min((state.workspace?.gitFiles.length || 1) - 1, i + 1)); return; }
+ if (isEnter) {
+ const picked = state.workspace?.gitFiles[gitCursor];
+ if (picked) onInput(`/ws stage ${picked.path}`);
+ return;
+ }
+ }
+
+ if (focusArea === 'chat') {
+ if (key.upArrow) { onInput('/ws chat-scroll -1'); return; }
+ if (key.downArrow) { onInput('/ws chat-scroll 1'); return; }
+ if (key.pageUp) { onInput('/ws chat-scroll -10'); return; }
+ if (key.pageDown) { onInput('/ws chat-scroll 10'); return; }
+ if (key.ctrl && (ch === 'u' || ch === 'U')) { onInput('/ws chat-scroll -8'); return; }
+ if (key.ctrl && (ch === 'd' || ch === 'D')) { onInput('/ws chat-scroll 8'); return; }
}
- return;
}
}
@@ -474,7 +539,7 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
}
}
- if (key.ctrl && (ch === 'v' || ch === 'V') && !state.permissionPrompt) {
+ if (key.ctrl && (ch === 't' || ch === 'T') && !state.permissionPrompt) {
onInput('/view toggle');
return;
}
@@ -484,6 +549,13 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
return;
}
+ // Ctrl+N → insert newline (multi-line input)
+ if (key.ctrl && (ch === 'n' || ch === 'N' || ch === '\x0e')) {
+ setInput((prev) => prev.slice(0, cursorPos) + '\n' + prev.slice(cursorPos));
+ setCursorPos((p) => p + 1);
+ return;
+ }
+
if (key.escape) {
if (state.mode === 'coding') {
onInput('/chat');
@@ -495,25 +567,46 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
if (key.tab) {
if (input.startsWith('/') && slashSuggestions.length > 0) {
- const exactIdx = slashSuggestions.findIndex((cmd) => cmd === input);
- const nextIdx = exactIdx >= 0 ? (exactIdx + 1) % slashSuggestions.length : 0;
- setInput(slashSuggestions[nextIdx]);
+ setInputAndCursor(slashSuggestions[slashSelIdx]);
}
return;
}
+ // Left/right arrow: move cursor within input
+ if (key.leftArrow) {
+ setCursorPos((p) => Math.max(0, p - 1));
+ return;
+ }
+ if (key.rightArrow) {
+ setCursorPos((p) => Math.min(input.length, p + 1));
+ return;
+ }
+
+ // Up/down arrow: navigate slash suggestions when popup is visible
+ if (slashSuggestions.length > 0) {
+ if (key.upArrow) {
+ setSlashSelIdx((i) => (i > 0 ? i - 1 : slashSuggestions.length - 1));
+ return;
+ }
+ if (key.downArrow) {
+ setSlashSelIdx((i) => (i < slashSuggestions.length - 1 ? i + 1 : 0));
+ return;
+ }
+ }
+
+ // Up arrow: navigate input history
if (key.upArrow) {
if (inputHistory.length === 0) return;
if (historyIndex === -1) {
setHistoryDraft(input);
const next = inputHistory.length - 1;
setHistoryIndex(next);
- setInput(inputHistory[next] ?? '');
+ setInputAndCursor(inputHistory[next] ?? '');
return;
}
const next = Math.max(0, historyIndex - 1);
setHistoryIndex(next);
- setInput(inputHistory[next] ?? '');
+ setInputAndCursor(inputHistory[next] ?? '');
return;
}
@@ -522,23 +615,31 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
const next = historyIndex + 1;
if (next >= inputHistory.length) {
setHistoryIndex(-1);
- setInput(historyDraft);
+ setInputAndCursor(historyDraft);
return;
}
setHistoryIndex(next);
- setInput(inputHistory[next] ?? '');
+ setInputAndCursor(inputHistory[next] ?? '');
return;
}
if (key.backspace || key.delete) {
- setInput((prev) => prev.slice(0, -1));
+ if (cursorPos > 0) {
+ setInput((prev) => prev.slice(0, cursorPos - 1) + prev.slice(cursorPos));
+ setCursorPos((p) => p - 1);
+ }
return;
}
if (key.ctrl || key.meta) return;
- if (ch && ch.length === 1 && !key.escape) {
- setInput((prev) => prev + ch);
+ if (ch && ch.length > 0 && !key.escape) {
+ // Strip control chars but keep printable content (handles paste)
+ const clean = ch.replace(/[\x00-\x08\x0b\x0c\x0e-\x1f]/g, '');
+ if (clean) {
+ setInput((prev) => prev.slice(0, cursorPos) + clean + prev.slice(cursorPos));
+ setCursorPos((p) => p + clean.length);
+ }
}
});
@@ -604,8 +705,7 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
{state.mode === 'spotify' ? <SpotifyBody activeIdx={spotifyIdx} nowPlaying={spotifyNow} status={spotifyStatus} volume={spotifyVolume} albumArtAnsi={spotifyArtAnsi} /> : null}
{state.mode === 'menu' ? <MenuBody menuIdx={menuIdx} /> : null}
{state.mode === 'coding' ? <CodingBody state={state} /> : null}
- {state.mode === 'workspace' ? <WorkspaceBody state={state} workspacePane={workspacePane} detailCursor={detailCursor} gitCursor={gitCursor} /> : null}
- {state.mode === 'chat' ? (
+ {(state.mode === 'workspace' || state.mode === 'chat') ? (
<ChatBody state={state} />
) : null}
{state.permissionPrompt && (
@@ -614,6 +714,7 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
{showInput && (
<InputBox
input={input}
+ cursorPos={cursorPos}
mode={state.mode}
programmingMode={state.programmingMode}
projectContext={state.projectContext}
@@ -621,9 +722,9 @@ export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyCli
)}
{showInput && slashSuggestions.length > 0 && (
<Box flexDirection="column" paddingX={1}>
- <Text dimColor>Suggestions (Tab to complete):</Text>
+ <Text dimColor>Suggestions (↑↓ navigate · Tab/Enter to select):</Text>
{slashSuggestions.map((cmd, idx) => (
- <Text key={cmd} color={idx === 0 ? 'cyan' : 'gray'}>{idx === 0 ? '›' : ' '} {cmd}</Text>
+ <Text key={cmd} color={idx === slashSelIdx ? 'cyan' : 'gray'}>{idx === slashSelIdx ? '›' : ' '} {cmd}</Text>
))}
</Box>
)}
@@ -675,13 +776,25 @@ function StatusBarView({ state }: { state: TuiState }) {
const providerBadge = state.provider ? `⚡ ${state.provider.name} · ${state.provider.model}` : '⚡ No provider';
const viewLabel = state.viewMode === 'balanced' ? 'minimal' : 'detailed';
+ // Dynamic subtitle based on thinking state
+ const runningStep = [...state.toolSteps].reverse().find((s) => s.status === 'running');
+ const doneSteps = state.toolSteps.filter((s) => s.status === 'done').length;
+ let subtitle: React.ReactNode;
+ if (state.isThinking) {
+ const activity = runningStep ? runningStep.label : 'Processing';
+ const stepCount = doneSteps > 0 ? `step ${doneSteps + 1}` : 'step 1';
+ subtitle = <Text color="green">● {stepCount} · {activity}</Text>;
+ } else {
+ subtitle = <Text color={BRAND.subtitle}> · Your soul-driven AI agent</Text>;
+ }
+
return (
<Box flexDirection="column">
<Box paddingX={1}>
<Text color={BRAND.logo}>☿</Text>
<Text> </Text>
<Text bold color={BRAND.title}>MERCURY</Text>
- <Text color={BRAND.subtitle}> · Your soul-driven AI agent</Text>
+ {subtitle}
</Box>
<Box paddingX={1} paddingBottom={0}>
<Box flexGrow={1}>
@@ -713,7 +826,7 @@ function ChatBody({ state }: { state: TuiState }) {
{state.sidebarSections.length > 0 && <SidebarView sections={state.sidebarSections} />}
<Box flexDirection="column" flexGrow={1}>
<ChatMessagesView messages={state.chatMessages} agentName={state.agentName} />
- {state.toolSteps.length > 0 && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
+ {state.toolSteps.length > 0 && !state.isThinking && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
{state.isThinking && <ThinkingIndicator agentName={state.agentName} steps={state.toolSteps} mode={state.mode} />}
{state.subAgents.length > 0 && <AgentPanelView agents={state.subAgents} />}
</Box>
@@ -752,7 +865,7 @@ function CodingBody({ state }: { state: TuiState }) {
</Box>
<Box flexDirection="column" flexGrow={1}>
<ChatMessagesView messages={state.chatMessages} agentName={state.agentName} />
- {state.toolSteps.length > 0 && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
+ {state.toolSteps.length > 0 && !state.isThinking && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
{state.isThinking && <ThinkingIndicator agentName={state.agentName} steps={state.toolSteps} mode={state.mode} />}
<Box paddingX={1} marginTop={1}>
<Text dimColor>Mode shortcuts: Ctrl+P Plan · Ctrl+X Execute</Text>
@@ -762,8 +875,355 @@ function CodingBody({ state }: { state: TuiState }) {
);
}
+// ─── Workspace IDE ──────────────────────────────────────────────────────────
+
+function useTerminalSize(): { rows: number; cols: number } {
+ const { stdout } = useStdout();
+ const [size, setSize] = React.useState({ rows: stdout.rows || 24, cols: stdout.columns || 80 });
+ React.useEffect(() => {
+ const onResize = () => setSize({ rows: stdout.rows || 24, cols: stdout.columns || 80 });
+ stdout.on('resize', onResize);
+ return () => { stdout.off('resize', onResize); };
+ }, [stdout]);
+ return size;
+}
+
+function WorkspaceTabBar({ ws, focusArea, cols }: { ws: WorkspaceState; focusArea: string; cols: number }) {
+ const showRightPanel = cols >= 100;
+ const rightLabel = ws.rightPanel === 'chat' ? 'AGENT OUTPUT' : 'SOURCE CONTROL';
+ const rightFocus = ws.rightPanel === 'chat' ? 'chat' : 'git';
+ const tabs: Array<{ id: string; label: string }> = [
+ { id: 'explorer', label: 'EXPLORER' },
+ { id: 'code', label: 'CODE' },
+ ...(showRightPanel ? [{ id: rightFocus, label: rightLabel }] : []),
+ ];
+
+ return (
+ <Box paddingX={1}>
+ {tabs.map((tab, i) => (
+ <React.Fragment key={tab.id}>
+ {i > 0 && <Text color="gray"> │ </Text>}
+ <Text
+ bold={focusArea === tab.id}
+ inverse={focusArea === tab.id}
+ color={focusArea === tab.id ? 'cyan' : 'gray'}
+ >
+ {' '}{tab.label}{' '}
+ </Text>
+ </React.Fragment>
+ ))}
+ <Spacer />
+ {showRightPanel && (
+ <>
+ <Text dimColor>^J {ws.rightPanel === 'chat' ? 'git' : 'chat'}</Text>
+ <Text color="gray"> · </Text>
+ </>
+ )}
+ <Text color="magenta">{ws.branch}</Text>
+ </Box>
+ );
+}
+
+function ExplorerPanel({
+ ws,
+ panelHeight,
+ isFocused,
+}: {
+ ws: WorkspaceState;
+ panelHeight: number;
+ isFocused: boolean;
+}) {
+ const windowSize = Math.max(1, panelHeight - 2); // leave room for header + footer
+ const explorerStart = Math.max(0, Math.min(ws.selectedIndex - Math.floor(windowSize / 2), Math.max(0, ws.nodes.length - windowSize)));
+ const visible = ws.nodes.slice(explorerStart, explorerStart + windowSize);
+
+ return (
+ <Box
+ flexDirection="column"
+ borderStyle="round"
+ borderColor={isFocused ? 'cyan' : 'gray'}
+ overflow="hidden"
+ height={panelHeight}
+ >
+ <Box paddingX={1}>
+ <Text bold={isFocused} color={isFocused ? 'cyan' : 'gray'}>EXPLORER</Text>
+ <Spacer />
+ <Text dimColor>{ws.nodes.length}</Text>
+ </Box>
+ {visible.map((node, localIdx) => {
+ const idx = explorerStart + localIdx;
+ const isSelected = idx === ws.selectedIndex;
+ const prefix = node.isDir ? (node.expanded ? '▾' : '▸') : ' ';
+ const indent = ' '.repeat(Math.max(0, node.depth * 2));
+ return (
+ <Box key={node.id} paddingX={1}>
+ <Text
+ inverse={isSelected && isFocused}
+ color={isSelected ? 'white' : node.isDir ? 'blue' : 'gray'}
+ wrap="truncate-end"
+ >
+ {isSelected ? '›' : ' '} {indent}{prefix} {node.name}
+ </Text>
+ </Box>
+ );
+ })}
+ {visible.length < windowSize && Array.from({ length: windowSize - visible.length }, (_, i) => (
+ <Box key={`pad-${i}`}><Text> </Text></Box>
+ ))}
+ </Box>
+ );
+}
+
+function CodeViewerPanel({
+ ws,
+ panelHeight,
+ isFocused,
+}: {
+ ws: WorkspaceState;
+ panelHeight: number;
+ isFocused: boolean;
+}) {
+ const viewerLines = Math.max(1, panelHeight - 3); // header + separator + footer
+ const preview = ws.openedFilePreview;
+ const offset = ws.codeScrollOffset;
+ const totalLines = preview.length;
+ const visibleLines = preview.slice(offset, offset + viewerLines);
+ const lineNumWidth = Math.max(3, String(offset + viewerLines).length);
+ const fileName = ws.openedFilePath
+ ? ws.openedFilePath.replace(ws.rootPath + '/', '')
+ : '';
+
+ return (
+ <Box
+ flexDirection="column"
+ borderStyle="round"
+ borderColor={isFocused ? 'cyan' : 'gray'}
+ overflow="hidden"
+ height={panelHeight}
+ >
+ <Box paddingX={1}>
+ <Text bold={isFocused} color={isFocused ? 'cyan' : 'gray'}>CODE</Text>
+ {fileName ? (
+ <>
+ <Text color="gray"> · </Text>
+ <Text color="white" wrap="truncate-end">{fileName}</Text>
+ </>
+ ) : null}
+ <Spacer />
+ {totalLines > 0 && (
+ <Text dimColor>{offset + 1}-{Math.min(offset + viewerLines, totalLines)}/{totalLines}</Text>
+ )}
+ </Box>
+ {!ws.openedFilePath ? (
+ <Box flexDirection="column" flexGrow={1} alignItems="center" justifyContent="center">
+ <Text dimColor>Select a file and press Enter</Text>
+ <Text dimColor>to preview its contents</Text>
+ </Box>
+ ) : (
+ <>
+ {visibleLines.map((line, i) => {
+ const lineNum = offset + i + 1;
+ return (
+ <Box key={`L${lineNum}`} paddingLeft={1}>
+ <Text color="gray">{String(lineNum).padStart(lineNumWidth, ' ')} │ </Text>
+ <Text wrap="truncate-end">{line || ' '}</Text>
+ </Box>
+ );
+ })}
+ {visibleLines.length < viewerLines && Array.from({ length: viewerLines - visibleLines.length }, (_, i) => (
+ <Box key={`cpad-${i}`} paddingLeft={1}>
+ <Text color="gray">{' '.repeat(lineNumWidth)} │</Text>
+ </Box>
+ ))}
+ </>
+ )}
+ <Box paddingX={1}>
+ <Text dimColor>
+ {isFocused ? '↑↓ scroll · PgUp/PgDn half page · Esc back' : 'Tab to focus'}
+ </Text>
+ </Box>
+ </Box>
+ );
+}
+
+function GitPanel({
+ ws,
+ panelHeight,
+ isFocused,
+ gitCursor,
+}: {
+ ws: WorkspaceState;
+ panelHeight: number;
+ isFocused: boolean;
+ gitCursor: number;
+}) {
+ const listHeight = Math.max(1, panelHeight - 6); // header + branch + staged/unstaged labels + footer + border
+ const gitStart = Math.max(0, Math.min(gitCursor - Math.floor(listHeight / 2), Math.max(0, ws.gitFiles.length - listHeight)));
+ const visible = ws.gitFiles.slice(gitStart, gitStart + listHeight);
+
+ return (
+ <Box
+ flexDirection="column"
+ borderStyle="round"
+ borderColor={isFocused ? 'cyan' : 'gray'}
+ overflow="hidden"
+ height={panelHeight}
+ >
+ <Box paddingX={1}>
+ <Text bold={isFocused} color={isFocused ? 'cyan' : 'gray'}>GIT</Text>
+ <Spacer />
+ <Text color="magenta">{ws.branch}</Text>
+ </Box>
+ <Box paddingX={1}>
+ <Text color="green">● {ws.stagedCount} staged</Text>
+ <Text color="gray"> · </Text>
+ <Text color="yellow">○ {ws.unstagedCount} unstaged</Text>
+ </Box>
+ {visible.length === 0 ? (
+ <Box paddingX={1}><Text dimColor>Clean working tree</Text></Box>
+ ) : (
+ visible.map((f, localIdx) => {
+ const idx = gitStart + localIdx;
+ const isSelected = idx === gitCursor;
+ return (
+ <Box key={f.path} paddingX={1}>
+ <Text
+ inverse={isSelected && isFocused}
+ color={isSelected ? 'white' : f.staged ? 'green' : 'yellow'}
+ wrap="truncate-end"
+ >
+ {isSelected ? '›' : ' '} {f.staged ? '●' : '○'} {f.status} {f.path}
+ </Text>
+ </Box>
+ );
+ })
+ )}
+ {visible.length < listHeight && Array.from({ length: listHeight - visible.length }, (_, i) => (
+ <Box key={`gpad-${i}`}><Text> </Text></Box>
+ ))}
+ <Box paddingX={1}>
+ <Text dimColor>{isFocused ? 'Enter stage/unstage · /ws commit <msg>' : 'Tab to focus'}</Text>
+ </Box>
+ </Box>
+ );
+}
+
+function AgentOutputPanel({
+ state,
+ panelHeight,
+ isFocused,
+ scrollOffset,
+}: {
+ state: TuiState;
+ panelHeight: number;
+ isFocused: boolean;
+ scrollOffset: number;
+}) {
+ const viewLines = Math.max(1, panelHeight - 4); // header + thinking + footer + border
+
+ // Build a flat array of rendered lines from messages
+ const allLines: Array<{ key: string; node: React.ReactNode }> = [];
+
+ for (const msg of state.chatMessages) {
+ const roleColor = msg.role === 'user' ? 'yellow' : msg.role === 'system' ? 'gray' : 'cyan';
+ const prefix = msg.role === 'user' ? 'You' : msg.role === 'system' ? 'Sys' : state.agentName;
+ const contentLines = msg.content.split('\n');
+
+ // First line with role prefix
+ allLines.push({
+ key: `${msg.id}-0`,
+ node: (
+ <Box>
+ <Text color={roleColor} bold>{prefix}: </Text>
+ <Text wrap="truncate-end">{contentLines[0] || ''}</Text>
+ </Box>
+ ),
+ });
+
+ // Remaining lines indented
+ for (let i = 1; i < contentLines.length; i++) {
+ allLines.push({
+ key: `${msg.id}-${i}`,
+ node: (
+ <Box>
+ <Text> </Text>
+ <Text wrap="truncate-end" dimColor={msg.role === 'system'}>{contentLines[i]}</Text>
+ </Box>
+ ),
+ });
+ }
+
+ // Separator between messages
+ allLines.push({
+ key: `${msg.id}-sep`,
+ node: <Text dimColor>{'─'.repeat(3)}</Text>,
+ });
+ }
+
+ // Auto-scroll to bottom if no manual offset, or use scrollOffset
+ const totalLines = allLines.length;
+ const effectiveOffset = scrollOffset === 0
+ ? Math.max(0, totalLines - viewLines) // auto-scroll to bottom
+ : Math.max(0, Math.min(scrollOffset, totalLines - viewLines));
+
+ const visibleLines = allLines.slice(effectiveOffset, effectiveOffset + viewLines);
+ const hiddenAbove = effectiveOffset;
+ const hiddenBelow = Math.max(0, totalLines - effectiveOffset - viewLines);
+
+ return (
+ <Box
+ flexDirection="column"
+ borderStyle="round"
+ borderColor={isFocused ? 'cyan' : 'gray'}
+ overflow="hidden"
+ height={panelHeight}
+ >
+ <Box paddingX={1}>
+ <Text bold={isFocused} color={isFocused ? 'cyan' : 'gray'}>AGENT OUTPUT</Text>
+ <Spacer />
+ <Text dimColor>{state.chatMessages.length} msg{state.chatMessages.length !== 1 ? 's' : ''}</Text>
+ </Box>
+ {hiddenAbove > 0 && (
+ <Box paddingX={1}><Text dimColor>↑ {hiddenAbove} line{hiddenAbove !== 1 ? 's' : ''} above</Text></Box>
+ )}
+ {visibleLines.length === 0 ? (
+ <Box flexDirection="column" flexGrow={1} alignItems="center" justifyContent="center">
+ <Text dimColor>No messages yet.</Text>
+ <Text dimColor>Type below to chat.</Text>
+ </Box>
+ ) : (
+ visibleLines.map((line) => (
+ <Box key={line.key} paddingX={1}>{line.node}</Box>
+ ))
+ )}
+ {/* Fill remaining space */}
+ {visibleLines.length > 0 && visibleLines.length < viewLines - (hiddenAbove > 0 ? 1 : 0) && (
+ Array.from({ length: viewLines - visibleLines.length - (hiddenAbove > 0 ? 1 : 0) }, (_, i) => (
+ <Box key={`apad-${i}`}><Text> </Text></Box>
+ ))
+ )}
+ {state.isThinking && (
+ <Box paddingX={1}>
+ <Text color="cyan">⠋ </Text>
+ <Text color="cyan" bold>{state.agentName}</Text>
+ <Text dimColor> · </Text>
+ <Text wrap="truncate-end">{(() => {
+ const running = [...state.toolSteps].reverse().find((s) => s.status === 'running');
+ return running ? running.label : 'Thinking...';
+ })()}</Text>
+ </Box>
+ )}
+ <Box paddingX={1}>
+ <Text dimColor>{isFocused ? '↑↓ scroll · Ctrl+G git · Esc back' : 'Ctrl+J focus'}</Text>
+ </Box>
+ </Box>
+ );
+}
+
function WorkspaceBody({ state, workspacePane, detailCursor, gitCursor }: { state: TuiState; workspacePane: 'files' | 'details' | 'git'; detailCursor: number; gitCursor: number }) {
const ws = state.workspace;
+ const { rows, cols } = useTerminalSize();
+
if (!ws?.active) {
return (
<Box flexDirection="column" flexGrow={1} paddingX={1}>
@@ -773,103 +1233,70 @@ function WorkspaceBody({ state, workspacePane, detailCursor, gitCursor }: { stat
);
}
- const selectedNode = ws.nodes[ws.selectedIndex];
- const selectedRel = selectedNode ? selectedNode.path.replace(ws.rootPath + '/', '') : '';
- const explorerWindow = 12;
- const explorerStart = Math.max(0, Math.min(ws.selectedIndex - Math.floor(explorerWindow / 2), Math.max(0, ws.nodes.length - explorerWindow)));
- const visibleExplorerNodes = ws.nodes.slice(explorerStart, explorerStart + explorerWindow);
- const gitWindow = 12;
- const gitStart = Math.max(0, Math.min(gitCursor - Math.floor(gitWindow / 2), Math.max(0, ws.gitFiles.length - gitWindow)));
- const visibleGitFiles = ws.gitFiles.slice(gitStart, gitStart + gitWindow);
+ const focusArea = ws.focusArea;
+ const rightPanel = ws.rightPanel;
+
+ // Layout math: rows budget
+ // statusBar(2) + tabBar(1) + inputBox(3) = 6 fixed rows
+ const fixedOverhead = 6;
+ const idePanelHeight = Math.max(8, rows - fixedOverhead);
+
+ // Column widths — 3 columns: explorer | code | right panel (chat or git)
+ let explorerWidth: number;
+ let rightWidth: number;
+
+ if (cols >= 140) {
+ explorerWidth = Math.floor(cols * 0.18);
+ rightWidth = Math.floor(cols * 0.28);
+ } else if (cols >= 120) {
+ explorerWidth = Math.floor(cols * 0.18);
+ rightWidth = Math.floor(cols * 0.26);
+ } else if (cols >= 100) {
+ explorerWidth = Math.floor(cols * 0.22);
+ rightWidth = Math.floor(cols * 0.28);
+ } else {
+ // Narrow: explorer + code only, no right panel
+ explorerWidth = Math.floor(cols * 0.30);
+ rightWidth = 0;
+ }
return (
<Box flexDirection="column" flexGrow={1}>
- <Box paddingX={1}>
- <Text color="gray">Workspace: </Text><Text color="cyan">{ws.rootPath}</Text>
- <Text color="gray"> | Branch: </Text><Text color="magenta">{ws.branch}</Text>
- <Text color="gray"> | Pane: </Text><Text color="white">{workspacePane.toUpperCase()}</Text>
- <Text color="gray"> | </Text><Text color="green" bold>CODING IDE</Text>
- </Box>
- <Box paddingX={1}><Text color="gray">{'═'.repeat(118)}</Text></Box>
- <Box flexDirection="row" height={16}>
- <Box flexDirection="column" width={36} paddingX={1}>
- <Text bold color={workspacePane === 'files' ? 'white' : 'cyan'}>EXPLORER {workspacePane === 'files' ? '●' : '○'}</Text>
- <Text color="gray">{'─'.repeat(34)}</Text>
- {visibleExplorerNodes.map((node, localIdx) => {
- const idx = explorerStart + localIdx;
- const isSelected = idx === ws.selectedIndex;
- const prefix = node.isDir ? (node.expanded ? '▾' : '▸') : ' ';
- const indent = ' '.repeat(Math.max(0, node.depth * 2));
- return (
- <Text key={node.id} color={isSelected ? 'white' : 'gray'}>
- {isSelected ? '›' : ' '} {indent}{prefix} {node.name}
- </Text>
- );
- })}
- <Text dimColor>{ws.nodes.length > explorerWindow ? `Showing ${explorerStart + 1}-${Math.min(ws.nodes.length, explorerStart + explorerWindow)} of ${ws.nodes.length}` : `${ws.nodes.length} items`}</Text>
- </Box>
- <Box><Text color="gray">│</Text></Box>
- <Box flexDirection="column" width={52} paddingX={1}>
- {workspacePane === 'files' ? (
- <>
- <Text bold color="cyan">PREVIEW</Text>
- <Text color="gray">{'─'.repeat(50)}</Text>
- <Text>{selectedRel || ws.rootPath}</Text>
- {ws.openedFilePath ? (
- ws.openedFilePreview.slice(0, 10).map((line, i) => (
- <Text key={`${i}:${line.slice(0, 10)}`} dimColor>{String(i + 1).padStart(3, ' ')} {line}</Text>
- ))
- ) : (
- <Text dimColor>Select a file and press Enter</Text>
- )}
- </>
- ) : workspacePane === 'git' ? (
- <>
- <Text bold color="cyan">GIT INSPECTOR</Text>
- <Text color="gray">{'─'.repeat(50)}</Text>
- <Text>Staged: <Text color="green">{ws.stagedCount}</Text> · Unstaged: <Text color="yellow">{ws.unstagedCount}</Text></Text>
- {visibleGitFiles.length === 0 ? <Text dimColor>Clean working tree</Text> : visibleGitFiles.map((f, localIdx) => {
- const idx = gitStart + localIdx;
- return <Text key={f.path} color={idx === gitCursor ? 'white' : (f.staged ? 'green' : 'yellow')}>{idx === gitCursor ? '›' : ' '} {f.staged ? '●' : '○'} {f.status} {f.path}</Text>;
- })}
- <Text dimColor>{ws.gitFiles.length > gitWindow ? `Showing ${gitStart + 1}-${Math.min(ws.gitFiles.length, gitStart + gitWindow)} of ${ws.gitFiles.length}` : `${ws.gitFiles.length} files`}</Text>
- </>
- ) : (
- <>
- <Text bold color="cyan">DETAILS</Text>
- <Text color="gray">{'─'.repeat(50)}</Text>
- <Text>Selected: <Text color="yellow">{selectedRel || ws.rootPath}</Text></Text>
- <Text>Mode: <Text color={state.programmingMode === 'execute' ? 'green' : 'yellow'}>{state.programmingMode.toUpperCase()}</Text></Text>
- {state.subAgents.length > 0 && <AgentPanelView agents={state.subAgents} />}
- </>
- )}
+ <WorkspaceTabBar ws={ws} focusArea={focusArea} cols={cols} />
+ <Box flexDirection="row">
+ <Box width={explorerWidth}>
+ <ExplorerPanel
+ ws={ws}
+ panelHeight={idePanelHeight}
+ isFocused={focusArea === 'explorer'}
+ />
</Box>
- <Box><Text color="gray">│</Text></Box>
- <Box flexDirection="column" flexGrow={1} paddingX={1}>
- <Text bold color={workspacePane === 'git' ? 'white' : 'cyan'}>SOURCE CONTROL {workspacePane === 'git' ? '●' : '○'}</Text>
- <Text color="gray">{'─'.repeat(26)}</Text>
- <Text>Branch: <Text color="magenta">{ws.branch}</Text></Text>
- <Text>Staged: <Text color="green">{ws.stagedCount}</Text></Text>
- <Text>Unstaged: <Text color="yellow">{ws.unstagedCount}</Text></Text>
- <Text color="gray">{'─'.repeat(26)}</Text>
- {visibleGitFiles.length === 0 ? <Text dimColor>Clean working tree</Text> : visibleGitFiles.map((f, localIdx) => {
- const idx = gitStart + localIdx;
- return <Text key={`side-${f.path}`} color={idx === gitCursor ? 'white' : (f.staged ? 'green' : 'yellow')}>{idx === gitCursor ? '›' : ' '} {f.status} {f.path}</Text>;
- })}
- <Text dimColor>Enter stages selected file</Text>
- <Text dimColor>/ws stage all · /ws commit &lt;msg&gt;</Text>
+ <Box flexGrow={1}>
+ <CodeViewerPanel
+ ws={ws}
+ panelHeight={idePanelHeight}
+ isFocused={focusArea === 'code'}
+ />
</Box>
- </Box>
- <Box paddingX={1}><Text color="gray">{'═'.repeat(118)}</Text></Box>
- <Box flexDirection="column" flexGrow={1} paddingX={1}>
- <Text bold color="cyan">Chat · Workspace Coding Session</Text>
- <Text dimColor>Ask implementation questions, refactors, tests, and git actions for this project context.</Text>
- <ChatMessagesView messages={state.chatMessages} agentName={state.agentName} />
- {state.toolSteps.length > 0 && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
- {state.isThinking && <ThinkingIndicator agentName={state.agentName} steps={state.toolSteps} mode={state.mode} />}
- </Box>
- <Box paddingX={1}>
- <Text dimColor>Esc/Ctrl+Q Exit Workspace · Ctrl+P Plan · Ctrl+X Execute · Ctrl+E Explorer · Ctrl+G Git</Text>
+ {rightWidth > 0 && (
+ <Box width={rightWidth}>
+ {rightPanel === 'chat' ? (
+ <AgentOutputPanel
+ state={state}
+ panelHeight={idePanelHeight}
+ isFocused={focusArea === 'chat'}
+ scrollOffset={ws.chatScrollOffset}
+ />
+ ) : (
+ <GitPanel
+ ws={ws}
+ panelHeight={idePanelHeight}
+ isFocused={focusArea === 'git'}
+ gitCursor={gitCursor}
+ />
+ )}
+ </Box>
+ )}
</Box>
</Box>
);
@@ -948,15 +1375,56 @@ function ChatMessagesView({ messages, agentName }: { messages: ChatMessage[]; ag
if (messages.length === 0) return null;
const visible = messages.slice(-50);
const cache = React.useRef<Map<string, string>>(new Map());
+ const wasStreaming = React.useRef<Set<string>>(new Set());
return (
<Box flexDirection="column" flexGrow={1} paddingX={1}>
{visible.map((msg) => {
- const roleColor = msg.role === 'user' ? 'yellow' : msg.role === 'system' ? 'gray' : 'cyan';
- const prefix = msg.role === 'user' ? 'You' : msg.role === 'system' ? 'System' : agentName;
+ const isCompletion = msg.role === 'system' && msg.content.startsWith('━━━');
+ const roleColor = isCompletion ? 'green' : msg.role === 'user' ? 'yellow' : msg.role === 'system' ? 'gray' : 'cyan';
+ const prefix = msg.role === 'user' ? 'You' : msg.role === 'system' ? '' : agentName;
+ if (isCompletion) {
+ const meta = msg.completionMeta;
+ const formatTokens = (n: number) => n >= 1000 ? `${(n / 1000).toFixed(1)}k` : `${n}`;
+ return (
+ <Box key={msg.id} flexDirection="column" marginBottom={1}>
+ <Text color="green" bold>{msg.content}</Text>
+ {meta && (
+ <Box flexDirection="row" paddingLeft={2}>
+ <Text color="gray">☿ </Text>
+ <Text color="white" bold>{meta.model}</Text>
+ <Text color="gray"> via </Text>
+ <Text color="cyan">{meta.provider}</Text>
+ <Text color="gray"> · </Text>
+ <Text color="yellow">{formatTokens(meta.totalTokens)}</Text>
+ <Text color="gray"> tokens · Budget </Text>
+ {(() => {
+ const pct = Math.round(meta.budgetPercentage);
+ const barLen = 16;
+ const filled = Math.round((pct / 100) * barLen);
+ const barColor = pct >= 90 ? 'red' : pct >= 70 ? 'yellow' : 'green';
+ return (
+ <>
+ <Text color={barColor}>{'█'.repeat(filled)}</Text>
+ <Text color="gray">{'░'.repeat(barLen - filled)}</Text>
+ <Text color={barColor}> {pct}%</Text>
+ </>
+ );
+ })()}
+ </Box>
+ )}
+ </Box>
+ );
+ }
let rendered: string;
if (msg.streaming) {
rendered = renderMarkdown(msg.content);
cache.current.set(msg.id, rendered);
+ wasStreaming.current.add(msg.id);
+ } else if (wasStreaming.current.has(msg.id)) {
+ // Streaming just ended — re-render with final complete content
+ rendered = renderMarkdown(msg.content);
+ cache.current.set(msg.id, rendered);
+ wasStreaming.current.delete(msg.id);
} else {
rendered = cache.current.get(msg.id) ?? renderMarkdown(msg.content);
cache.current.set(msg.id, rendered);
@@ -979,60 +1447,86 @@ function ChatMessagesView({ messages, agentName }: { messages: ChatMessage[]; ag
}
function ToolStepsView({ steps, viewMode }: { steps: ToolStep[]; viewMode: 'balanced' | 'detailed' }) {
- const visible = viewMode === 'detailed' ? steps.slice(-20) : steps.slice(-1);
- const runningCount = visible.filter((s) => s.status === 'running').length;
- const doneCount = visible.filter((s) => s.status === 'done').length;
+ const visible = viewMode === 'detailed' ? steps.slice(-20) : steps.slice(-5);
+ const totalDone = steps.filter((s) => s.status === 'done').length;
+ const totalRunning = steps.filter((s) => s.status === 'running').length;
+ const hiddenCount = Math.max(0, steps.length - visible.length);
return (
<Box flexDirection="column" marginLeft={2} marginTop={1}>
- <Text color="gray">Activity · {viewMode === 'balanced' ? 'minimal' : 'detailed'} · {runningCount > 0 ? `${runningCount} running` : `${doneCount} completed`}</Text>
+ <Box>
+ <Text color="gray">Activity</Text>
+ <Text dimColor> · {totalDone} done{totalRunning > 0 ? `, ${totalRunning} running` : ''}</Text>
+ {hiddenCount > 0 && <Text dimColor> · {hiddenCount} earlier steps hidden</Text>}
+ </Box>
{visible.map((step) => (
<Box key={step.id}>
<Text>
{step.status === 'running' ? '⏳' : step.status === 'done' ? '✅' : '❌'}
</Text>
<Text> </Text>
- <Text dimColor>{step.label}</Text>
+ <Text dimColor={step.status === 'done'} color={step.status === 'running' ? 'cyan' : undefined} bold={step.status === 'running'}>{step.label}</Text>
{step.status === 'running' && <Text color="yellow"> …</Text>}
{step.status === 'done' && step.elapsed != null && <Text dimColor> ({step.elapsed.toFixed(1)}s)</Text>}
{viewMode === 'detailed' && step.result && <Text dimColor> · {step.result}</Text>}
</Box>
))}
- <Text dimColor>Ctrl+V toggles Minimal/Detailed (or use /view)</Text>
+ <Text dimColor>Ctrl+T toggles view · /progress for full history</Text>
</Box>
);
}
function ThinkingIndicator({ agentName, steps, mode }: { agentName: string; steps: ToolStep[]; mode: AppMode }) {
const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
- const codingPhases = ['indexing symbols', 'building plan', 'running checks', 'linking context'];
- const chatPhases = ['reading your message', 'gathering context', 'drafting response', 'polishing answer'];
- const phases = (mode === 'coding' || mode === 'workspace') ? codingPhases : chatPhases;
const [frame, setFrame] = React.useState(0);
+ const [elapsed, setElapsed] = React.useState(0);
+ const startRef = React.useRef(Date.now());
React.useEffect(() => {
+ startRef.current = Date.now();
const timer = setInterval(() => {
- setFrame((v) => (v + 1) % (frames.length * phases.length));
- }, 90);
+ setFrame((v) => (v + 1) % frames.length);
+ setElapsed(Math.floor((Date.now() - startRef.current) / 1000));
+ }, 80);
return () => clearInterval(timer);
}, []);
const spinner = frames[frame % frames.length];
- const phase = phases[Math.floor(frame / frames.length) % phases.length];
- const pulse = '.'.repeat((frame % 3) + 1);
const runningStep = [...steps].reverse().find((s) => s.status === 'running');
- const livePhase = runningStep ? `running: ${runningStep.label}` : phase;
+ const doneSteps = steps.filter((s) => s.status === 'done');
+ const totalSteps = steps.length;
+
+ // Determine current action label
+ const currentAction = runningStep
+ ? runningStep.label
+ : (mode === 'coding' || mode === 'workspace') ? 'Analyzing code' : 'Composing response';
+
+ // Format elapsed time
+ const mins = Math.floor(elapsed / 60);
+ const secs = elapsed % 60;
+ const timeStr = mins > 0 ? `${mins}m ${secs}s` : `${secs}s`;
return (
<Box marginTop={1} marginLeft={2} flexDirection="column">
<Box>
<Text color="cyan">{spinner}</Text>
<Text> </Text>
- <Text color="cyan" bold>{agentName}</Text>
- <Text dimColor> is thinking{pulse}</Text>
+ <Text color="cyan" bold>{totalSteps > 0 ? agentName : 'Processing'}</Text>
+ <Text dimColor>{totalSteps > 0 ? ` · step ${totalSteps} · ${timeStr}` : ` · ${timeStr}`}</Text>
</Box>
- <Box marginLeft={2}>
- <Text color="gray">↳ {livePhase}</Text>
+ <Box marginLeft={4}>
+ <Text color="white" bold>{currentAction}</Text>
</Box>
+ {doneSteps.length > 0 && (
+ <Box flexDirection="column" marginLeft={4} marginTop={0}>
+ {doneSteps.slice(-3).map((step) => (
+ <Box key={step.id}>
+ <Text color="green">✓</Text>
+ <Text dimColor> {step.label}</Text>
+ {step.elapsed != null && <Text dimColor> ({step.elapsed.toFixed(1)}s)</Text>}
+ </Box>
+ ))}
+ </Box>
+ )}
</Box>
);
}
@@ -1128,11 +1622,13 @@ function PermPromptView({ prompt, activeIdx }: { prompt: PermissionPromptState;
function InputBox({
input,
+ cursorPos,
mode,
programmingMode,
projectContext,
}: {
input: string;
+ cursorPos: number;
mode: AppMode;
programmingMode: ProgrammingModeState;
projectContext: string | null;
@@ -1145,6 +1641,20 @@ function InputBox({
? `...${projectContext.slice(-49)}`
: (projectContext || 'No project context');
+ // Split input into lines and figure out which line/col the cursor is on
+ const lines = input.split('\n');
+ let cursorLine = 0;
+ let cursorCol = cursorPos;
+ let consumed = 0;
+ for (let i = 0; i < lines.length; i++) {
+ if (consumed + lines[i].length >= cursorPos && i < lines.length - 1 ? consumed + lines[i].length + 1 > cursorPos : true) {
+ cursorLine = i;
+ cursorCol = cursorPos - consumed;
+ break;
+ }
+ consumed += lines[i].length + 1; // +1 for \n
+ }
+
return (
<Box flexDirection="column">
<Text color="dim">{'─'.repeat(60)}</Text>
@@ -1155,13 +1665,24 @@ function InputBox({
mode={programmingMode.toUpperCase()}
</Text>
</Box>
- <Box paddingX={1}>
- <Text color={promptColor} bold>{'>'} </Text>
- <Text>{input}</Text>
- <Text dimColor>█</Text>
+ <Box paddingX={1} flexDirection="column">
+ {lines.map((line, i) => (
+ <Box key={i}>
+ <Text color={promptColor} bold>{i === 0 ? '> ' : ' '}</Text>
+ {i === cursorLine ? (
+ <>
+ <Text>{line.slice(0, cursorCol)}</Text>
+ <Text inverse>{cursorCol < line.length ? line[cursorCol] : ' '}</Text>
+ <Text>{cursorCol < line.length ? line.slice(cursorCol + 1) : ''}</Text>
+ </>
+ ) : (
+ <Text>{line}</Text>
+ )}
+ </Box>
+ ))}
</Box>
<Box paddingX={1}>
- <Text dimColor>{inWorkspace ? 'IDE chat active. Esc exits workspace. Ctrl+P Plan · Ctrl+X Execute.' : inCoding ? 'Coding chat active. Ctrl+P Plan · Ctrl+X Execute.' : 'Type a prompt, then Enter.'}</Text>
+ <Text dimColor>{inWorkspace ? 'Tab switch panels · Ctrl+J chat · Ctrl+P Plan · Ctrl+X Execute · Esc back/exit' : inCoding ? 'Coding chat active. Ctrl+P Plan · Ctrl+X Execute.' : 'Enter send · Ctrl+N newline'}</Text>
</Box>
</Box>
);
diff --git a/src/ui/index.ts b/src/ui/index.ts
index 37e4e322..da64cdaa 100644
--- a/src/ui/index.ts
+++ b/src/ui/index.ts
@@ -1,2 +1,2 @@
export { TuiApp } from './App.js';
-export type { MercuryAppState, AppMode, ChatMessage, ToolStep, SubAgentInfo, SkillInfo, PermissionPromptState, SidebarSection, SidebarItem, ProviderInfo, TokenInfo } from './types.js';
\ No newline at end of file
+export type { MercuryAppState, AppMode, ChatMessage, CompletionMeta, ToolStep, SubAgentInfo, SkillInfo, PermissionPromptState, SidebarSection, SidebarItem, ProviderInfo, TokenInfo } from './types.js';
\ No newline at end of file
diff --git a/src/ui/types.ts b/src/ui/types.ts
index 6d178fb4..ae002422 100644
--- a/src/ui/types.ts
+++ b/src/ui/types.ts
@@ -32,6 +32,22 @@ export interface WorkspaceState {
unstagedCount: number;
branch: string;
lastAction: string;
+ codeScrollOffset: number;
+ focusArea: 'explorer' | 'code' | 'git' | 'chat';
+ chatCollapsed: boolean;
+ chatScrollOffset: number;
+ rightPanel: 'chat' | 'git';
+}
+
+export interface CompletionMeta {
+ provider: string;
+ model: string;
+ inputTokens: number;
+ outputTokens: number;
+ totalTokens: number;
+ budgetUsed: number; // daily tokens used so far
+ budgetTotal: number; // daily budget limit
+ budgetPercentage: number; // 0-100
}
export interface ChatMessage {
@@ -40,6 +56,7 @@ export interface ChatMessage {
content: string;
timestamp: number;
streaming?: boolean;
+ completionMeta?: CompletionMeta;
}
export interface ToolStep {
diff --git a/src/utils/config.ts b/src/utils/config.ts
index 7fdb9d9c..34a935d3 100644
--- a/src/utils/config.ts
+++ b/src/utils/config.ts
@@ -55,7 +55,9 @@ export type ProviderName =
| 'ollamaLocal'
| 'openaiCompat'
| 'mimo'
- | 'mimoTokenPlan';
+ | 'mimoTokenPlan'
+ | 'chatgptWeb'
+ | 'githubCopilot';
export interface MercuryConfig {
identity: {
@@ -74,6 +76,8 @@ export interface MercuryConfig {
openaiCompat: ProviderConfig;
mimo: ProviderConfig;
mimoTokenPlan: ProviderConfig;
+ chatgptWeb: ProviderConfig;
+ githubCopilot: ProviderConfig;
};
channels: {
telegram: {
@@ -219,6 +223,20 @@ export function getDefaultConfig(): MercuryConfig {
model: getEnv('MIMO_TOKEN_PLAN_MODEL', 'mimo-v2.5-pro'),
enabled: getEnvBool('MIMO_TOKEN_PLAN_ENABLED', false),
},
+ chatgptWeb: {
+ name: 'chatgptWeb',
+ apiKey: '', // not used — auth is via OAuth
+ baseUrl: 'https://chatgpt.com/backend-api',
+ model: getEnv('CHATGPT_WEB_MODEL', 'gpt-5.4-mini'),
+ enabled: getEnvBool('CHATGPT_WEB_ENABLED', false),
+ },
+ githubCopilot: {
+ name: 'githubCopilot',
+ apiKey: '', // not used — auth is via GitHub OAuth
+ baseUrl: '', // dynamic — resolved from Copilot token exchange
+ model: getEnv('GITHUB_COPILOT_MODEL', 'gpt-4o'),
+ enabled: getEnvBool('GITHUB_COPILOT_ENABLED', false),
+ },
},
channels: {
telegram: {
@@ -350,6 +368,17 @@ export function isProviderConfigured(provider: ProviderConfig): boolean {
if (provider.name === 'openaiCompat') {
return provider.baseUrl.length > 0 && provider.model.length > 0;
}
+ if (provider.name === 'chatgptWeb') {
+ // ChatGPT Web uses browser session auth, not API keys.
+ // Considered "configured" if enabled with a model selected.
+ // Actual session validity is checked at runtime via isAvailable().
+ return provider.model.length > 0;
+ }
+ if (provider.name === 'githubCopilot') {
+ // GitHub Copilot uses GitHub OAuth, not API keys.
+ // Considered "configured" if enabled with a model selected.
+ return provider.model.length > 0;
+ }
return provider.apiKey.length > 0;
}
diff --git a/src/utils/manual.ts b/src/utils/manual.ts
index edf547a4..150b3220 100644
--- a/src/utils/manual.ts
+++ b/src/utils/manual.ts
@@ -108,6 +108,7 @@ export function getManual(): string {
['/menu', 'Open the CLI command picker with arrow-key navigation'],
['/help', 'Show this manual'],
['/status', 'Show config and budget info'],
+ ['/progress', 'Show live status for the current long task'],
['/telegram', 'CLI chat only: open the Telegram management menu'],
['/telegram pending', 'CLI chat only: list pending Telegram requests'],
['/telegram users', 'CLI chat only: list approved Telegram users'],
@@ -237,3 +238,80 @@ export function getManual(): string {
return sections.join('\n');
}
+
+/**
+ * Telegram-specific help text — no chalk, no CLI-only commands.
+ * Only shows commands that work on Telegram.
+ */
+export function getTelegramHelp(): string {
+ const lines: string[] = [];
+
+ lines.push('☿ **Mercury — Telegram Commands**');
+ lines.push('');
+
+ lines.push('**General**');
+ lines.push('/help — Show this command list');
+ lines.push('/status — Config, budget, and uptime');
+ lines.push('/progress — Live status for the current task');
+ lines.push('/permissions — Switch Ask Me / Allow All mode');
+ lines.push('/models — List providers or switch AI model');
+ lines.push('/stream — Toggle text streaming on/off');
+ lines.push('');
+
+ lines.push('**Budget**');
+ lines.push('/budget — Show token budget status');
+ lines.push('/budget override — Allow one request past budget');
+ lines.push('/budget reset — Reset usage to zero');
+ lines.push('/budget set <n> — Set daily token budget');
+ lines.push('');
+
+ lines.push('**Programming Mode**');
+ lines.push('/code — Show current mode');
+ lines.push('/code plan — Analyze and present options (no coding)');
+ lines.push('/code execute — Implement step by step');
+ lines.push('/code off — Exit programming mode');
+ lines.push('/code toggle — Cycle: off → plan → execute → off');
+ lines.push('/code agent <task> — Delegate coding to a sub-agent');
+ lines.push('');
+
+ lines.push('**Sub-Agents**');
+ lines.push('/agents — List all sub-agents');
+ lines.push('/agents stop <id|all> — Stop a sub-agent');
+ lines.push('/agents pause <id> — Pause a sub-agent');
+ lines.push('/agents resume <id> — Resume a sub-agent');
+ lines.push('/halt — Emergency: stop all agents + clear queue');
+ lines.push('/stop — Stop all + release locks + clear task board');
+ lines.push('/reset — Full reset (stop all + clear context)');
+ lines.push('');
+
+ lines.push('**Background Tasks**');
+ lines.push('/bg <command> — Run a shell command in background');
+ lines.push('/bg: <task> — Delegate an LLM task to background');
+ lines.push('/bg current — Move active task to background');
+ lines.push('/bg list — Show all background tasks');
+ lines.push('/bg <id> — Show task details');
+ lines.push('/bg stop <id> — Stop a background task');
+ lines.push('/bg killall — Stop all background tasks');
+ lines.push('/bg clear — Remove completed tasks');
+ lines.push('');
+
+ lines.push('**Memory**');
+ lines.push('/memory — View and manage second brain');
+ lines.push('');
+
+ lines.push('**Spotify**');
+ lines.push('/spotify — Connection status');
+ lines.push('/spotify auth — Connect Spotify');
+ lines.push('/spotify code <code> — Complete auth with pasted code');
+ lines.push('/spotify devices — List playback devices');
+ lines.push('/spotify device <id> — Set active device');
+ lines.push('/spotify now — Show currently playing');
+ lines.push('/spotify logout — Disconnect Spotify');
+ lines.push('');
+
+ lines.push('**Access**');
+ lines.push('/start — Request access to this Mercury instance');
+ lines.push('/unpair — Reset all Telegram access (admin only)');
+
+ return lines.join('\n');
+}
diff --git a/src/utils/provider-models.ts b/src/utils/provider-models.ts
index 8a4df084..3a50d38f 100644
--- a/src/utils/provider-models.ts
+++ b/src/utils/provider-models.ts
@@ -1,4 +1,6 @@
import type { ProviderConfig, ProviderName } from './config.js';
+import { fetchChatGPTModels } from '../auth/chatgpt-models.js';
+import { fetchGitHubModels } from '../auth/github-models.js';
export interface ProviderModelCatalog {
models: string[];
@@ -71,6 +73,25 @@ const MIMO_TOKEN_PLAN_PREFERRED_MODELS = MIMO_PREFERRED_MODELS;
const OPENAI_COMPAT_PREFERRED_MODELS = [] as const;
+const CHATGPT_WEB_PREFERRED_MODELS = [
+ 'gpt-5.5',
+ 'gpt-5.4',
+ 'gpt-5.4-mini',
+ 'gpt-5.3-codex',
+ 'gpt-5.2',
+] as const;
+
+const GITHUB_COPILOT_PREFERRED_MODELS = [
+ 'claude-sonnet-4.6',
+ 'gpt-4o',
+ 'gpt-5.4',
+ 'claude-opus-4.6',
+ 'claude-opus-4.7',
+ 'gpt-4.1',
+ 'gpt-4o-mini',
+ 'gemini-3.1-pro-preview',
+] as const;
+
export class ProviderModelFetchError extends Error {
constructor(message: string) {
super(message);
@@ -177,6 +198,8 @@ function chooseRecommendedModel(
openaiCompat: OPENAI_COMPAT_PREFERRED_MODELS,
mimo: MIMO_PREFERRED_MODELS,
mimoTokenPlan: MIMO_TOKEN_PLAN_PREFERRED_MODELS,
+ chatgptWeb: CHATGPT_WEB_PREFERRED_MODELS,
+ githubCopilot: GITHUB_COPILOT_PREFERRED_MODELS,
};
for (const candidate of preferredByProvider[provider]) {
@@ -213,6 +236,8 @@ export function buildModelCatalog(
openaiCompat: OPENAI_COMPAT_PREFERRED_MODELS,
mimo: MIMO_PREFERRED_MODELS,
mimoTokenPlan: MIMO_TOKEN_PLAN_PREFERRED_MODELS,
+ chatgptWeb: CHATGPT_WEB_PREFERRED_MODELS,
+ githubCopilot: GITHUB_COPILOT_PREFERRED_MODELS,
};
const withoutRecommended = filtered.filter((model) => model !== recommendedModel);
@@ -406,5 +431,28 @@ export async function fetchProviderModelCatalog(
return fetchMiMoTokenPlanModels(config);
}
+ if (provider === 'chatgptWeb') {
+ // chatgptWeb uses OAuth session token, not apiKey
+ const { getValidChatGPTSession } = await import('../auth/chatgpt-session.js');
+ const session = await getValidChatGPTSession();
+ if (!session?.accessToken || !session?.accountId) {
+ throw new ProviderModelFetchError(
+ 'ChatGPT Web is not authenticated. Run `mercury doctor` to set up OAuth.',
+ );
+ }
+ return fetchChatGPTModels(session.accessToken, session.accountId);
+ }
+
+ if (provider === 'githubCopilot') {
+ const { loadGitHubSession } = await import('../auth/github-session.js');
+ const session = loadGitHubSession();
+ if (!session?.accessToken) {
+ throw new ProviderModelFetchError(
+ 'GitHub Copilot is not authenticated. Run `mercury doctor` to set up OAuth.',
+ );
+ }
+ return fetchGitHubModels(session.accessToken);
+ }
+
return fetchOpenAICompatModels(provider, config);
}
diff --git a/src/utils/tool-label.ts b/src/utils/tool-label.ts
index 0c330419..a9410ba8 100644
--- a/src/utils/tool-label.ts
+++ b/src/utils/tool-label.ts
@@ -125,4 +125,116 @@ export function formatToolResult(toolName: string, result: unknown): string {
function trimFirst(s: string): string {
const first = s.split('\n')[0];
return first.length > 80 ? first.slice(0, 77) + '…' : first;
+}
+
+// ── Narrative formatting ────────────────────────────────────────────
+
+/** A single recorded step for narrative building. */
+export interface NarrativeStep {
+ /** Raw tool name (e.g. "read_file") */
+ tool: string;
+ /** Human label produced by formatToolStep */
+ label: string;
+}
+
+/**
+ * Collapse consecutive runs of the same tool into grouped summaries.
+ *
+ * e.g. 3× read_file → "📄 Read 3 files"
+ * 2× edit_file on same file → "✂️ Edited Button.tsx (2 changes)"
+ * 2× run_command → kept separate (commands are distinct)
+ */
+function collapseSteps(steps: NarrativeStep[]): string[] {
+ if (steps.length === 0) return [];
+
+ // Tools where consecutive calls should be collapsed
+ const COLLAPSIBLE: Record<string, { verb: string; noun: string }> = {
+ read_file: { verb: 'Read', noun: 'file' },
+ write_file: { verb: 'Wrote', noun: 'file' },
+ create_file: { verb: 'Created', noun: 'file' },
+ edit_file: { verb: 'Edited', noun: 'file' },
+ delete_file: { verb: 'Deleted', noun: 'file' },
+ list_dir: { verb: 'Listed', noun: 'directory' },
+ fetch_url: { verb: 'Fetched', noun: 'URL' },
+ };
+
+ const result: string[] = [];
+ let i = 0;
+
+ while (i < steps.length) {
+ const current = steps[i];
+ const collapsible = COLLAPSIBLE[current.tool];
+
+ if (!collapsible) {
+ // Non-collapsible: keep as-is
+ result.push(current.label);
+ i++;
+ continue;
+ }
+
+ // Count consecutive same-tool calls
+ let runEnd = i + 1;
+ while (runEnd < steps.length && steps[runEnd].tool === current.tool) {
+ runEnd++;
+ }
+ const runLen = runEnd - i;
+
+ if (runLen === 1) {
+ result.push(current.label);
+ } else if (runLen <= 3 && current.tool === 'edit_file') {
+ // For edits, check if same file — extract filename from label
+ const files = new Set(steps.slice(i, runEnd).map(s => {
+ const parts = s.label.split(' ');
+ return parts[parts.length - 1] || '';
+ }));
+ if (files.size === 1) {
+ const fileName = [...files][0];
+ result.push(`✂️ Edited ${fileName} (${runLen} changes)`);
+ } else {
+ result.push(`✂️ Edited ${runLen} files`);
+ }
+ } else {
+ const icon = TOOL_LABELS[current.tool]?.icon || '•';
+ const plural = runLen > 1 ? `${collapsible.noun}s` : collapsible.noun;
+ result.push(`${icon} ${collapsible.verb} ${runLen} ${plural}`);
+ }
+
+ i = runEnd;
+ }
+
+ return result;
+}
+
+/**
+ * Format a progress narrative from accumulated steps.
+ *
+ * @param steps All completed steps so far
+ * @param current Current activity string (or empty)
+ * @param maxVisible Max completed steps to show (rest collapsed as "... and N earlier steps")
+ * @returns Formatted multi-line narrative string
+ */
+export function formatNarrative(
+ steps: NarrativeStep[],
+ current: string,
+ maxVisible: number,
+): string {
+ const collapsed = collapseSteps(steps);
+ const lines: string[] = [];
+
+ const hiddenCount = Math.max(0, collapsed.length - maxVisible);
+ const visible = hiddenCount > 0 ? collapsed.slice(hiddenCount) : collapsed;
+
+ if (hiddenCount > 0) {
+ lines.push(` ... and ${hiddenCount} earlier step${hiddenCount === 1 ? '' : 's'}`);
+ }
+
+ for (const step of visible) {
+ lines.push(` ✓ ${step}`);
+ }
+
+ if (current) {
+ lines.push(` → ${current}`);
+ }
+
+ return lines.join('\n');
}
\ No newline at end of file
diff --git a/website/docs/cli-commands/in-chat-commands.mdx b/website/docs/cli-commands/in-chat-commands.mdx
index f394df3e..126920ed 100644
--- a/website/docs/cli-commands/in-chat-commands.mdx
+++ b/website/docs/cli-commands/in-chat-commands.mdx
@@ -5,48 +5,178 @@ title: In-Chat Commands
Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They **do not consume API tokens**.
+## General
+
| Command | Description |
|---------|-------------|
-| `/help` | Show the full manual |
+| `/help` | Show the full manual (Telegram gets a Telegram-specific version) |
| `/status` | Show agent name, provider, budget, and channels |
-| `/` or `/menu` | CLI only: open the arrow-key command picker with Back and Exit options |
-| `/telegram` | CLI only: open Telegram management with pending requests, approvals, roles, and reset actions |
-| `/telegram pending` | CLI only: list pending Telegram access requests |
-| `/telegram users` | CLI only: list approved Telegram admins and members |
-| `/telegram approve <code\|id>` | CLI only: approve the first pairing code or a later Telegram access request |
-| `/telegram reject <id>` | CLI only: reject a pending Telegram access request |
-| `/telegram remove <id>` | CLI only: revoke an approved Telegram user |
-| `/telegram promote <id>` | CLI only: promote a Telegram member to admin |
-| `/telegram demote <id>` | CLI only: demote a Telegram admin to member |
-| `/telegram reset` | CLI only: clear all Telegram access and restart pairing from scratch |
+| `/progress` | Show live status for the current long-running task |
+| `/` or `/menu` | CLI only: open the arrow-key command picker |
+| `/permissions` | Change permission mode (Ask Me / Allow All) |
+| `/models` | List configured models/providers for this session |
+| `/models use <provider>` | Switch the current session model/provider |
| `/tools` | List all currently loaded tools |
| `/skills` | List installed skills |
+| `/memory` | View and manage second brain memory |
+| `/tasks` | List scheduled tasks |
| `/stream` | Toggle Telegram text streaming (on/off) |
+| `/stream on` | Enable streaming (live text updates) |
| `/stream off` | Disable streaming — responses arrive as single message |
+
+## Budget
+
+| Command | Description |
+|---------|-------------|
| `/budget` | Show token budget status |
| `/budget override` | Override budget for one request |
| `/budget reset` | Reset usage to zero |
| `/budget set <n>` | Change daily token budget |
-| `/permissions` | Change permission mode (Ask Me / Allow All) — Telegram only |
-| `/models` | List configured models/providers and switch active model for this session |
-| `/models use <provider>` | Switch the current session model/provider |
-| `/models doctor` | Show how to add/configure models via `mercury doctor` |
-| `/view` | Toggle progress view (balanced/detailed) |
-| `/view balanced` | Set compact progress view |
-| `/view detailed` | Set full progress view |
+
+## Programming Mode
+
+| Command | Description |
+|---------|-------------|
+| `/code` | Show current programming mode |
+| `/code plan` | Switch to plan mode (analyze and present options, no coding) |
+| `/code execute` | Switch to execute mode (implement step by step) |
+| `/code build` | Alias for execute mode |
+| `/code off` | Exit programming mode |
+| `/code toggle` | Cycle through: off → plan → execute → off |
| `/code agent <task>` | Delegate a coding task to a sub-agent in the background |
+| `/code workspace` | CLI only: open current directory in workspace IDE mode |
+
+## Workspace IDE (CLI Only)
+
+| Command | Description |
+|---------|-------------|
+| `/ws` | Show workspace commands |
+| `/ws open <path>` | Open a directory in workspace IDE mode |
| `/ws exit` | Exit workspace IDE mode back to general chat |
+| `/ws refresh` | Refresh file tree and git status panel |
+| `/ws stage <file\|all>` | Stage a file or all changes |
+| `/ws commit <message>` | Commit staged changes |
+| `/ws undo <file>` | Revert file changes with `git checkout` |
+| `/ws help` | Show workspace command list |
+
+## Sub-Agents
+
+| Command | Description |
+|---------|-------------|
+| `/agents` | List all sub-agents and their status |
+| `/agents stop <id\|all>` | Stop a sub-agent or all sub-agents |
+| `/agents pause <id>` | Pause a running sub-agent |
+| `/agents resume <id>` | Resume a paused sub-agent |
+| `/agents config` | Show sub-agent resource allocation |
+| `/agents set max <n>` | Set max concurrent sub-agents |
+
+## Background Tasks
+
+| Command | Description |
+|---------|-------------|
| `/bg <command>` | Run a shell command in the background |
| `/bg: <task>` | Run a natural-language sub-agent task in background |
| `/bg current` | Move the current in-flight task to background |
| `/bg list` | Show background tasks |
| `/bg <id>` | Show details/output for one background task |
| `/bg cancel <id>` | Cancel a running background task |
+| `/bg stop <id>` | Alias for `/bg cancel` |
+| `/bg killall` | Cancel all running background tasks |
| `/bg clear` | Prune completed background tasks |
-| `/tasks` | List scheduled tasks |
-| `/memory` | View and manage second brain memory |
-| `/unpair` | Telegram only: reset all access, new users can /start again |
-:::info Telegram pairing and access
+## Spotify
+
+| Command | Description |
+|---------|-------------|
+| `/spotify` | Show Spotify connection status |
+| `/spotify auth` | Connect Spotify (browser or manual code flow) |
+| `/spotify code <code>` | Complete auth with a pasted authorization code |
+| `/spotify player` | CLI only: interactive music player with arrow-key controls |
+| `/spotify devices` | List available Spotify devices |
+| `/spotify device <id>` | Set active Spotify device |
+| `/spotify now` | Show what is currently playing |
+| `/spotify logout` | Disconnect Spotify and clear saved tokens |
+
+## Emergency Controls
+
+| Command | Description |
+|---------|-------------|
+| `/halt` | Emergency: stop all agents and clear the task queue |
+| `/stop` | Stop all agents, clear queue, release file locks, clear task board |
+| `/reset` | Full reset: stop all + clear conversation context (requires confirmation) |
+
+:::tip[Fast-path commands]
+
+`/agents`, `/halt`, `/stop`, `/progress`, `/spotify`, `/code`, `/memory`, and `/bg` all work **even while Mercury is busy processing a task**. They're processed immediately without waiting for the current task to finish.
+
+:::
+
+## Progress View (CLI Only)
+
+| Command | Description |
+|---------|-------------|
+| `/view` | Toggle progress view (balanced/detailed) |
+| `/view balanced` | Show last 5 tool steps, compact format |
+| `/view detailed` | Show last 20 tool steps, full format |
+
+## Telegram Management (CLI Only)
+
+| Command | Description |
+|---------|-------------|
+| `/telegram` | Open Telegram management menu |
+| `/telegram pending` | List pending Telegram access requests |
+| `/telegram users` | List approved Telegram admins and members |
+| `/telegram approve <code\|id>` | Approve a pairing code or access request |
+| `/telegram reject <id>` | Reject a pending Telegram access request |
+| `/telegram remove <id>` | Revoke an approved Telegram user |
+| `/telegram promote <id>` | Promote a Telegram member to admin |
+| `/telegram demote <id>` | Demote a Telegram admin to member |
+| `/telegram reset` | Clear all Telegram access and restart pairing |
+
+## Telegram-Only Commands
+
+| Command | Description |
+|---------|-------------|
+| `/start` or `/pair` | Request access (new users) or check status (approved users) |
+| `/unpair` | Admin only: reset all Telegram access for this instance |
+
+## Keyboard Shortcuts (CLI)
+
+These shortcuts work in the CLI terminal interface:
+
+| Shortcut | Description |
+|----------|-------------|
+| `Ctrl+C` | Exit Mercury |
+| `Ctrl+T` | Toggle progress view (balanced/detailed) |
+| `Ctrl+B` | Show background tasks (or move current task to background if busy) |
+| `Ctrl+N` | Insert newline (multi-line input) |
+| `Ctrl+P` | Switch to code plan mode (in coding/workspace mode) |
+| `Ctrl+X` | Switch to code execute mode (in coding/workspace mode) |
+
+### Slash Command Autocomplete
+
+When you type `/` in the CLI, an autocomplete popup appears with matching commands:
+
+- **Up/Down arrows** — navigate through suggestions
+- **Tab** or **Enter** — fill the selected suggestion into the input
+- **Enter** (when input matches a command) — submit the command
+
+### Workspace IDE Shortcuts
+
+| Shortcut | Description |
+|----------|-------------|
+| `Esc` / `Ctrl+Q` | Exit workspace (from explorer) or return to explorer |
+| `Ctrl+E` | Focus explorer panel |
+| `Ctrl+G` | Focus git panel |
+| `Ctrl+J` | Toggle chat panel |
+| `Tab` | Cycle focus: explorer → code → right panel |
+| `Arrow keys` | Navigate file tree / scroll panels |
+| `Enter` | Open selected file |
+| `Ctrl+U` / `Ctrl+D` | Scroll up/down by 8-10 lines |
+| `PageUp` / `PageDown` | Scroll by 15 lines |
+
+:::info[Telegram pairing and access]
+
Telegram stays private 1:1 only. The first user sends `/start`, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send `/start`, appear as pending requests, and can then be approved or rejected from the CLI `/telegram` menu.
+
:::
diff --git a/website/docs/daemon-mode/background-mode.mdx b/website/docs/daemon-mode/background-mode.mdx
index d58456db..bf511103 100644
--- a/website/docs/daemon-mode/background-mode.mdx
+++ b/website/docs/daemon-mode/background-mode.mdx
@@ -61,19 +61,26 @@ mercury status
Shows whether the daemon is running, its PID, and the log file path.
-:::info Crash recovery
+:::info[Crash recovery]
+
Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.
+
:::
## Background Tasks and Workers
Daemon mode supports async background execution for both shell commands and delegated sub-agent work.
+### Task IDs
+
+Background tasks use human-friendly IDs like `swift-fox`, `calm-owl`, or `bright-heron` instead of opaque timestamps. There are 2,304 unique combinations (48 adjectives × 48 nouns). If a collision occurs, a numeric suffix is appended.
+
### Shell background tasks
- Start with `/bg <command>`
- Inspect with `/bg list` and `/bg <id>`
-- Cancel with `/bg cancel <id>`
+- Cancel with `/bg cancel <id>` (or `/bg stop <id>`, `/bg kill <id>`)
+- Cancel all running tasks with `/bg killall` (or `/bg stopall`)
### Sub-agent workers
@@ -81,4 +88,8 @@ Daemon mode supports async background execution for both shell commands and dele
- Move active task to worker with `/bg current`
- Worker progress/completion is surfaced in the shared background task board (`/bg list`)
+### Persistence
+
+Background tasks are persisted to disk and survive daemon restarts. Running tasks that were interrupted by a restart are marked as failed.
+
These workers are designed to keep Mercury responsive while long-running work continues.
diff --git a/website/docs/getting-started/installation.mdx b/website/docs/getting-started/installation.mdx
index fcaa91e06..72e7f203 100644
--- a/website/docs/getting-started/installation.mdx
+++ b/website/docs/getting-started/installation.mdx
@@ -32,6 +32,8 @@ This command:
- **Installs** the latest version globally
- **Shows** the before/after version comparison
-:::tip ENOTEMPTY fix
+:::tip[ENOTEMPTY fix]
+
If you see `ENOTEMPTY: directory not empty, rename` when running `npm i -g` manually, use `mercury upgrade` instead — it removes the old package directory before installing the new one.
+
:::
\ No newline at end of file
diff --git a/website/docs/getting-started/setup.mdx b/website/docs/getting-started/setup.mdx
index 48ac46dc..295d82e0 100644
--- a/website/docs/getting-started/setup.mdx
+++ b/website/docs/getting-started/setup.mdx
@@ -17,6 +17,8 @@ If you enable Telegram during first-time setup, Mercury starts a temporary pairi
All config is stored in `~/.mercury/` — nothing in your project directory.
-:::info Masked keys
+:::info[Masked keys]
+
When reconfiguring with `mercury doctor`, existing API keys are shown masked like `sk-x••••4f2a`. Press Enter to keep the current value, or paste a new key to replace it.
+
:::
\ No newline at end of file
diff --git a/website/docs/getting-started/starting.mdx b/website/docs/getting-started/starting.mdx
index 6a0b3d0a..c53eb9cb 100644
--- a/website/docs/getting-started/starting.mdx
+++ b/website/docs/getting-started/starting.mdx
@@ -3,8 +3,10 @@ id: starting
title: Starting Mercury
---
-:::tip Recommended: mercury up
+:::tip[Recommended: mercury up]
+
The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.
+
:::
```bash
diff --git a/website/docs/integrations/coding-workspace.mdx b/website/docs/integrations/coding-workspace.mdx
index 71cabbc6..e449449c 100644
--- a/website/docs/integrations/coding-workspace.mdx
+++ b/website/docs/integrations/coding-workspace.mdx
@@ -13,7 +13,7 @@ You can enter workspace mode in multiple ways:
- `/code workspace`
- `/ws open <path>`
-Once active, Mercury switches to coding context for that repository.
+Once active, Mercury switches to coding context for that repository. Agent responses appear in the normal scrollable chat view so you can always see full output.
## Modes
@@ -23,13 +23,36 @@ Use programming modes to control behavior:
- `/code execute` — implementation mode
- `/code off` — return to normal conversation behavior
-### Keyboard shortcuts (CLI)
-
-- `Ctrl+P` → Plan mode
-- `Ctrl+X` → Execute mode
-- `Esc` or `Ctrl+Q` → Exit workspace back to chat
-- `Ctrl+E` → Explorer pane
-- `Ctrl+G` → Git pane
+### Keyboard Shortcuts
+
+| Shortcut | Action |
+|----------|--------|
+| `Ctrl+P` | Plan mode |
+| `Ctrl+X` | Execute mode |
+| `Ctrl+E` | Focus explorer pane |
+| `Ctrl+G` | Focus git pane |
+| `Ctrl+J` | Toggle right panel between chat and git |
+| `Tab` | Cycle focus: explorer → code → right panel |
+| `Esc` | Return to explorer (or exit workspace from explorer) |
+| `Ctrl+Q` | Exit workspace |
+| `Shift+Enter` | Insert newline (multi-line input) |
+| `Alt+Enter` | Insert newline (fallback for terminals that don't distinguish Shift+Enter) |
+
+### Navigation (when input is empty)
+
+| Focus | Keys | Action |
+|-------|------|--------|
+| Explorer | `↑` `↓` | Move selection |
+| Explorer | `←` `→` | Collapse / expand folder |
+| Explorer | `Enter` | Open selected file |
+| Code | `↑` `↓` | Scroll code ±1 line |
+| Code | `PgUp` `PgDn` | Scroll code ±15 lines |
+| Code | `Ctrl+U` `Ctrl+D` | Scroll code ±10 lines (vim-style) |
+| Chat | `↑` `↓` | Scroll agent output ±1 line |
+| Chat | `PgUp` `PgDn` | Scroll agent output ±10 lines |
+| Chat | `Ctrl+U` `Ctrl+D` | Scroll agent output ±8 lines |
+| Git | `↑` `↓` | Move through changed files |
+| Git | `Enter` | Stage selected file |
## Workspace Commands
@@ -37,9 +60,12 @@ Use programming modes to control behavior:
|---------|-------------|
| `/ws open <path>` | Open a directory in workspace mode |
| `/ws refresh` | Refresh file tree + git status |
+| `/ws focus <area>` | Focus a panel: `explorer`, `code`, `git`, or `chat` |
| `/ws stage <file\|all>` | Stage one file or all changes |
| `/ws commit <message>` | Commit staged changes |
| `/ws undo <file>` | Revert file changes |
+| `/ws toggle-chat` | Toggle right panel between chat and git |
+| `/ws chat-scroll <n>` | Scroll agent output by n lines |
| `/ws exit` | Exit workspace mode back to general chat |
## Sub-Agents + Background in Coding
@@ -49,7 +75,18 @@ Workspace mode supports explicit delegation and backgrounding:
- `/code agent <task>` — delegate coding work to a sub-agent
- `/bg current` — move active in-flight work to background
- `/bg list` — inspect all background tasks (shell + sub-agent)
-- `/bg <id>` — view task details/output
+- `/bg <id>` — view task details/output (IDs use friendly names like `swift-fox`)
- `/bg cancel <id>` — cancel running background work
+- `/bg stop <id>` / `/bg kill <id>` — aliases for cancel
+- `/bg killall` / `/bg stopall` — cancel all running background tasks
This lets you continue coding/chatting while long operations run asynchronously.
+
+## Progress Tracking
+
+During long-running tasks, Mercury shows real-time progress:
+
+- The status bar displays the current tool/action (e.g., `● step 5 · ✂️ Editing App.tsx`)
+- Heartbeat messages escalate timing (20s → 30s → 45s → 60s) to reduce noise
+- Use `/progress` to see the last 10 completed steps with timing
+- Consecutive identical tool calls are collapsed (e.g., "Read 3 files")
diff --git a/website/docs/integrations/github-companion.mdx b/website/docs/integrations/github-companion.mdx
index 238a5e64..ababf40a 100644
--- a/website/docs/integrations/github-companion.mdx
+++ b/website/docs/integrations/github-companion.mdx
@@ -5,8 +5,10 @@ title: GitHub Companion
Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.
-:::info Conditional availability
+:::info[Conditional availability]
+
GitHub tools **only appear when `GITHUB_TOKEN` is configured** via `mercury doctor`. Without a token, these tools are not registered and won't be available in conversation.
+
:::
## Why set up GitHub?
@@ -43,7 +45,7 @@ You can customize the email in `~/.mercury/.env` by setting `GITHUB_EMAIL` if yo
You need a token so Mercury can authenticate with the GitHub API. **Never share this token.** It's stored locally in `~/.mercury/.env` and never sent anywhere except GitHub's API.
-:::warning Where to create your token
+:::warning[Where to create your token]
**Fine-grained PAT (recommended):**
@@ -62,6 +64,7 @@ You need a token so Mercury can authenticate with the GitHub API. **Never share
2. Give it a name (e.g. `mercury-agent`) and set an expiration
3. Select the **repo** scope (full control of private repositories)
4. Click **Generate token** and copy it immediately
+
:::
### 4. Default repo (optional)
@@ -97,6 +100,8 @@ When Mercury commits code using `git_commit`, it automatically appends a `Co-aut
## Security
-:::warning PAT storage
+:::warning[PAT storage]
+
Your GitHub PAT is stored in `~/.mercury/mercury.yaml` alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised.
+
:::
\ No newline at end of file
diff --git a/website/docs/integrations/spotify.mdx b/website/docs/integrations/spotify.mdx
index 30aa0e82..3a2ba082 100644
--- a/website/docs/integrations/spotify.mdx
+++ b/website/docs/integrations/spotify.mdx
@@ -5,8 +5,10 @@ title: Spotify Integration
Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.
-:::info Spotify Premium
+:::info[Spotify Premium]
+
Read-only features (search, top tracks, playlists, now playing) work on **free** Spotify accounts. **Playback control** (play, pause, skip, volume, shuffle, repeat, queue) requires a **Spotify Premium** subscription — this is a Spotify API limitation, not a Mercury restriction.
+
:::
## Setup
@@ -23,8 +25,10 @@ Read-only features (search, top tracks, playlists, now playing) work on **free**
5. Click **Save**
6. On the app's settings page, copy the **Client ID** and **Client Secret**
-:::tip Development Mode
+:::tip[Development Mode]
+
When your Spotify Developer app is in **development mode** (the default), you can grant access to up to **25 users**. Go to your app's settings → **User Management** → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request **extended quota** from Spotify.
+
:::
### Step 2: Configure Mercury
@@ -210,8 +214,10 @@ This clears all tokens and account info. Run `/spotify auth` to reconnect later.
## Security
-:::warning Client credentials
+:::warning[Client credentials]
+
Your Spotify Client ID and Client Secret are stored in `~/.mercury/mercury.yaml`. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential.
+
:::
Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.
diff --git a/website/docs/integrations/sub-agents.mdx b/website/docs/integrations/sub-agents.mdx
index f0a39fb3..0f114c2a 100644
--- a/website/docs/integrations/sub-agents.mdx
+++ b/website/docs/integrations/sub-agents.mdx
@@ -50,14 +50,26 @@ Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the
| Command | Description |
|---------|-------------|
| `/agents` | List all sub-agents (running and completed) |
+| `/agents stop <id\|all>` | Stop a sub-agent or all sub-agents |
+| `/agents pause <id>` | Pause a running sub-agent |
+| `/agents resume <id>` | Resume a paused sub-agent |
+| `/agents config` | Show sub-agent resource allocation (max concurrent, mode) |
+| `/agents set max <n>` | Set max concurrent sub-agents |
| `/code agent <task>` | Delegate a coding task to a sub-agent immediately |
| `/bg: <task>` | Run a natural-language sub-agent task in background |
| `/bg current` | Move current in-flight task to a background sub-agent |
| `/bg list` | List shell + sub-agent background tasks |
| `/halt` | Emergency: halt all sub-agents and clear the task queue |
-| `/stop` | Full reset: halt agents, clear queue, release locks, clear task board |
+| `/stop` | Full stop: halt agents, clear queue, release file locks, clear task board |
+| `/reset` | Full reset: stop all + clear conversation context (requires confirmation) |
-Slash commands like `/agents`, `/halt`, `/stop`, `/spotify`, and `/code status` work **even while the main agent is busy** — they're processed immediately on a fast path.
+:::tip[`/halt` vs `/stop` vs `/reset`]
+
+**`/halt`** stops all agents but preserves conversation context and file locks. **`/stop`** goes further — it also releases file locks and clears the task board. **`/reset`** does everything `/stop` does plus clears the conversation context (requires confirmation).
+
+:::
+
+Slash commands like `/agents`, `/halt`, `/stop`, `/spotify`, and `/code` work **even while the main agent is busy** — they're processed immediately on a fast path.
## Delegation Tools
diff --git a/website/docs/integrations/telegram.mdx b/website/docs/integrations/telegram.mdx
index f2864aec..baf98cf3 100644
--- a/website/docs/integrations/telegram.mdx
+++ b/website/docs/integrations/telegram.mdx
@@ -3,18 +3,22 @@ id: telegram
title: Telegram
---
-Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.
+Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, inline approval keyboards, and real-time task progress.
## Access Model
Mercury uses an **organization access model** with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending `/start`, which admins can approve or reject.
-:::info First-time pairing
+:::info[First-time pairing]
+
When no admins exist yet, sending `/start` creates a **pairing code** that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send `/start` to create a pending request that admins can approve or reject.
+
:::
-:::warning Private chats only
+:::warning[Private chats only]
+
Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored.
+
:::
### Roles
@@ -37,23 +41,110 @@ Mercury only works in private (one-to-one) chats. Messages in groups or channels
| `mercury telegram demote <userId>` | Demote an admin to member (at least one admin must remain) |
| `mercury telegram reset` | Clear all Telegram access (admins, members, pending). Start fresh. |
-### In-Chat Commands
+## Bot Commands Menu
+
+Mercury registers 15 commands in Telegram's bot menu for quick access:
| Command | Description |
|---------|-------------|
-| `/start` or `/pair` | Request access (new users) or check status (approved users) |
-| `/unpair` | Admin only: Reset all Telegram access for this Mercury instance |
+| `/start` | Request access to this Mercury instance |
+| `/help` | Show Telegram-specific command reference |
+| `/status` | Config, budget, and uptime |
+| `/progress` | Live status for the current task |
+| `/stop` | Stop all agents and clear queue |
+| `/budget` | Token budget status and management |
+| `/stream` | Toggle text streaming on/off |
+| `/memory` | Second brain memory |
+| `/permissions` | Switch Ask Me / Allow All mode |
+| `/models` | List providers or switch AI model |
+| `/code` | Programming mode (plan / execute / off) |
+| `/agents` | List and manage sub-agents |
+| `/bg` | Background tasks |
+| `/spotify` | Spotify playback controls |
+| `/unpair` | Reset all Telegram access (admin only) |
+
+:::tip[Telegram-specific help]
+
+Running `/help` on Telegram shows a clean, Telegram-formatted command reference with only Telegram-relevant commands — no CLI-only features like workspace IDE or progress views.
+
+:::
+
+## Real-Time Task Progress
+
+During multi-step tasks, Mercury uses a **single status card** that updates in place. This keeps the chat clean — you see one message that shows what's happening, not a flood of separate updates.
+
+### How It Works
+
+1. **Step 1 begins** — Mercury creates a status card: `⚙️ Mercury working (step 1)`
+2. **Steps progress** — The same message is edited to show the latest steps with checkmarks
+3. **Step 3+ (substantial task)** — The status card is **pinned** to the top of the chat so you can always see progress without scrolling
+4. **Notices** — System messages like Mercury Autopilot warnings are folded into the status card instead of creating separate messages
+5. **Task completes** — The status card is unpinned and deleted. The AI response and completion banner appear as fresh messages
+
+### What the Status Card Looks Like
+
+```
+⚙️ Mercury working (step 5)
+
+✅ read_file · src/index.ts
+✅ edit_file · src/utils.ts
+✅ run_command · npm test
+✅ read_file · package.json
+⏳ write_file · src/config.ts…
+```
+
+### Single-Message Design
+
+During an active task, **no new messages are created** in the chat. Everything is consolidated into the pinned status card:
+
+- **Tool progress** — edited in place with a rolling window of the last 5 completed steps
+- **Autopilot warnings** — shown as notice lines in the status card (last 3 notices)
+- **AI responses** — deferred until the task completes, then sent as a clean message
+- **Permission prompts** — shown as ephemeral inline keyboard messages, deleted after you respond
+
+This means you never have to scroll up to find the progress indicator — it stays pinned at the top until the task is done.
+
+### Completion
+
+When a substantial task finishes (3+ steps and 30+ seconds), Mercury sends a completion banner:
+
+```
+✅ Task complete (8 steps · 45s)
+☿ claude-sonnet via anthropic · 12.4k tokens
+Budget: ██████████░░░░░ 67% (67.2k / 100.0k)
+
+ ✓ read_file · src/index.ts
+ ✓ edit_file · src/utils.ts
+ ✓ run_command · npm test
+```
+
+## Permission Mode
+
+At the start of each Telegram session, Mercury shows an inline keyboard to choose a permission mode:
+
+- **🔒 Ask Me** — Mercury asks before file writes, shell commands, and scope changes. Prompts appear as inline keyboards with Allow / Always / Deny buttons.
+- **✅ Allow All** — Auto-approve everything for this session. No interruptions.
+
+Use `/permissions` at any time to switch modes. Choosing "Always" on any permission prompt flips to auto-approve for the rest of the session.
+
+### Ephemeral Messages
+
+Permission prompts, loop-continuation prompts, and mode-selection cards are **ephemeral** — they're deleted automatically after you respond (or after a 2-minute timeout). This keeps the chat clean.
## Features
| Feature | Description |
|---------|-------------|
+| Single status card | One message edited in place during multi-step tasks — no message clutter |
+| Pinned progress | Status card pinned to chat top for tasks with 3+ steps |
| Text streaming | Real-time response editing with typing indicators (toggle with `/stream`) |
| File uploads | Photos, audio, video, and documents auto-detected and sent with the right API |
| HTML formatting | Markdown automatically converted to Telegram-compatible HTML |
-| Inline keyboards | Shell command and scope approvals shown as Allow / Always / Deny buttons |
-| Multi-user access | Organization model with admins and members. `send_message` broadcasts to all approved users. |
-| Bot commands menu | 12 commands registered in Telegram's bot menu for quick access |
+| Inline keyboards | Permission and mode prompts shown as tappable buttons |
+| Ephemeral prompts | Permission and mode cards auto-deleted after response |
+| Completion banners | Token usage and budget stats for substantial tasks |
+| Multi-user access | Organization model with admins and members |
+| Bot commands menu | 15 commands registered in Telegram's bot menu for quick access |
## Configuration
@@ -65,4 +156,4 @@ Telegram is set up during `mercury doctor` or initial onboarding. You need a bot
| `TELEGRAM_ENABLED` | Enable/disable Telegram channel | `false` |
| `TELEGRAM_STREAMING` | Enable real-time text streaming | `true` |
-Type `none` as the bot token during `mercury doctor` to disable Telegram.
\ No newline at end of file
+Type `none` as the bot token during `mercury doctor` to disable Telegram.
diff --git a/website/docs/reference/built-in-tools.mdx b/website/docs/reference/built-in-tools.mdx
index 17cf994b..22b1a187 100644
--- a/website/docs/reference/built-in-tools.mdx
+++ b/website/docs/reference/built-in-tools.mdx
@@ -54,4 +54,34 @@ Mercury has a built-in toolset it can use during conversations. These are not CL
| `schedule_task` | Schedule recurring (cron) or one-shot (delay) task | Scheduler |
| `list_scheduled_tasks` | View all scheduled tasks | Scheduler |
| `cancel_scheduled_task` | Cancel a scheduled task | Scheduler |
-| `budget_status` | Check token budget usage | System |
\ No newline at end of file
+| `budget_status` | Check token budget usage | System |
+| `ask_user` | Ask the user a question with choices (CLI: arrow menu, Telegram: inline buttons) | System |
+
+## Sub-Agent Delegation
+
+| Tool | What it does | Parameters |
+|------|-------------|------------|
+| `delegate_task` | Spawn a sub-agent with an isolated context | `task`, `workingDirectory?`, `priority?`, `allowedTools?` |
+| `list_agents` | List active sub-agents and their status | — |
+| `stop_agent` | Stop a sub-agent (or all) | `agentId` (`"a1"` or `"all"`) |
+
+## Spotify
+
+These tools are available when Spotify is connected. Search and info tools are read-only; playback tools require Spotify Premium.
+
+| Tool | What it does | Parameters |
+|------|-------------|------------|
+| `spotify_search` | Search for tracks, artists, albums, playlists | `query`, `type?`, `limit?` |
+| `spotify_play` | Play a track, album, or playlist | `uri?`, `deviceId?` |
+| `spotify_pause` | Pause playback | `deviceId?` |
+| `spotify_next` | Skip to next track | — |
+| `spotify_previous` | Skip to previous track | — |
+| `spotify_now_playing` | Show currently playing track info | — |
+| `spotify_devices` | List available playback devices | — |
+| `spotify_queue` | Add a track to the playback queue | `uri` |
+| `spotify_like` | Save a track to your library | `trackId` |
+| `spotify_volume` | Set playback volume | `percent` (0–100) |
+| `spotify_shuffle` | Toggle shuffle | `state` (boolean) |
+| `spotify_repeat` | Set repeat mode | `state` (`off`/`track`/`context`) |
+| `spotify_top_tracks` | Get user's top tracks | `timeRange?`, `limit?` |
+| `spotify_playlists` | Get user's playlists | — |
\ No newline at end of file
diff --git a/website/docs/reference/permissions.mdx b/website/docs/reference/permissions.mdx
index cd4811e2..7da91321 100644
--- a/website/docs/reference/permissions.mdx
+++ b/website/docs/reference/permissions.mdx
@@ -3,23 +3,100 @@ id: permissions
title: Permissions
---
-Mercury has a three-tier permission system for shell commands:
-
-1. **Blocked** — Commands like `sudo`, `rm -rf /`, `mkfs` are never executed
-2. **Auto-approved** — Safe commands like `ls`, `cat`, `git status` run without asking
-3. **Pending approval** — Unknown commands pause and ask you. Say **"always"** to permanently approve a command type
-
-Edit `~/.mercury/permissions.yaml` to customize. Skill elevation: skills with `allowed-tools` in their SKILL.md get automatic approval for those tools during execution.
+Mercury has a layered permission system that controls what actions the agent can take. The behavior differs significantly between **Ask Me** and **Allow All** modes.
## Permission Modes
At session start, Mercury asks you to choose a permission mode:
-- **🔒 Ask Me** — Mercury asks for confirmation before file writes, shell commands that need approval, and scope changes. Default on both CLI and Telegram.
-- **✅ Allow All** — Mercury auto-approves all directory scopes, all shell commands (except blocked), and loop-continuation prompts. No interruptions during the session. Resets on restart.
+- **🔒 Ask Me** — Mercury asks for confirmation before risky actions. Default on both CLI and Telegram.
+- **✅ Allow All** — Mercury auto-approves everything for this session. No interruptions. Resets on restart.
On **CLI**: an arrow-key menu appears at startup before the first prompt.
On **Telegram**: inline keyboard buttons appear with the first message. Use `/permissions` to change mode at any time.
-**Scheduled tasks** always run in Allow All mode — filesystem access and shell commands are auto-approved. You receive a notification before each task executes.
\ No newline at end of file
+**Scheduled tasks** always run in Allow All mode — filesystem access and shell commands are auto-approved.
+
+### How Modes Differ
+
+| Action | Ask Me | Allow All |
+|--------|--------|-----------|
+| File reads | Auto-approved (via scope matching) | Auto-approved |
+| File writes | **Always prompts** | Auto-approved (via scope matching) |
+| Safe shell commands (`ls`, `cat`, `grep`, `git status`) | Auto-approved | Auto-approved |
+| Other shell commands | **Prompts** | Auto-approved |
+| New directory scope | **Prompts** | Auto-approved |
+| Loop continuation | **Prompts** | AI self-check (Mercury Autopilot) |
+
+### "Always" Response
+
+When prompted in Ask Me mode, choosing **"Always"** (or pressing `A`) flips to auto-approve for the rest of the session — equivalent to switching to Allow All mode.
+
+## Shell Command Tiers
+
+### 1. Blocked (never executed)
+
+Commands like `sudo`, `rm -rf /`, `mkfs` are never executed regardless of mode.
+
+### 2. Safe Read Commands (auto-approved in any mode)
+
+Mercury maintains a whitelist of safe read-only commands that never require approval:
+
+`ls`, `cat`, `head`, `tail`, `grep`, `rg`, `find`, `wc`, `file`, `stat`, `which`, `echo`, `pwd`, `env`, `printenv`, `date`, `whoami`, `hostname`, `uname`, `git status`, `git diff`, `git log`, `git branch`, `git show`, `git remote`, `node --version`, `npm list`, `npx tsc --noEmit`, and similar read-only operations.
+
+### 3. Everything Else
+
+- **Ask Me mode**: Prompts for approval. Approval options: Yes / No / Always.
+- **Allow All mode**: Auto-approved (except blocked commands).
+
+Edit `~/.mercury/permissions.yaml` to customize blocked and auto-approved command patterns. Skill elevation: skills with `allowed-tools` in their SKILL.md get automatic approval for those tools during execution.
+
+## File System Scopes
+
+Mercury uses directory scopes to control file access. When the agent tries to access files in a new directory:
+
+- **Ask Me mode**: Prompts for scope approval (reads and writes)
+- **Allow All mode**: Auto-approves scope access
+
+Approved scopes persist for the session. The current working directory is always in scope.
+
+## Mercury Autopilot (Loop Detection)
+
+Mercury includes an intelligent loop detection system called **Mercury Autopilot** that prevents the agent from getting stuck in repetitive tool call patterns.
+
+### How It Works
+
+Instead of simply counting repeated tool calls, Autopilot analyzes:
+
+- **Parameter diversity** — Are the arguments changing between calls, or is it calling the same thing over and over?
+- **Success rate** — Are the calls succeeding or failing repeatedly?
+
+This produces a verdict:
+
+| Verdict | Criteria | Action |
+|---------|----------|--------|
+| **Productive** | Diversity ≥ 60%, success ≥ 70% | Continue without interruption |
+| **Suspicious** | Between productive and stuck | Monitor (Allow All: AI self-check, Ask Me: prompt user) |
+| **Stuck** | Low diversity and/or low success | Stop the current execution path |
+
+### AI Self-Check (Allow All Mode)
+
+In Allow All mode, when Autopilot detects suspicious patterns, it asks the AI model itself to evaluate whether it's making progress. The AI sees its recent tool calls and decides whether to continue or stop. This runs up to 3 times before Autopilot forces a stop.
+
+### User Prompt (Ask Me Mode)
+
+In Ask Me mode, suspicious patterns trigger a user prompt asking whether to continue. On Telegram, this appears as an inline keyboard with Continue / Stop buttons.
+
+### Hard Limits
+
+Regardless of mode, Mercury enforces absolute limits:
+
+| Limit | Value | Description |
+|-------|-------|-------------|
+| Max steps per task | 25 | Normal tool call limit |
+| Absolute max | 75 | Hard ceiling (never exceeded) |
+| Failed absolute max | 20 | Max steps if all are failing |
+| Max self-checks | 3 | AI self-check attempts before forced stop |
+
+All Autopilot messages are branded with `☿ Mercury Autopilot` for easy identification.
diff --git a/website/docs/reference/provider-fallback.mdx b/website/docs/reference/provider-fallback.mdx
index 0fb66bc0..fc592a68 100644
--- a/website/docs/reference/provider-fallback.mdx
+++ b/website/docs/reference/provider-fallback.mdx
@@ -17,6 +17,8 @@ This is a session-level switch for the running process. Use `mercury doctor` to
## Supported Providers
+### API Key Providers
+
| Provider | Default Model | API Key | Configuration |
|----------|--------------|---------|---------------|
| **DeepSeek** | `deepseek-chat` | `DEEPSEEK_API_KEY` | Default provider, cost-effective |
@@ -27,14 +29,105 @@ This is a session-level switch for the running process. Use `mercury doctor` to
| **Ollama Local** | `gpt-oss:20b` | No key needed | Local Ollama instance (127.0.0.1:11434) |
| **OpenAI Compatible** | Configurable | `OPENAI_COMPAT_API_KEY` | Any OpenAI-compatible server |
+### OAuth Providers (No API Key Needed)
+
+These providers authenticate through your browser using OAuth device flow — no API key required.
+
+| Provider | Default Model | Subscription Required | Configuration |
+|----------|--------------|----------------------|---------------|
+| **ChatGPT Web** | `gpt-5.4-mini` | ChatGPT Plus or Pro | Uses your ChatGPT subscription |
+| **GitHub Copilot** | `gpt-4o` | GitHub Copilot | Uses your Copilot subscription |
+
+## ChatGPT Web (ChatGPT Plus/Pro)
+
+Use your existing ChatGPT Plus or Pro subscription as a Mercury provider. No API key or separate billing — it runs through the same backend as chatgpt.com.
+
+### Setup
+
+1. Run `mercury doctor` (or first-time `mercury` setup)
+2. Select **OpenAI** from the provider list
+3. Choose **ChatGPT Plus/Pro (OAuth — use your subscription)**
+4. A browser window opens — sign in with your OpenAI account and enter the device code shown in the terminal
+5. Mercury fetches available models from your account and lets you pick a default
+
+### How It Works
+
+- Authenticates via OpenAI's device flow OAuth (same flow used by the Codex CLI)
+- Uses the ChatGPT Responses API at `chatgpt.com/backend-api/codex`
+- Session tokens are stored locally at `~/.mercury/chatgpt-session.json`
+- Access tokens auto-refresh when they expire — no manual re-authentication needed
+
+### Available Models
+
+Models are fetched from your account. Typical models available on the codex endpoint include:
+
+- `gpt-5.5`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.3-codex`, `gpt-5.2`
+
+:::warning[Not all ChatGPT models are supported]
+
+Only models available on the codex/responses endpoint work with this provider. Some models like `gpt-4o`, `o3`, and `o4-mini` are not available through this endpoint.
+
+:::
+
+### Environment Variables
+
+| Variable | Default | Description |
+|----------|---------|-------------|
+| `CHATGPT_WEB_ENABLED` | `false` | Enable the ChatGPT Web provider |
+| `CHATGPT_WEB_MODEL` | `gpt-5.4-mini` | Default model to use |
+
+## GitHub Copilot
+
+Use your GitHub Copilot subscription as a Mercury provider. Authenticates through GitHub OAuth and accesses models through the Copilot API.
+
+### Setup
+
+1. Run `mercury doctor` (or first-time `mercury` setup)
+2. Select **GitHub Copilot** from the provider list
+3. A browser window opens — sign in with your GitHub account and enter the device code shown in the terminal
+4. Mercury fetches available models from the Copilot API and lets you pick a default
+
+### How It Works
+
+- Authenticates via GitHub's device flow OAuth
+- Exchanges the GitHub token for a short-lived Copilot API token (auto-refreshed every ~30 minutes)
+- Uses the Copilot API endpoint with OpenAI-compatible requests
+- Session stored locally at `~/.mercury/github-session.json`
+- GitHub OAuth tokens don't expire — they remain valid until revoked on github.com
+
+### Available Models
+
+Models are fetched dynamically from the Copilot API. Typical models include:
+
+- `claude-sonnet-4.6`, `gpt-4o`, `gpt-5.4`, `claude-opus-4.6`, `gpt-4.1`, `gpt-4o-mini`, `gemini-3.1-pro-preview`
+
+:::tip[Multi-vendor models through one subscription]
+
+GitHub Copilot provides access to models from OpenAI, Anthropic, and Google — all through a single subscription. This makes it one of the most versatile provider options.
+
+:::
+
+### Environment Variables
+
+| Variable | Default | Description |
+|----------|---------|-------------|
+| `GITHUB_COPILOT_ENABLED` | `false` | Enable the GitHub Copilot provider |
+| `GITHUB_COPILOT_MODEL` | `gpt-4o` | Default model to use |
+
+:::info[Copilot subscription required]
+
+GitHub Copilot must be active on your GitHub account. If the Copilot token exchange fails, Mercury will show: "Is GitHub Copilot enabled for your account?"
+
+:::
+
## Configuring Providers
-Run `mercury doctor` and enter API keys for the providers you want to use. You can also set environment variables directly or edit `~/.mercury/mercury.yaml`.
+Run `mercury doctor` and enter API keys for the providers you want to use. For OAuth providers (ChatGPT Web, GitHub Copilot), the setup flow opens your browser for authentication — no keys to copy/paste.
+
+You can also set environment variables directly or edit `~/.mercury/mercury.yaml`.
+
+:::tip[Environment variables]
-:::tip Environment variables
Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses `DEEPSEEK_API_KEY`, `DEEPSEEK_BASE_URL`, and `DEEPSEEK_MODEL`. Ollama Local requires no API key — just set `OLLAMA_LOCAL_ENABLED=true` and `OLLAMA_LOCAL_MODEL` to your preferred local model.
-:::
-:::warning More providers coming
-Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.
:::
diff --git a/website/docs/reference/second-brain.mdx b/website/docs/reference/second-brain.mdx
index 3e3f5160..3426426d 100644
--- a/website/docs/reference/second-brain.mdx
+++ b/website/docs/reference/second-brain.mdx
@@ -60,4 +60,16 @@ Second Brain is **enabled by default**. To disable it:
When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite.
-All data is stored locally in `~/.mercury/memory/second-brain/second-brain.db` (SQLite). Nothing leaves your machine.
\ No newline at end of file
+All data is stored locally in `~/.mercury/memory/second-brain/second-brain.db` (SQLite). Nothing leaves your machine.
+
+## Troubleshooting
+
+### Native module version mismatch
+
+If you see `NODE_MODULE_VERSION` mismatch errors in logs, the `better-sqlite3` native addon was compiled against a different Node.js version than your runtime. Fix with:
+
+```bash
+npm rebuild better-sqlite3
+```
+
+When `better-sqlite3` fails to load, Second Brain silently falls back to disabled — memory extraction and consolidation will not run. Check daemon logs (`mercury logs`) for SQLite-related errors if memories aren't being stored.
\ No newline at end of file
diff --git a/website/docs/releases/1.1.7.mdx b/website/docs/releases/1.1.7.mdx
new file mode 100644
index 00000000..83cf11ea
--- /dev/null
+++ b/website/docs/releases/1.1.7.mdx
@@ -0,0 +1,81 @@
+---
+id: 1.1.7
+title: v1.1.7
+---
+
+Release `1.1.7` brings two new providers (ChatGPT Web and GitHub Copilot), a redesigned real-time progress system, Mercury Autopilot with intelligent loop detection, major Telegram improvements, and a full landing page redesign with the interactive Killipi mascot.
+
+## Highlights
+
+- **ChatGPT Web provider** — use your ChatGPT Plus/Pro subscription directly, with OAuth device flow authentication.
+- **GitHub Copilot provider** — authenticate via GitHub OAuth and use Copilot models as a Mercury provider.
+- **Mercury Autopilot** — AI-based loop detection that analyzes parameter diversity and success rates to distinguish productive work from stuck loops, with auto-abort capability.
+- **Real-time progress system** — live status cards with step tracking, elapsed timers, and collapsed tool execution history.
+- **Completion banners** — task summaries with elapsed time, step count, model used, and token usage/budget metrics.
+- **Interactive Killipi mascot** — hero centerpiece on the landing page with cursor tracking, expressions, and ambient glow effects.
+
+## New Providers
+
+- Added **ChatGPT Web** provider with full OAuth device flow. Authenticate with your ChatGPT Plus or Pro subscription and use it as a Mercury backend.
+- Added **GitHub Copilot** provider with OAuth device flow and Copilot token exchange.
+- Moved ChatGPT Plus/Pro OAuth option under the OpenAI provider group during onboarding.
+- Fixed ChatGPT Web inclusion in the configured providers list and default selector.
+
+## Mercury Autopilot (Loop Detection)
+
+- Implemented AI-based loop detection with auto-abort capability.
+- Replaced inline tool loop detection with a dedicated `ToolCallLoopDetector` module.
+- Smart repetition analysis evaluates parameter diversity and success rate to classify work as productive, suspicious, or stuck.
+- Added strict tool usage guidelines to the system prompt to reduce unnecessary repetition.
+- Increased tool loop tolerance thresholds to avoid false positives on legitimate multi-step tasks.
+
+## Real-Time Progress & Completion
+
+- New progress tracking system with `/progress` command and foreground heartbeat alerts.
+- Live status bar displays a "processing" label before the first tool step occurs.
+- Tool steps are hidden while the agent is in thinking state, shown only when actively executing.
+- Collapsed tool execution history tracked and displayed in agent progress notifications.
+- Completion banners now include elapsed time, step count, and token usage/budget metrics.
+- Completion banners are constrained to substantial tasks — minor step-based interactions no longer trigger them.
+
+## CLI / TUI Improvements
+
+- **Slash command suggestions** — type `/` and get autocomplete suggestions with arrow-key navigation and Enter selection.
+- **Multi-line input** — Shift+Enter for new lines (later rebound to Ctrl+N).
+- **Input cursor support** — proper cursor positioning in the TUI input field.
+- **Choice prompt selection** — interactive prompts for CLI agent interactions.
+- **Scrollable Agent Output panel** — replaces the old static chat view in the workspace.
+- **Workspace focus management** — keyboard navigation between panels with scrolling and chat toggling.
+- **View toggle** rebound to Ctrl+T with improved input sanitization.
+- **Dynamic thinking status indicators** in the UI header.
+
+## Telegram
+
+- Implemented Telegram-specific task lifecycle with message deferral and structured help documentation.
+- Ephemeral message tracking and cleanup — permission prompts and transient messages auto-delete after handling.
+- Telegram help command now shows a clean, Telegram-formatted reference with only Telegram-relevant commands.
+
+## Permissions & Safety
+
+- **Interactive write approval** — file write operations now prompt with a clear approval flow.
+- **Safe read-only allowlist** — shell commands like `ls`, `cat`, `find`, `grep`, `git status`, `git log`, and `git diff` are auto-approved without prompting.
+- **Persistent plan tracking** and read-only tool restrictions for programming mode.
+
+## Background Tasks
+
+- Human-readable background task IDs (e.g., `task-alpha`, `task-bravo`) replace opaque numeric IDs.
+- Mass task termination support via `/bg cancel all`.
+
+## Documentation & Website
+
+- Full visual redesign of the landing page with updated color palette and refined layout.
+- Interactive Killipi mascot added to the hero section — eyes follow cursor, click for expressions, ambient particle effects.
+- Fixed Docusaurus admonition rendering — updated all `:::tip`, `:::info`, `:::warning` blocks to use the v3 directive label syntax (`:::type[Title]`).
+- Fixed mobile sidebar visibility in dark mode with explicit background and text color overrides.
+- Expanded documentation for sub-agents, Spotify integration, autopilot, and provider configuration.
+
+## Notes
+
+- This release includes 35 commits with +3,829 lines of new source code across 25 files.
+- New keyboard shortcut for multi-line input: Ctrl+N (changed from Shift+Enter).
+- View toggle shortcut changed to Ctrl+T.
diff --git a/website/docs/releases/releases.mdx b/website/docs/releases/releases.mdx
index a624dfad..461787e5 100644
--- a/website/docs/releases/releases.mdx
+++ b/website/docs/releases/releases.mdx
@@ -7,4 +7,5 @@ This section tracks Mercury release notes by version.
## Available release notes
+- [v1.1.7](/docs/releases/1.1.7)
- [v1.1.6](/docs/releases/1.1.6)
diff --git a/website/sidebars.ts b/website/sidebars.ts
index d548ad2f..e916b511 100644
--- a/website/sidebars.ts
+++ b/website/sidebars.ts
@@ -57,6 +57,7 @@ const sidebars: SidebarsConfig = {
collapsed: true,
items: [
'releases/releases',
+ 'releases/1.1.7',
'releases/1.1.6',
],
},
diff --git a/website/src/components/Killipi/index.tsx b/website/src/components/Killipi/index.tsx
new file mode 100644
index 00000000..35bf4572
--- /dev/null
+++ b/website/src/components/Killipi/index.tsx
@@ -0,0 +1,279 @@
+import React, { useEffect, useRef, useState, useCallback } from 'react';
+import './styles.css';
+
+type Expression = 'idle' | 'happy' | 'surprised' | 'wink' | 'sleepy';
+
+export default function Killipi(): React.ReactElement {
+ const containerRef = useRef<HTMLDivElement>(null);
+ const [eyeOffset, setEyeOffset] = useState({ x: 0, y: 0 });
+ const [expression, setExpression] = useState<Expression>('idle');
+ const [isHovered, setIsHovered] = useState(false);
+ const [clickScale, setClickScale] = useState(1);
+ const idleTimerRef = useRef<ReturnType<typeof setTimeout>>(null);
+ const blinkTimerRef = useRef<ReturnType<typeof setInterval>>(null);
+ const [isBlinking, setIsBlinking] = useState(false);
+
+ // Eye tracking — follow the cursor
+ const handleMouseMove = useCallback((e: MouseEvent) => {
+ const container = containerRef.current;
+ if (!container) return;
+ const rect = container.getBoundingClientRect();
+ const cx = rect.left + rect.width / 2;
+ const cy = rect.top + rect.height / 2;
+ const dx = e.clientX - cx;
+ const dy = e.clientY - cy;
+ const dist = Math.sqrt(dx * dx + dy * dy);
+ const maxOffset = 6;
+ const factor = Math.min(dist / 300, 1);
+ setEyeOffset({
+ x: (dx / (dist || 1)) * maxOffset * factor,
+ y: (dy / (dist || 1)) * maxOffset * factor,
+ });
+
+ // Reset idle timer
+ if (idleTimerRef.current) clearTimeout(idleTimerRef.current);
+ if (expression === 'sleepy') setExpression('idle');
+ idleTimerRef.current = setTimeout(() => {
+ setExpression('sleepy');
+ }, 8000);
+ }, [expression]);
+
+ // Touch support for mobile
+ const handleTouchMove = useCallback((e: TouchEvent) => {
+ const touch = e.touches[0];
+ if (!touch || !containerRef.current) return;
+ const rect = containerRef.current.getBoundingClientRect();
+ const cx = rect.left + rect.width / 2;
+ const cy = rect.top + rect.height / 2;
+ const dx = touch.clientX - cx;
+ const dy = touch.clientY - cy;
+ const dist = Math.sqrt(dx * dx + dy * dy);
+ const maxOffset = 6;
+ const factor = Math.min(dist / 300, 1);
+ setEyeOffset({
+ x: (dx / (dist || 1)) * maxOffset * factor,
+ y: (dy / (dist || 1)) * maxOffset * factor,
+ });
+ }, []);
+
+ useEffect(() => {
+ window.addEventListener('mousemove', handleMouseMove);
+ window.addEventListener('touchmove', handleTouchMove, { passive: true });
+ return () => {
+ window.removeEventListener('mousemove', handleMouseMove);
+ window.removeEventListener('touchmove', handleTouchMove);
+ };
+ }, [handleMouseMove, handleTouchMove]);
+
+ // Blinking
+ useEffect(() => {
+ blinkTimerRef.current = setInterval(() => {
+ if (Math.random() < 0.3) {
+ setIsBlinking(true);
+ setTimeout(() => setIsBlinking(false), 150);
+ }
+ }, 2500);
+ return () => {
+ if (blinkTimerRef.current) clearInterval(blinkTimerRef.current);
+ };
+ }, []);
+
+ // Idle timer — go sleepy after 8s
+ useEffect(() => {
+ idleTimerRef.current = setTimeout(() => {
+ setExpression('sleepy');
+ }, 8000);
+ return () => {
+ if (idleTimerRef.current) clearTimeout(idleTimerRef.current);
+ };
+ }, []);
+
+ const handleClick = () => {
+ const expressions: Expression[] = ['happy', 'surprised', 'wink'];
+ const next = expressions[Math.floor(Math.random() * expressions.length)];
+ setExpression(next);
+ setClickScale(1.08);
+ setTimeout(() => setClickScale(1), 200);
+ setTimeout(() => setExpression('idle'), 2000);
+ };
+
+ const handleMouseEnter = () => {
+ setIsHovered(true);
+ if (expression === 'sleepy') setExpression('surprised');
+ };
+
+ const handleMouseLeave = () => {
+ setIsHovered(false);
+ setEyeOffset({ x: 0, y: 0 });
+ };
+
+ // Render eyes based on expression
+ const renderEyes = () => {
+ const baseLeftX = 90;
+ const baseRightX = 110;
+ const baseY = 98;
+ const lx = baseLeftX + eyeOffset.x;
+ const ly = baseY + eyeOffset.y;
+ const rx = baseRightX + eyeOffset.x;
+ const ry = baseY + eyeOffset.y;
+
+ if (isBlinking && expression !== 'sleepy' && expression !== 'wink') {
+ return (
+ <>
+ <line x1={lx - 4} y1={ly} x2={lx + 4} y2={ly} stroke="var(--killipi-feature)" strokeWidth="2" strokeLinecap="round" />
+ <line x1={rx - 4} y1={ry} x2={rx + 4} y2={ry} stroke="var(--killipi-feature)" strokeWidth="2" strokeLinecap="round" />
+ </>
+ );
+ }
+
+ switch (expression) {
+ case 'happy':
+ return (
+ <>
+ {/* Happy arched eyes */}
+ <path d={`M${lx - 5},${ly + 1} Q${lx},${ly - 5} ${lx + 5},${ly + 1}`} stroke="var(--killipi-feature)" strokeWidth="2.2" fill="none" strokeLinecap="round" />
+ <path d={`M${rx - 5},${ry + 1} Q${rx},${ry - 5} ${rx + 5},${ry + 1}`} stroke="var(--killipi-feature)" strokeWidth="2.2" fill="none" strokeLinecap="round" />
+ </>
+ );
+ case 'surprised':
+ return (
+ <>
+ <circle cx={lx} cy={ly} r="5" fill="var(--killipi-feature)" />
+ <circle cx={rx} cy={ry} r="5" fill="var(--killipi-feature)" />
+ <circle cx={lx + 1.5} cy={ly - 1.5} r="1.5" fill="var(--killipi-bg)" />
+ <circle cx={rx + 1.5} cy={ry - 1.5} r="1.5" fill="var(--killipi-bg)" />
+ </>
+ );
+ case 'wink':
+ return (
+ <>
+ <circle cx={lx} cy={ly} r="3.5" fill="var(--killipi-feature)" />
+ <path d={`M${rx - 5},${ry} Q${rx},${ry - 5} ${rx + 5},${ry}`} stroke="var(--killipi-feature)" strokeWidth="2.2" fill="none" strokeLinecap="round" />
+ </>
+ );
+ case 'sleepy':
+ return (
+ <>
+ <path d={`M${lx - 4},${ly} Q${lx},${ly + 3} ${lx + 4},${ly}`} stroke="var(--killipi-feature)" strokeWidth="2" fill="none" strokeLinecap="round" />
+ <path d={`M${rx - 4},${ry} Q${rx},${ry + 3} ${rx + 4},${ry}`} stroke="var(--killipi-feature)" strokeWidth="2" fill="none" strokeLinecap="round" />
+ </>
+ );
+ default: // idle
+ return (
+ <>
+ <circle cx={lx} cy={ly} r="3.5" fill="var(--killipi-feature)" />
+ <circle cx={rx} cy={ry} r="3.5" fill="var(--killipi-feature)" />
+ </>
+ );
+ }
+ };
+
+ // Render mouth based on expression
+ const renderMouth = () => {
+ const my = 110 + eyeOffset.y * 0.3;
+ const mx = 100 + eyeOffset.x * 0.3;
+ switch (expression) {
+ case 'happy':
+ return <path d={`M${mx - 8},${my} Q${mx},${my + 10} ${mx + 8},${my}`} stroke="var(--killipi-feature)" strokeWidth="2" fill="none" strokeLinecap="round" />;
+ case 'surprised':
+ return <ellipse cx={mx} cy={my + 3} rx="4" ry="5" stroke="var(--killipi-feature)" strokeWidth="2" fill="none" />;
+ case 'wink':
+ return <path d={`M${mx - 6},${my + 1} Q${mx},${my + 7} ${mx + 6},${my + 1}`} stroke="var(--killipi-feature)" strokeWidth="2" fill="none" strokeLinecap="round" />;
+ case 'sleepy':
+ return <path d={`M${mx - 5},${my + 2} L${mx + 5},${my + 2}`} stroke="var(--killipi-feature)" strokeWidth="2" strokeLinecap="round" />;
+ default:
+ return <path d={`M${mx - 5},${my + 1} Q${mx},${my + 6} ${mx + 5},${my + 1}`} stroke="var(--killipi-feature)" strokeWidth="2" fill="none" strokeLinecap="round" />;
+ }
+ };
+
+ return (
+ <div
+ className={`killipi-container ${isHovered ? 'killipi-hovered' : ''}`}
+ ref={containerRef}
+ onClick={handleClick}
+ onMouseEnter={handleMouseEnter}
+ onMouseLeave={handleMouseLeave}
+ style={{ transform: `scale(${clickScale})` }}
+ role="img"
+ aria-label="Killipi — Mercury's mascot. Click to interact!"
+ >
+ {/* Ambient glow layers */}
+ <div className="killipi-glow killipi-glow-1" />
+ <div className="killipi-glow killipi-glow-2" />
+
+ {/* Particle ring */}
+ <div className="killipi-particles">
+ {Array.from({ length: 8 }).map((_, i) => (
+ <div
+ key={i}
+ className="killipi-particle"
+ style={{
+ '--particle-angle': `${i * 45}deg`,
+ '--particle-delay': `${i * 0.4}s`,
+ } as React.CSSProperties}
+ />
+ ))}
+ </div>
+
+ <svg
+ className="killipi-svg"
+ viewBox="60 55 80 100"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <defs>
+ <filter id="killipi-shadow">
+ <feDropShadow dx="0" dy="2" stdDeviation="3" floodColor="rgba(0,212,255,0.3)" />
+ </filter>
+ <radialGradient id="killipi-face-gradient" cx="50%" cy="40%" r="50%">
+ <stop offset="0%" stopColor="var(--killipi-face-highlight)" />
+ <stop offset="100%" stopColor="var(--killipi-face-bg)" />
+ </radialGradient>
+ </defs>
+
+ {/* Ears */}
+ <path
+ d="M 80 78 Q 76 60 87 72"
+ stroke="var(--killipi-stroke)"
+ strokeWidth="2"
+ fill="var(--killipi-face-bg)"
+ strokeLinecap="round"
+ />
+ <path
+ d="M 120 78 Q 124 60 113 72"
+ stroke="var(--killipi-stroke)"
+ strokeWidth="2"
+ fill="var(--killipi-face-bg)"
+ strokeLinecap="round"
+ />
+
+ {/* Face circle */}
+ <circle
+ cx="100"
+ cy="100"
+ r="30"
+ fill="url(#killipi-face-gradient)"
+ stroke="var(--killipi-stroke)"
+ strokeWidth="2"
+ className="killipi-outer-ring"
+ />
+
+ {/* Eyes */}
+ {renderEyes()}
+
+ {/* Mouth */}
+ {renderMouth()}
+
+ {/* Mercury symbol stem + cross */}
+ <line x1="100" y1="130" x2="100" y2="148" stroke="var(--killipi-stroke)" strokeWidth="2" />
+ <line x1="93" y1="140" x2="107" y2="140" stroke="var(--killipi-stroke)" strokeWidth="2" strokeLinecap="round" />
+ </svg>
+
+ <div className="killipi-label">
+ {expression === 'sleepy' && <span className="killipi-status">zzz...</span>}
+ {expression === 'happy' && <span className="killipi-status killipi-status-happy">:D</span>}
+ {expression === 'surprised' && <span className="killipi-status killipi-status-surprised">!</span>}
+ {expression === 'wink' && <span className="killipi-status killipi-status-wink">;)</span>}
+ </div>
+ </div>
+ );
+}
diff --git a/website/src/components/Killipi/styles.css b/website/src/components/Killipi/styles.css
new file mode 100644
index 00000000..cd686f0b
--- /dev/null
+++ b/website/src/components/Killipi/styles.css
@@ -0,0 +1,190 @@
+/* ---- Killipi Interactive Mascot ---- */
+
+.killipi-container {
+ --killipi-stroke: rgba(0, 212, 255, 0.8);
+ --killipi-feature: rgba(0, 212, 255, 0.9);
+ --killipi-bg: #06060a;
+ --killipi-face-bg: rgba(0, 212, 255, 0.04);
+ --killipi-face-highlight: rgba(0, 212, 255, 0.08);
+ position: relative;
+ width: 220px;
+ height: 220px;
+ margin: 0 auto 32px;
+ cursor: pointer;
+ user-select: none;
+ -webkit-tap-highlight-color: transparent;
+ animation: killipi-float 4s ease-in-out infinite;
+ transition: transform 0.2s ease;
+}
+
+.killipi-container:active {
+ transform: scale(0.95) !important;
+}
+
+/* Floating animation */
+@keyframes killipi-float {
+ 0%, 100% { transform: translateY(0); }
+ 50% { transform: translateY(-10px); }
+}
+
+.killipi-hovered {
+ animation: killipi-float-fast 2s ease-in-out infinite;
+}
+
+@keyframes killipi-float-fast {
+ 0%, 100% { transform: translateY(0); }
+ 50% { transform: translateY(-14px); }
+}
+
+/* SVG */
+.killipi-svg {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ z-index: 2;
+ filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.15));
+ transition: filter 0.3s ease;
+}
+
+.killipi-hovered .killipi-svg {
+ filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
+}
+
+/* Outer ring pulse */
+.killipi-outer-ring {
+ animation: killipi-ring-pulse 3s ease-in-out infinite;
+}
+
+@keyframes killipi-ring-pulse {
+ 0%, 100% { stroke-opacity: 0.6; }
+ 50% { stroke-opacity: 1; }
+}
+
+/* Ambient glow layers */
+.killipi-glow {
+ position: absolute;
+ border-radius: 50%;
+ pointer-events: none;
+ z-index: 0;
+}
+
+.killipi-glow-1 {
+ inset: -30px;
+ background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
+ animation: killipi-glow-breathe 4s ease-in-out infinite;
+}
+
+.killipi-glow-2 {
+ inset: -60px;
+ background: radial-gradient(circle, rgba(167, 139, 250, 0.04) 0%, transparent 60%);
+ animation: killipi-glow-breathe 5s ease-in-out infinite reverse;
+}
+
+.killipi-hovered .killipi-glow-1 {
+ background: radial-gradient(circle, rgba(0, 212, 255, 0.14) 0%, transparent 70%);
+}
+
+@keyframes killipi-glow-breathe {
+ 0%, 100% { transform: scale(1); opacity: 0.7; }
+ 50% { transform: scale(1.1); opacity: 1; }
+}
+
+/* Orbiting particles */
+.killipi-particles {
+ position: absolute;
+ inset: -20px;
+ z-index: 1;
+ pointer-events: none;
+}
+
+.killipi-particle {
+ position: absolute;
+ width: 3px;
+ height: 3px;
+ background: rgba(0, 212, 255, 0.6);
+ border-radius: 50%;
+ top: 50%;
+ left: 50%;
+ box-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
+ animation: killipi-orbit 6s linear infinite;
+ animation-delay: var(--particle-delay);
+}
+
+@keyframes killipi-orbit {
+ 0% {
+ transform: rotate(var(--particle-angle)) translateX(110px) rotate(calc(-1 * var(--particle-angle)));
+ opacity: 0;
+ }
+ 10% { opacity: 0.8; }
+ 90% { opacity: 0.8; }
+ 100% {
+ transform: rotate(calc(var(--particle-angle) + 360deg)) translateX(110px) rotate(calc(-1 * (var(--particle-angle) + 360deg)));
+ opacity: 0;
+ }
+}
+
+.killipi-hovered .killipi-particle {
+ background: rgba(0, 212, 255, 0.9);
+ box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
+ animation-duration: 4s;
+}
+
+/* Expression status label */
+.killipi-label {
+ position: absolute;
+ bottom: -8px;
+ left: 50%;
+ transform: translateX(-50%);
+ z-index: 3;
+ pointer-events: none;
+}
+
+.killipi-status {
+ font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
+ font-size: 0.8em;
+ color: rgba(0, 212, 255, 0.6);
+ letter-spacing: 0.05em;
+ animation: killipi-status-fade 0.3s ease;
+}
+
+.killipi-status-happy {
+ color: rgba(40, 200, 64, 0.8);
+}
+
+.killipi-status-surprised {
+ color: rgba(254, 188, 46, 0.8);
+ font-weight: 700;
+}
+
+.killipi-status-wink {
+ color: rgba(167, 139, 250, 0.8);
+}
+
+@keyframes killipi-status-fade {
+ 0% { opacity: 0; transform: translateY(4px); }
+ 100% { opacity: 1; transform: translateY(0); }
+}
+
+/* Responsive */
+@media (max-width: 768px) {
+ .killipi-container {
+ width: 160px;
+ height: 160px;
+ margin-bottom: 24px;
+ }
+ .killipi-particle {
+ animation-name: killipi-orbit-mobile;
+ }
+ @keyframes killipi-orbit-mobile {
+ 0% {
+ transform: rotate(var(--particle-angle)) translateX(80px) rotate(calc(-1 * var(--particle-angle)));
+ opacity: 0;
+ }
+ 10% { opacity: 0.8; }
+ 90% { opacity: 0.8; }
+ 100% {
+ transform: rotate(calc(var(--particle-angle) + 360deg)) translateX(80px) rotate(calc(-1 * (var(--particle-angle) + 360deg)));
+ opacity: 0;
+ }
+ }
+}
diff --git a/website/src/css/custom.css b/website/src/css/custom.css
index 5f312655..46716e69 100644
--- a/website/src/css/custom.css
+++ b/website/src/css/custom.css
@@ -41,6 +41,48 @@
background: #0a0a0a;
}
+/* Mobile sidebar - ensure visibility in dark mode */
+[data-theme='dark'] .navbar-sidebar {
+ background-color: #111 !important;
+ --ifm-menu-color: #dadde1;
+ --ifm-color-content: #dadde1;
+ color: #dadde1;
+}
+
+[data-theme='dark'] .navbar-sidebar .menu {
+ background: #111;
+}
+
+[data-theme='dark'] .navbar-sidebar .menu__link {
+ color: #dadde1;
+}
+
+[data-theme='dark'] .navbar-sidebar .menu__link:hover,
+[data-theme='dark'] .navbar-sidebar .menu__link--active {
+ color: #00d4ff;
+}
+
+[data-theme='dark'] .navbar-sidebar .menu__link--sublist-caret::after {
+ background: currentColor;
+}
+
+[data-theme='dark'] .navbar-sidebar__brand {
+ background: #111;
+ border-bottom: 1px solid #333;
+}
+
+[data-theme='dark'] .navbar-sidebar__close svg {
+ color: #dadde1;
+}
+
+[data-theme='dark'] .navbar-sidebar__items {
+ background: #111;
+}
+
+[data-theme='dark'] .navbar-sidebar__backdrop {
+ background-color: rgba(0, 0, 0, 0.6);
+}
+
[data-theme='dark'] .table-of-contents {
border-left: 1px solid #222;
}
@@ -76,44 +118,75 @@
border-color: #222;
}
-[data-theme='dark'] .admonition {
- background: #111111;
+/* Admonition styles - light mode */
+.theme-admonition {
+ --ifm-alert-padding-vertical: 1rem;
+ --ifm-alert-padding-horizontal: 1.2rem;
+ border-radius: 6px;
+ border-left-width: 4px;
}
-[data-theme='dark'] .admonition admonition-heading h5 {
- color: #00d4ff;
+.theme-admonition-info {
+ --ifm-alert-background-color: rgba(0, 180, 220, 0.08);
+ --ifm-alert-background-color-highlight: rgba(0, 180, 220, 0.15);
+ --ifm-alert-foreground-color: #0088a8;
+ --ifm-alert-border-color: #0088a8;
}
-[data-theme='dark'] .admonition--info {
- border-left-color: #00d4ff;
+.theme-admonition-tip {
+ --ifm-alert-background-color: rgba(40, 200, 64, 0.08);
+ --ifm-alert-background-color-highlight: rgba(40, 200, 64, 0.15);
+ --ifm-alert-foreground-color: #1a8a2e;
+ --ifm-alert-border-color: #1a8a2e;
}
-[data-theme='dark'] .admonition--tip {
- border-left-color: #28c840;
+.theme-admonition-warning {
+ --ifm-alert-background-color: rgba(254, 188, 46, 0.08);
+ --ifm-alert-background-color-highlight: rgba(254, 188, 46, 0.15);
+ --ifm-alert-foreground-color: #b58105;
+ --ifm-alert-border-color: #b58105;
}
-[data-theme='dark'] .admonition--warning {
- border-left-color: #febc2e;
+.theme-admonition-caution,
+.theme-admonition-danger {
+ --ifm-alert-background-color: rgba(255, 95, 87, 0.08);
+ --ifm-alert-background-color-highlight: rgba(255, 95, 87, 0.15);
+ --ifm-alert-foreground-color: #cc3730;
+ --ifm-alert-border-color: #cc3730;
}
-[data-theme='dark'] .admonition--caution {
- border-left-color: #ff5f57;
+/* Admonition styles - dark mode */
+[data-theme='dark'] .theme-admonition {
+ background: #111111;
}
-[data-theme='dark'] .admonition--info .admonition-heading h5 {
- color: #00d4ff;
+[data-theme='dark'] .theme-admonition-info {
+ --ifm-alert-background-color: rgba(0, 212, 255, 0.06);
+ --ifm-alert-background-color-highlight: rgba(0, 212, 255, 0.12);
+ --ifm-alert-foreground-color: #00d4ff;
+ --ifm-alert-border-color: #00d4ff;
}
-[data-theme='dark'] .admonition--tip .admonition-heading h5 {
- color: #28c840;
+[data-theme='dark'] .theme-admonition-tip {
+ --ifm-alert-background-color: rgba(40, 200, 64, 0.06);
+ --ifm-alert-background-color-highlight: rgba(40, 200, 64, 0.12);
+ --ifm-alert-foreground-color: #28c840;
+ --ifm-alert-border-color: #28c840;
}
-[data-theme='dark'] .admonition--warning .admonition-heading h5 {
- color: #febc2e;
+[data-theme='dark'] .theme-admonition-warning {
+ --ifm-alert-background-color: rgba(254, 188, 46, 0.06);
+ --ifm-alert-background-color-highlight: rgba(254, 188, 46, 0.12);
+ --ifm-alert-foreground-color: #febc2e;
+ --ifm-alert-border-color: #febc2e;
}
-[data-theme='dark'] .admonition--caution .admonition-heading h5 {
- color: #ff5f57;
+[data-theme='dark'] .theme-admonition-caution,
+[data-theme='dark'] .theme-admonition-danger {
+ --ifm-alert-background-color: rgba(255, 95, 87, 0.06);
+ --ifm-alert-background-color-highlight: rgba(255, 95, 87, 0.12);
+ --ifm-alert-foreground-color: #ff5f57;
+ --ifm-alert-border-color: #ff5f57;
}
[data-theme='dark'] table {
diff --git a/website/src/css/landing.css b/website/src/css/landing.css
index ab0b95c8..498457d8 100644
--- a/website/src/css/landing.css
+++ b/website/src/css/landing.css
@@ -1,191 +1,253 @@
+/* ============================================================
+ Mercury Landing Page — Full Visual Revamp
+ ============================================================ */
+
.lp-page {
- --bg: #0a0a0a;
- --bg-card: #111111;
- --bg-card-hover: #161616;
- --bg-terminal: #0c0c0c;
+ --bg: #06060a;
+ --bg-card: #0d0d14;
+ --bg-card-hover: #12121c;
+ --bg-terminal: #08080e;
--cyan: #00d4ff;
--cyan-dim: #0090aa;
- --cyan-glow: rgba(0, 212, 255, 0.15);
- --white: #f0f0f0;
- --gray: #888888;
- --gray-dim: #555555;
- --border: #222222;
+ --cyan-glow: rgba(0, 212, 255, 0.12);
+ --cyan-glow-strong: rgba(0, 212, 255, 0.25);
+ --white: #e8e8ee;
+ --white-bright: #f4f4f8;
+ --gray: #7a7a8a;
+ --gray-dim: #4a4a58;
+ --border: #1a1a28;
+ --border-hover: #2a2a3a;
--red: #ff5f57;
--yellow: #febc2e;
--green: #28c840;
+ --purple: #a78bfa;
--font: 'SF Mono', 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Menlo', monospace;
--font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
- --max-w: 1120px;
+ --max-w: 1140px;
+ --radius: 16px;
+ --radius-sm: 10px;
background: var(--bg);
color: var(--white);
font-family: var(--font-body);
line-height: 1.7;
overflow-x: hidden;
- margin: - var(--ifm-navbar-height);
}
+
.lp-page .navbar,
.lp-page .footer { display: none !important; }
.lp-page .main-wrapper { padding: 0; margin: 0; }
-
-.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
-.lp-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 56px; }
-.lp-nav-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); font-size: 1.1em; text-decoration: none; }
-.lp-nav-logo:hover { text-decoration: none; }
-.lp-nav-links { display: flex; gap: 24px; align-items: center; }
-.lp-nav-links a { color: var(--gray); font-size: 0.9em; transition: color 0.2s; text-decoration: none; }
-.lp-nav-links a:hover { color: var(--white); text-decoration: none; }
-.lp-nav-right { display: flex; gap: 24px; align-items: center; }
-.lp-nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5em; cursor: pointer; padding: 0; line-height: 1; }
-.lp-github-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--gray) !important; padding: 4px 12px 4px 10px; border-radius: 6px; font-size: 0.85em; font-weight: 500; text-decoration: none !important; transition: all 0.2s; }
-.lp-github-btn:hover { border-color: #444; color: var(--white) !important; background: rgba(255,255,255,0.1); text-decoration: none !important; }
-.lp-github-btn svg { flex-shrink: 0; }
-.lp-github-btn-text { font-size: 0.95em; font-weight: 600; }
-.lp-github-btn-count { display: inline-flex; align-items: center; background: rgba(255,255,255,0.06); border-left: 1px solid var(--border); margin-left: 2px; margin-right: -6px; padding: 3px 8px; border-radius: 0 5px 5px 0; font-weight: 600; min-width: 20px; text-align: center; }
-
-@media (max-width: 768px) {
- .lp-nav-links {
- display: none;
- position: absolute;
- top: 56px;
- left: 0;
- right: 0;
- background: var(--bg);
- flex-direction: column;
- padding: 16px 24px;
- gap: 16px;
- border-bottom: 1px solid var(--border);
- z-index: 99;
- }
- .lp-nav-links.lp-nav-links-open { display: flex; }
- .lp-nav-toggle { display: block; }
- .lp-hero-ascii { font-size: 0.45rem; }
- .lp-hero-terminal, .lp-terminal-window { margin-left: -12px; margin-right: -12px; border-radius: 0; }
- .lp-terminal-body { padding: 16px; font-size: 0.75em; }
- .lp-steps { flex-direction: column; align-items: center; }
- .lp-compare-table { font-size: 0.8em; }
- .lp-footer-inner { flex-direction: column; text-align: center; }
-}
.lp-page a { color: var(--cyan); text-decoration: none; }
.lp-page a:hover { text-decoration: underline; }
-.lp-page code { font-family: var(--font); background: rgba(0, 212, 255, 0.08); color: var(--cyan); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; }
+.lp-page code { font-family: var(--font); background: rgba(0, 212, 255, 0.06); color: var(--cyan); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; }
.lp-container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
-.lp-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 0 80px; overflow: hidden; margin-top: -56px; }
-.lp-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,212,255,0.08) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,255,0.04) 0%, transparent 50%); }
+/* ---- Navigation ---- */
+.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(6, 6, 10, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
+.lp-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
+.lp-nav-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); font-size: 1.15em; text-decoration: none !important; display: flex; align-items: center; gap: 4px; }
+.lp-nav-logo:hover { text-decoration: none !important; }
+.lp-nav-logo-icon { font-size: 1.2em; }
+.lp-nav-links { display: flex; gap: 28px; align-items: center; }
+.lp-nav-links a { color: var(--gray); font-size: 0.88em; font-weight: 500; transition: color 0.2s; text-decoration: none !important; letter-spacing: 0.01em; }
+.lp-nav-links a:hover { color: var(--white); text-decoration: none !important; }
+.lp-nav-right { display: flex; gap: 16px; align-items: center; }
+.lp-nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5em; cursor: pointer; padding: 0; line-height: 1; }
+.lp-github-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--gray) !important; padding: 6px 14px 6px 10px; border-radius: 8px; font-size: 0.85em; font-weight: 500; text-decoration: none !important; transition: all 0.2s; }
+.lp-github-btn:hover { border-color: var(--border-hover); color: var(--white) !important; background: rgba(255,255,255,0.08); text-decoration: none !important; }
+.lp-github-btn svg { flex-shrink: 0; }
+.lp-github-btn-count { font-weight: 600; padding-left: 4px; border-left: 1px solid var(--border); margin-left: 6px; padding-left: 8px; }
+
+/* ---- Hero ---- */
+.lp-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 0 100px; overflow: hidden; }
+.lp-hero-mesh { position: absolute; inset: 0; background:
+ radial-gradient(ellipse 100% 80% at 50% -30%, rgba(0,212,255,0.07) 0%, transparent 60%),
+ radial-gradient(ellipse 50% 50% at 80% 80%, rgba(167,139,250,0.04) 0%, transparent 50%),
+ radial-gradient(ellipse 40% 40% at 20% 60%, rgba(0,212,255,0.03) 0%, transparent 50%);
+}
+.lp-hero-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%); pointer-events: none; }
.lp-hero-content { position: relative; text-align: center; }
-.lp-hero-ascii { font-family: var(--font); font-size: clamp(0.55rem, 2vw, 1.1rem); color: var(--cyan); line-height: 1.3; margin-bottom: 24px; text-shadow: 0 0 30px rgba(0,212,255,0.3); background: none !important; background-color: transparent !important; border: none !important; padding: 0 !important; margin-left: 0 !important; margin-right: 0 !important; border-radius: 0 !important; white-space: pre; overflow-x: auto; }
-.lp-hero-tagline { font-size: clamp(1.3em, 3vw, 1.8em); font-weight: 300; color: var(--white); margin-bottom: 16px; letter-spacing: 0.02em; }
-.lp-hero-sub { color: var(--gray); max-width: 600px; margin: 0 auto 32px; font-size: 1.05em; }
-.lp-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
-.lp-hero-install { display: inline-block; background: var(--bg-terminal); border: 1px solid var(--border); border-radius: 8px; padding: 12px 24px; margin-bottom: 48px; }
-.lp-hero-install code { background: none; padding: 0; font-size: 1em; }
-
-.lp-btn { font-family: var(--font-body); font-size: 1em; padding: 12px 28px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-block; }
-.lp-btn-primary { background: var(--cyan); color: #0a0a0a !important; font-weight: 600; }
-.lp-btn-primary:hover { background: #33ddff; text-decoration: none; }
-.lp-btn-secondary { background: transparent; color: var(--cyan); border: 1px solid var(--cyan-dim); }
-.lp-btn-secondary:hover { background: var(--cyan-glow); text-decoration: none; }
-
-.lp-terminal-window { background: var(--bg-terminal); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-align: left; box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 80px rgba(0,212,255,0.06); }
-.lp-hero-terminal { max-width: 680px; margin: 0 auto; }
-.lp-terminal-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: #1a1a1a; border-bottom: 1px solid var(--border); }
+.lp-hero-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; border: 1px solid var(--border); background: rgba(0,212,255,0.04); color: var(--cyan); font-size: 0.82em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 28px; }
+.lp-hero-title { font-size: clamp(2.2em, 5vw, 3.8em); font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: var(--white-bright); letter-spacing: -0.02em; }
+.lp-hero-highlight { background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
+.lp-hero-sub { color: var(--gray); max-width: 560px; margin: 0 auto 36px; font-size: 1.1em; line-height: 1.65; }
+.lp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
+.lp-hero-install { display: inline-block; background: var(--bg-terminal); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 28px; }
+.lp-hero-install code { background: none; padding: 0; font-size: 0.95em; }
+
+/* ---- Buttons ---- */
+.lp-btn { font-family: var(--font-body); font-size: 0.95em; font-weight: 600; padding: 12px 28px; border-radius: var(--radius-sm); border: none; cursor: pointer; text-decoration: none !important; transition: all 0.25s; display: inline-block; }
+.lp-btn-primary { background: var(--cyan); color: #06060a !important; }
+.lp-btn-primary:hover { background: #33ddff; box-shadow: 0 0 30px rgba(0,212,255,0.3); text-decoration: none !important; }
+.lp-btn-secondary { background: transparent; color: var(--cyan) !important; border: 1px solid var(--cyan-dim); }
+.lp-btn-secondary:hover { background: var(--cyan-glow); text-decoration: none !important; }
+
+/* ---- Terminal ---- */
+.lp-terminal-window { background: var(--bg-terminal); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: left; box-shadow: 0 12px 60px rgba(0,0,0,0.5), 0 0 100px rgba(0,212,255,0.04); }
+.lp-terminal-hero { max-width: 720px; margin: 0 auto; }
+.lp-terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #0e0e16; border-bottom: 1px solid var(--border); }
.lp-terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.lp-dot-red { background: var(--red); }
.lp-dot-yellow { background: var(--yellow); }
.lp-dot-green { background: var(--green); }
.lp-terminal-title { font-family: var(--font); font-size: 0.75em; color: var(--gray-dim); margin-left: 8px; }
-.lp-terminal-body { font-family: var(--font); font-size: 0.85em; line-height: 1.7; padding: 20px 24px; min-height: 200px; color: var(--white); overflow-x: auto; }
-.lp-prompt { color: var(--cyan); }
-.lp-agent { color: var(--cyan); font-weight: bold; }
-.lp-tool { color: var(--gray-dim); font-style: italic; }
+.lp-terminal-body { font-family: var(--font); font-size: 0.82em; line-height: 1.8; padding: 22px 26px; min-height: 220px; color: var(--white); overflow-x: auto; }
+.lp-terminal-inline { background: var(--bg-terminal); border: 1px solid var(--border); border-radius: 8px; padding: 12px 18px; margin: 8px 0; }
+.lp-terminal-inline code { background: none; padding: 0; font-size: 0.95em; }
+
+/* Terminal line types */
+.lp-prompt { color: var(--cyan); font-weight: 600; }
+.lp-input-text { color: var(--white-bright); }
+.lp-agent { color: var(--cyan); font-weight: 700; }
+.lp-stream-text { color: var(--white); }
+.lp-tool { color: var(--gray); }
+.lp-status { color: var(--yellow); font-weight: 500; }
.lp-output { color: var(--gray); }
+.lp-autopilot { color: var(--purple); font-weight: 500; }
+.lp-completion { color: var(--green); font-weight: 500; }
.lp-cursor { display: inline-block; width: 8px; height: 1em; background: var(--cyan); margin-left: 2px; animation: lp-blink 1s step-end infinite; vertical-align: text-bottom; }
@keyframes lp-blink { 50% { opacity: 0; } }
-.lp-terminal-inline { background: var(--bg-terminal); border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin: 12px 0; }
-.lp-terminal-inline code { background: none; padding: 0; font-size: 1em; }
-
-.lp-section { padding: 100px 0; }
-.lp-section-dark { background: #080808; }
-.lp-section-alt { background: #0c0c14; }
-.lp-section-title { font-size: clamp(1.5em, 3.5vw, 2.2em); font-weight: 700; margin-bottom: 12px; text-align: center; }
-.lp-section-sub { color: var(--gray); text-align: center; margin-bottom: 48px; font-size: 1.05em; }
-
-.lp-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
-.lp-feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 32px; transition: all 0.3s; }
-.lp-feature-card:hover { background: var(--bg-card-hover); border-color: var(--cyan-dim); transform: translateY(-2px); }
-.lp-feature-icon { font-size: 2em; margin-bottom: 16px; }
-.lp-feature-card h3 { font-size: 1.15em; margin-bottom: 8px; color: var(--white); }
-.lp-feature-card p { color: var(--gray); font-size: 0.95em; }
-
-.lp-steps { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
-.lp-step { text-align: center; flex: 1; min-width: 240px; max-width: 320px; }
-.lp-step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2em; margin-bottom: 16px; }
-.lp-step h3 { margin-bottom: 8px; font-size: 1.2em; }
-.lp-step p { color: var(--gray); font-size: 0.95em; }
-
-.lp-caps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
-.lp-cap-group { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
-.lp-cap-group h3 { font-size: 1em; margin-bottom: 12px; }
-.lp-cap-group ul { list-style: none; padding: 0; margin: 0; }
-.lp-cap-group li { padding: 4px 0; color: var(--gray); font-size: 0.9em; }
-.lp-cap-group li code { font-size: 0.85em; }
+/* ---- Sections ---- */
+.lp-section { padding: 110px 0; }
+.lp-section-dark { background: #04040a; }
+.lp-section-alt { background: #08081a; }
+.lp-section-title { font-size: clamp(1.6em, 3.5vw, 2.4em); font-weight: 800; margin-bottom: 12px; text-align: center; color: var(--white-bright); letter-spacing: -0.01em; }
+.lp-section-sub { color: var(--gray); text-align: center; margin-bottom: 56px; font-size: 1.05em; max-width: 600px; margin-left: auto; margin-right: auto; }
+
+/* ---- Three Pillars ---- */
+.lp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
+.lp-pillar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; transition: all 0.3s; }
+.lp-pillar:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
+.lp-pillar-icon { color: var(--cyan); margin-bottom: 20px; }
+.lp-pillar h3 { font-size: 1.4em; margin-bottom: 8px; color: var(--white-bright); font-weight: 700; }
+.lp-pillar-lead { color: var(--gray); font-size: 0.95em; margin-bottom: 20px; }
+.lp-pillar ul { list-style: none; padding: 0; margin: 0; }
+.lp-pillar li { padding: 6px 0; color: var(--gray); font-size: 0.9em; padding-left: 16px; position: relative; }
+.lp-pillar li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-dim); }
+
+/* ---- Task Flow Timeline ---- */
+.lp-flow-timeline { max-width: 600px; margin: 0 auto; position: relative; }
+.lp-flow-timeline::before { content: ''; position: absolute; left: 20px; top: 30px; bottom: 30px; width: 2px; background: var(--border); }
+.lp-flow-step { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 36px; position: relative; }
+.lp-flow-step:last-child { margin-bottom: 0; }
+.lp-flow-dot { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--cyan-dim); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9em; color: var(--cyan); z-index: 1; }
+.lp-flow-content h4 { font-size: 1.05em; color: var(--white-bright); margin-bottom: 4px; font-weight: 600; }
+.lp-flow-content p { color: var(--gray); font-size: 0.92em; margin: 0; }
+
+/* ---- Channels Grid ---- */
+.lp-channels-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
+.lp-channel-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; transition: all 0.3s; }
+.lp-channel-card:hover { border-color: var(--border-hover); }
+.lp-channel-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
+.lp-channel-icon { font-size: 1.6em; color: var(--cyan); font-family: var(--font); }
+.lp-channel-card h3 { font-size: 1.3em; color: var(--white-bright); font-weight: 700; margin: 0; }
+.lp-channel-card ul { list-style: none; padding: 0; margin: 0; }
+.lp-channel-card li { padding: 7px 0; color: var(--gray); font-size: 0.9em; padding-left: 16px; position: relative; }
+.lp-channel-card li::before { content: ''; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-dim); }
+
+/* ---- Agent Features ---- */
+.lp-agent-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
+.lp-agent-feature { text-align: center; padding: 20px; }
+.lp-agent-feature h4 { color: var(--white-bright); font-size: 0.95em; margin-bottom: 6px; font-weight: 600; }
+.lp-agent-feature p { color: var(--gray); font-size: 0.85em; margin: 0; }
+
+/* ---- Autopilot ---- */
+.lp-autopilot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
+.lp-autopilot-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
+.lp-autopilot-verdict { font-family: var(--font); font-size: 0.85em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 16px; border-radius: 20px; display: inline-block; margin-bottom: 16px; }
+.lp-verdict-productive { background: rgba(40,200,64,0.1); color: var(--green); border: 1px solid rgba(40,200,64,0.2); }
+.lp-verdict-suspicious { background: rgba(254,188,46,0.1); color: var(--yellow); border: 1px solid rgba(254,188,46,0.2); }
+.lp-verdict-stuck { background: rgba(255,95,87,0.1); color: var(--red); border: 1px solid rgba(255,95,87,0.2); }
+.lp-autopilot-card p { color: var(--gray); font-size: 0.9em; margin: 0; }
+
+/* ---- Second Brain ---- */
+.lp-brain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
+.lp-brain-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all 0.3s; }
+.lp-brain-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
+.lp-brain-card h3 { font-size: 1.1em; margin-bottom: 8px; color: var(--white-bright); font-weight: 600; }
+.lp-brain-card p { color: var(--gray); font-size: 0.92em; margin: 0; line-height: 1.6; }
+
+/* ---- Providers ---- */
+.lp-provider-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 24px; }
+.lp-provider-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; transition: all 0.3s; }
+.lp-provider-card:hover { border-color: var(--border-hover); }
+.lp-provider-card h4 { color: var(--white-bright); font-size: 1em; margin-bottom: 4px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
+.lp-provider-card p { color: var(--gray); font-size: 0.88em; margin: 0; }
+.lp-provider-badge { font-size: 0.65em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 4px; background: rgba(0, 212, 255, 0.12); color: var(--cyan); border: 1px solid rgba(0, 212, 255, 0.25); }
+.lp-provider-note { text-align: center; color: var(--gray-dim); font-size: 0.9em; margin-top: 20px; padding: 16px; border: 1px dashed var(--border); border-radius: var(--radius-sm); }
+.lp-provider-note p { margin: 0; }
+/* ---- Comparison ---- */
.lp-compare-table { overflow-x: auto; }
-.lp-compare-table table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
+.lp-compare-table table { width: 100%; border-collapse: collapse; font-size: 0.88em; }
.lp-compare-table th, .lp-compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
-.lp-compare-table th { color: var(--gray-dim); font-weight: 600; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.04em; }
+.lp-compare-table th { color: var(--gray-dim); font-weight: 600; font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.05em; }
.lp-compare-table th.lp-highlight { color: var(--cyan); }
.lp-compare-table td.lp-highlight { color: var(--white); font-weight: 500; }
.lp-compare-table td.lp-no { color: var(--gray-dim); }
.lp-compare-table td.lp-partial { color: var(--yellow); }
-.lp-compare-table tr:hover td { background: rgba(255,255,255,0.02); }
-
-.lp-arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
-.lp-arch-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
-.lp-arch-label { color: var(--cyan); font-family: var(--font); font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
-.lp-arch-value { font-weight: 600; font-size: 1.05em; margin-bottom: 6px; }
-.lp-arch-desc { color: var(--gray); font-size: 0.9em; }
-
-.lp-provider-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
-.lp-provider-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: all 0.3s; }
-.lp-provider-card:hover { background: var(--bg-card-hover); border-color: var(--cyan-dim); transform: translateY(-2px); }
-.lp-provider-logo { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 1.5em; }
-.lp-provider-info h3 { font-size: 1.05em; margin-bottom: 4px; color: var(--white); }
-.lp-provider-info p { color: var(--gray); font-size: 0.9em; margin-bottom: 0; line-height: 1.5; }
-.lp-provider-note { text-align: center; color: var(--gray-dim); font-size: 0.92em; margin-top: 16px; padding: 16px; border: 1px dashed var(--border); border-radius: 8px; }
-.lp-provider-note p { margin: 0; }
+.lp-compare-table tr:hover td { background: rgba(255,255,255,0.015); }
-.lp-brain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
-.lp-brain-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; transition: all 0.3s ease; }
-.lp-brain-card:hover { background: var(--bg-card-hover); border-color: var(--cyan-dim); transform: translateY(-2px); }
-.lp-brain-card h3 { font-size: 1.15em; margin-bottom: 8px; color: var(--white); }
-.lp-brain-card p { color: var(--gray); font-size: 0.95em; line-height: 1.65; }
+/* ---- Install Steps ---- */
+.lp-install-steps { max-width: 560px; margin: 0 auto; }
+.lp-install-step { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; }
+.lp-install-step:last-child { margin-bottom: 0; }
+.lp-install-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1em; }
+.lp-install-step h4 { font-size: 1.1em; color: var(--white-bright); margin-bottom: 4px; font-weight: 700; }
+.lp-install-step p { color: var(--gray); font-size: 0.9em; margin: 4px 0 0; }
+/* ---- CTA ---- */
.lp-cta-section { text-align: center; }
-.lp-cta-terminal { display: inline-block; background: var(--bg-terminal); border: 1px solid var(--cyan-dim); border-radius: 10px; padding: 20px 32px; margin: 32px 0 16px; box-shadow: 0 0 40px var(--cyan-glow); }
-.lp-cta-terminal code { background: none; padding: 0; font-size: 1.1em; color: var(--cyan); }
+.lp-cta-terminal { display: inline-block; background: var(--bg-terminal); border: 1px solid var(--cyan-dim); border-radius: var(--radius-sm); padding: 20px 36px; margin: 32px 0 16px; box-shadow: 0 0 60px var(--cyan-glow); }
+.lp-cta-terminal code { background: none; padding: 0; font-size: 1.05em; color: var(--cyan); }
.lp-cta-sub { color: var(--gray); margin-bottom: 24px; }
-.lp-cta-links { display: flex; gap: 24px; justify-content: center; }
-.lp-cta-links a { color: var(--gray); font-size: 0.95em; }
+.lp-cta-links { display: flex; gap: 28px; justify-content: center; }
+.lp-cta-links a { color: var(--gray); font-size: 0.92em; font-weight: 500; }
.lp-cta-links a:hover { color: var(--cyan); }
-.lp-footer { border-top: 1px solid var(--border); padding: 32px 0; }
+/* ---- Footer ---- */
+.lp-footer { border-top: 1px solid var(--border); padding: 36px 0; }
.lp-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.lp-footer-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); }
-.lp-footer-tagline { color: var(--gray-dim); font-size: 0.9em; margin-left: 12px; }
+.lp-footer-tagline { color: var(--gray-dim); font-size: 0.88em; margin-left: 12px; }
.lp-footer-links { display: flex; gap: 24px; }
-.lp-footer-links a { color: var(--gray-dim); font-size: 0.9em; }
+.lp-footer-links a { color: var(--gray-dim); font-size: 0.88em; }
.lp-footer-links a:hover { color: var(--white); }
-.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
+/* ---- Animations ---- */
+.lp-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.lp-reveal.lp-revealed { opacity: 1; transform: translateY(0); }
+/* ---- Responsive ---- */
+@media (max-width: 1024px) {
+ .lp-pillars { grid-template-columns: 1fr; }
+ .lp-channels-grid { grid-template-columns: 1fr; }
+ .lp-agent-features { grid-template-columns: repeat(2, 1fr); }
+ .lp-autopilot-grid { grid-template-columns: 1fr; }
+}
+
@media (max-width: 768px) {
- .lp-hero-ascii { font-size: 0.45rem; }
- .lp-hero-terminal, .lp-terminal-window { margin-left: -12px; margin-right: -12px; border-radius: 0; }
- .lp-terminal-body { padding: 16px; font-size: 0.75em; }
- .lp-steps { flex-direction: column; align-items: center; }
- .lp-compare-table { font-size: 0.8em; }
+ .lp-nav-links {
+ display: none;
+ position: absolute;
+ top: 60px;
+ left: 0;
+ right: 0;
+ background: var(--bg);
+ flex-direction: column;
+ padding: 20px 24px;
+ gap: 16px;
+ border-bottom: 1px solid var(--border);
+ z-index: 99;
+ }
+ .lp-nav-links.lp-nav-links-open { display: flex; }
+ .lp-nav-toggle { display: block; }
+ .lp-hero { padding: 120px 0 60px; }
+ .lp-hero-title { font-size: 2em; }
+ .lp-terminal-window { margin-left: -12px; margin-right: -12px; border-radius: 0; }
+ .lp-terminal-body { padding: 16px; font-size: 0.72em; }
+ .lp-agent-features { grid-template-columns: 1fr; }
+ .lp-compare-table { font-size: 0.78em; }
.lp-footer-inner { flex-direction: column; text-align: center; }
-}
\ No newline at end of file
+ .lp-section { padding: 72px 0; }
+}
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx
index 125cefd1..478fe9d8 100644
--- a/website/src/pages/index.tsx
+++ b/website/src/pages/index.tsx
@@ -1,47 +1,42 @@
import React, { useEffect, useRef } from 'react';
import Link from '@docusaurus/Link';
import Head from '@docusaurus/Head';
+import Killipi from '@site/src/components/Killipi';
import '@site/src/css/landing.css';
type TerminalLine = {
- type: 'prompt' | 'input' | 'tool' | 'output' | 'agent' | 'stream';
+ type: 'prompt' | 'input' | 'tool' | 'output' | 'status' | 'agent' | 'stream' | 'autopilot' | 'completion';
text: string;
};
const heroLines: TerminalLine[] = [
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'install skill from https://example.com/daily-digest.md' },
- { type: 'tool', text: ' [Using: install_skill]' },
- { type: 'output', text: ' Skill "daily-digest" installed successfully.' },
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'schedule daily-digest every day at 9am' },
- { type: 'tool', text: ' [Using: schedule_task]' },
- { type: 'output', text: ' Task scheduled: daily-digest (cron: 0 9 * * *)' },
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'fetch latest repos of hotheadhacker' },
- { type: 'tool', text: ' [Using: fetch_url]' },
+ { type: 'prompt', text: '> ' },
+ { type: 'input', text: 'refactor the auth module to use JWT and add tests' },
+ { type: 'status', text: ' ⚙️ Mercury working (step 1)' },
+ { type: 'tool', text: ' ✅ read_file · src/auth/handler.ts' },
+ { type: 'tool', text: ' ✅ read_file · src/auth/middleware.ts' },
+ { type: 'tool', text: ' ✅ edit_file · src/auth/handler.ts' },
+ { type: 'tool', text: ' ✅ create_file · src/auth/jwt.ts' },
+ { type: 'tool', text: ' ✅ create_file · tests/auth.test.ts' },
+ { type: 'tool', text: ' ✅ run_command · npm test' },
+ { type: 'output', text: ' Tests: 8 passed, 0 failed' },
+ { type: 'completion', text: ' ✅ Task complete (6 steps · 34s) · claude-sonnet · 8.2k tokens' },
{ type: 'agent', text: 'Mercury: ' },
- { type: 'stream', text: 'Here are the latest repositories by hotheadhacker: **sekond-brain** (updated today), **no-as-a-service** (7.1k stars)...' },
+ { type: 'stream', text: 'Done. Replaced session-based auth with JWT. Created jwt.ts with sign/verify helpers and added 8 tests covering token generation, expiry, and middleware validation.' },
];
-const demoLines: TerminalLine[] = [
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'read the package.json and tell me the deps' },
- { type: 'tool', text: ' [Using: read_file]' },
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'edit the version to 0.2.0' },
- { type: 'tool', text: ' [Using: edit_file]' },
- { type: 'output', text: ' Successfully replaced "0.1.0" with "0.2.0" in package.json' },
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'commit that change' },
- { type: 'tool', text: ' [Using: git_add, git_commit]' },
- { type: 'output', text: ' [git add package.json] [git commit -m "bump version to 0.2.0"]' },
- { type: 'prompt', text: 'You: ' },
- { type: 'input', text: 'send me the package.json file' },
- { type: 'tool', text: ' [Using: send_file]' },
- { type: 'output', text: ' File sent: package.json (1.2KB)' },
+const multiAgentLines: TerminalLine[] = [
+ { type: 'prompt', text: '> ' },
+ { type: 'input', text: 'research the best pagination strategies, then implement cursor-based pagination for our API' },
+ { type: 'output', text: ' 🤖 Multi-agent mode activated.' },
+ { type: 'output', text: ' Agent a1: researching pagination strategies' },
+ { type: 'output', text: ' Agent a2: implementing cursor-based pagination' },
+ { type: 'tool', text: ' 🔄 a1: fetch_url, fetch_url, read_file' },
+ { type: 'tool', text: ' 🔄 a2: read_file, edit_file, create_file' },
+ { type: 'completion', text: ' ✅ a1 completed (12.3s) — 3 strategies compared' },
+ { type: 'completion', text: ' ✅ a2 completed (18.7s) — cursor pagination added to 4 endpoints' },
{ type: 'agent', text: 'Mercury: ' },
- { type: 'stream', text: "Done! I've read the package.json, updated the version, committed the change, and sent you the file. Anything else?" },
+ { type: 'stream', text: 'Both agents are done. a1 found that cursor-based is optimal for our use case (confirmed by a2\'s implementation). Want me to review the changes?' },
];
function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: number) {
@@ -65,7 +60,7 @@ function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: n
if (line.type === 'input') {
currentSpan = document.createElement('span');
- currentSpan.style.color = '#f0f0f0';
+ currentSpan.className = 'lp-input-text';
container.appendChild(currentSpan);
charIdx = 0;
typeChars(line.text, () => {
@@ -83,6 +78,17 @@ function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: n
container.appendChild(span);
container.appendChild(document.createElement('br'));
idx++;
+ setTimeout(nextLine, speed * 3);
+ return;
+ }
+
+ if (line.type === 'status') {
+ const span = document.createElement('span');
+ span.className = 'lp-status';
+ span.textContent = line.text;
+ container.appendChild(span);
+ container.appendChild(document.createElement('br'));
+ idx++;
setTimeout(nextLine, speed * 2);
return;
}
@@ -94,7 +100,29 @@ function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: n
container.appendChild(span);
container.appendChild(document.createElement('br'));
idx++;
- setTimeout(nextLine, speed);
+ setTimeout(nextLine, speed * 2);
+ return;
+ }
+
+ if (line.type === 'autopilot') {
+ const span = document.createElement('span');
+ span.className = 'lp-autopilot';
+ span.textContent = line.text;
+ container.appendChild(span);
+ container.appendChild(document.createElement('br'));
+ idx++;
+ setTimeout(nextLine, speed * 4);
+ return;
+ }
+
+ if (line.type === 'completion') {
+ const span = document.createElement('span');
+ span.className = 'lp-completion';
+ span.textContent = line.text;
+ container.appendChild(span);
+ container.appendChild(document.createElement('br'));
+ idx++;
+ setTimeout(nextLine, speed * 3);
return;
}
@@ -110,7 +138,7 @@ function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: n
if (line.type === 'stream') {
currentSpan = document.createElement('span');
- currentSpan.style.color = '#f0f0f0';
+ currentSpan.className = 'lp-stream-text';
container.appendChild(currentSpan);
charIdx = 0;
typeChars(line.text, () => {
@@ -119,7 +147,7 @@ function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: n
const cursor = document.createElement('span');
cursor.className = 'lp-cursor';
container.appendChild(cursor);
- }, speed * 1.5);
+ }, speed * 1.2);
return;
}
@@ -144,7 +172,7 @@ function typeTerminal(container: HTMLDivElement, lines: TerminalLine[], speed: n
export default function LandingPage(): React.ReactElement {
const heroTermRef = useRef<HTMLDivElement>(null);
- const demoTermRef = useRef<HTMLDivElement>(null);
+ const agentTermRef = useRef<HTMLDivElement>(null);
const [ghStars, setGhStars] = React.useState('');
const [mobileMenuOpen, setMobileMenuOpen] = React.useState(false);
@@ -162,7 +190,7 @@ export default function LandingPage(): React.ReactElement {
useEffect(() => {
const heroEl = heroTermRef.current;
- const demoEl = demoTermRef.current;
+ const agentEl = agentTermRef.current;
const heroObs = heroEl
? new IntersectionObserver(
@@ -170,7 +198,7 @@ export default function LandingPage(): React.ReactElement {
entries.forEach(entry => {
if (entry.isIntersecting) {
heroObs.unobserve(entry.target);
- typeTerminal(heroEl, heroLines, 25);
+ typeTerminal(heroEl, heroLines, 22);
}
});
},
@@ -178,13 +206,13 @@ export default function LandingPage(): React.ReactElement {
)
: null;
- const demoObs = demoEl
+ const agentObs = agentEl
? new IntersectionObserver(
entries => {
entries.forEach(entry => {
if (entry.isIntersecting) {
- demoObs.unobserve(entry.target);
- typeTerminal(demoEl, demoLines, 18);
+ agentObs.unobserve(entry.target);
+ typeTerminal(agentEl, multiAgentLines, 20);
}
});
},
@@ -193,11 +221,11 @@ export default function LandingPage(): React.ReactElement {
: null;
if (heroEl && heroObs) heroObs.observe(heroEl);
- if (demoEl && demoObs) demoObs.observe(demoEl);
+ if (agentEl && agentObs) agentObs.observe(agentEl);
return () => {
if (heroObs) heroObs.disconnect();
- if (demoObs) demoObs.disconnect();
+ if (agentObs) agentObs.disconnect();
};
}, []);
@@ -221,184 +249,300 @@ export default function LandingPage(): React.ReactElement {
return (
<>
<Head>
- <title>Mercury — Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack</title>
- <meta name="description" content="The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling." />
- <meta property="og:title" content="Mercury — Soul-Driven AI Agent with Permission Guardrails" />
- <meta property="og:description" content="The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram." />
+ <title>Mercury — AI Agent That Thinks, Acts, and Asks Permission</title>
+ <meta name="description" content="An AI coding agent with real-time progress, multi-agent orchestration, intelligent loop detection, and hardened permissions. Runs 24/7 from CLI or Telegram." />
+ <meta property="og:title" content="Mercury — AI Agent That Thinks, Acts, and Asks Permission" />
+ <meta property="og:description" content="An AI coding agent with real-time progress, multi-agent orchestration, and hardened permissions. Runs 24/7 from CLI or Telegram." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://mercury.cosmicstack.org" />
<meta property="og:image" content="https://mercury.cosmicstack.org/img/card.png" />
<meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="Mercury — Soul-Driven AI Agent with Permission Guardrails" />
+ <meta name="twitter:title" content="Mercury — AI Agent That Thinks, Acts, and Asks Permission" />
<meta name="twitter:image" content="https://mercury.cosmicstack.org/img/card.png" />
</Head>
<div className="lp-page">
+ {/* Navigation */}
<nav className="lp-nav">
<div className="lp-nav-inner">
- <Link to="/" className="lp-nav-logo">☿ Mercury</Link>
+ <Link to="/" className="lp-nav-logo">
+ <span className="lp-nav-logo-icon">☿</span> Mercury
+ </Link>
<div className={`lp-nav-links ${mobileMenuOpen ? 'lp-nav-links-open' : ''}`}>
- <Link to="/#features" onClick={() => setMobileMenuOpen(false)}>Features</Link>
- <Link to="/#how-it-works" onClick={() => setMobileMenuOpen(false)}>Install</Link>
- <Link to="/#demo" onClick={() => setMobileMenuOpen(false)}>Demo</Link>
- <Link to="/#capabilities" onClick={() => setMobileMenuOpen(false)}>Capabilities</Link>
- <Link to="/#github" onClick={() => setMobileMenuOpen(false)}>GitHub</Link>
+ <Link to="/#pillars" onClick={() => setMobileMenuOpen(false)}>Features</Link>
+ <Link to="/#live-demo" onClick={() => setMobileMenuOpen(false)}>Demo</Link>
+ <Link to="/#channels" onClick={() => setMobileMenuOpen(false)}>Channels</Link>
+ <Link to="/#agents" onClick={() => setMobileMenuOpen(false)}>Multi-Agent</Link>
<Link to="/#compare" onClick={() => setMobileMenuOpen(false)}>Compare</Link>
<Link to="/docs" onClick={() => setMobileMenuOpen(false)}>Docs</Link>
</div>
<div className="lp-nav-right">
<a href="https://github.com/cosmicstack-labs/mercury-agent" className="lp-github-btn" target="_blank" rel="noopener">
- <svg viewBox="0 0 16 16" width="16" height="16" fill="currentColor" style={{ verticalAlign: '-2px' }}><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" /></svg>
- <span className="lp-github-btn-count">{ghStars} ⭐</span>
+ <svg viewBox="0 0 16 16" width="16" height="16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" /></svg>
+ {ghStars && <span className="lp-github-btn-count">{ghStars}</span>}
</a>
<button className="lp-nav-toggle" onClick={() => setMobileMenuOpen(!mobileMenuOpen)} aria-label="Menu">☰</button>
</div>
</div>
</nav>
+ {/* Hero */}
<section className="lp-hero">
- <div className="lp-hero-bg" />
+ <div className="lp-hero-mesh" />
+ <div className="lp-hero-glow" />
<div className="lp-container lp-hero-content">
- <pre className="lp-hero-ascii" aria-hidden="true">{` __ _____________ ________ ________ __
- / |/ / ____/ __ \\/ ____/ / / / __ \\ \\/ /
- / /|_/ / __/ / /_/ / / / / / / /_/ /\\ /
- / / / / /___/ _, _/ /___/ /_/ / _, _/ / /
-/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/`}</pre>
- <p className="lp-hero-tagline">Soul-driven. Token-efficient. Always on.</p>
+ <Killipi />
+ <h1 className="lp-hero-title">
+ The AI agent that<br />
+ <span className="lp-hero-highlight">thinks, acts, and asks.</span>
+ </h1>
<p className="lp-hero-sub">
- Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and
- hardened permissions. Runs 24/7 from your terminal or Telegram.
+ Multi-agent orchestration. Real-time progress. Intelligent loop detection.
+ 40+ tools. Permission guardrails. Runs 24/7 from your terminal or Telegram.
</p>
<div className="lp-hero-actions">
- <Link href="#how-it-works" className="lp-btn lp-btn-primary">Get Started</Link>
- <Link href="#demo" className="lp-btn lp-btn-secondary">See it in action</Link>
- <Link to="/docs" className="lp-btn lp-btn-secondary">Read Docs</Link>
+ <Link href="#live-demo" className="lp-btn lp-btn-primary">See It Work</Link>
+ <Link to="/docs" className="lp-btn lp-btn-secondary">Get Started</Link>
</div>
<div className="lp-hero-install">
<code>npm i -g @cosmicstack/mercury-agent && mercury</code>
</div>
- <div className="lp-terminal-window lp-hero-terminal">
+ </div>
+ </section>
+
+ {/* Three Pillars */}
+ <section id="pillars" className="lp-section">
+ <div className="lp-container">
+ <h2 className="lp-section-title">Built Different</h2>
+ <p className="lp-section-sub">Three principles that define Mercury.</p>
+ <div className="lp-pillars">
+ <div className="lp-pillar lp-reveal">
+ <div className="lp-pillar-icon">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="none" stroke="currentColor" strokeWidth="1.5"><circle cx="12" cy="12" r="10" /><path d="M12 6v6l4 2" /></svg>
+ </div>
+ <h3>Thinks</h3>
+ <p className="lp-pillar-lead">Mercury doesn't just execute. It orchestrates.</p>
+ <ul>
+ <li>Spawns parallel sub-agents for concurrent tasks</li>
+ <li>Mercury Autopilot detects stuck loops by analyzing parameter diversity and success rates</li>
+ <li>AI self-check in Allow All mode — the model evaluates its own progress</li>
+ <li>25-step agentic loop with graduated escalation</li>
+ </ul>
+ </div>
+ <div className="lp-pillar lp-reveal">
+ <div className="lp-pillar-icon">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="none" stroke="currentColor" strokeWidth="1.5"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" /></svg>
+ </div>
+ <h3>Acts</h3>
+ <p className="lp-pillar-lead">40+ built-in tools. Zero configuration.</p>
+ <ul>
+ <li>Filesystem, shell, git, GitHub PRs and issues</li>
+ <li>Spotify playback, search, playlists, and DJ mode</li>
+ <li>Markdown skill system with scheduling and elevation</li>
+ <li>Real-time progress with completion banners and token stats</li>
+ </ul>
+ </div>
+ <div className="lp-pillar lp-reveal">
+ <div className="lp-pillar-icon">
+ <svg viewBox="0 0 24 24" width="32" height="32" fill="none" stroke="currentColor" strokeWidth="1.5"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" /></svg>
+ </div>
+ <h3>Asks</h3>
+ <p className="lp-pillar-lead">Full control. Nothing happens without your say.</p>
+ <ul>
+ <li>Ask Me mode: prompts for every write, command, and scope change</li>
+ <li>Allow All mode: auto-approve with AI self-monitoring</li>
+ <li>Safe command whitelist — reads never prompt</li>
+ <li>Directory scoping with per-session memory</li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ {/* Live Demo */}
+ <section id="live-demo" className="lp-section lp-section-dark">
+ <div className="lp-container">
+ <h2 className="lp-section-title">Watch Mercury Work</h2>
+ <p className="lp-section-sub">A real multi-step coding task with tool calls, progress tracking, and completion stats.</p>
+ <div className="lp-terminal-window lp-terminal-hero">
<div className="lp-terminal-bar">
<span className="lp-terminal-dot lp-dot-red" />
<span className="lp-terminal-dot lp-dot-yellow" />
<span className="lp-terminal-dot lp-dot-green" />
- <span className="lp-terminal-title">terminal</span>
+ <span className="lp-terminal-title">mercury</span>
</div>
<div className="lp-terminal-body" ref={heroTermRef} />
</div>
</div>
</section>
- <section id="features" className="lp-section">
+ {/* How It Works — Task Flow */}
+ <section id="task-flow" className="lp-section">
<div className="lp-container">
- <h2 className="lp-section-title">Built Different</h2>
- <p className="lp-section-sub">Not another chatbot. An orchestrator that works for you.</p>
- <div className="lp-features-grid">
+ <h2 className="lp-section-title">Real-Time Task Intelligence</h2>
+ <p className="lp-section-sub">Mercury shows you exactly what's happening, when it's happening.</p>
+ <div className="lp-flow-timeline lp-reveal">
{[
- { icon: '☿', title: 'Soul-Driven Identity', desc: "Mercury isn't a blank slate. Its personality is defined by markdown soul files — soul.md, persona.md, taste.md, heartbeat.md — that you control." },
- { icon: '⚡', title: 'Token-Efficient', desc: 'Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%.' },
- { icon: '♾', title: 'Always On', desc: 'Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash.' },
- { icon: '📡', title: 'Multi-Channel', desc: 'CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access.' },
- { icon: '🤖', title: 'Sub-Agents', desc: 'Spawn parallel AI agents for concurrent tasks. Mercury orchestrates — research, code, and review run simultaneously. Non-blocking: keep chatting while agents work.' },
- { icon: '🎵', title: 'Spotify Integration', desc: 'Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue — all through natural language.' },
- { icon: '🧩', title: 'Skill System', desc: 'Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks.' },
- { icon: '🛡', title: 'Permission Hardened', desc: 'Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session.' },
- ].map((f, i) => (
- <div key={i} className="lp-feature-card lp-reveal">
- <div className="lp-feature-icon">{f.icon}</div>
- <h3>{f.title}</h3>
- <p>{f.desc}</p>
+ { step: '1', label: 'Message', desc: 'You send a task. Mercury begins working.' },
+ { step: '2', label: 'Status Card', desc: 'A single message appears showing live progress. On Telegram, it pins to the top.' },
+ { step: '3', label: 'Tool Steps', desc: 'Each tool call updates the card in place — read, edit, run, create. Last 5 steps visible.' },
+ { step: '4', label: 'Autopilot', desc: 'If Mercury detects a loop, it analyzes diversity and success rate. Productive work continues; stuck patterns stop.' },
+ { step: '5', label: 'Complete', desc: 'Status card deleted. AI response + completion banner with token stats and budget usage.' },
+ ].map((s, i) => (
+ <div key={i} className="lp-flow-step">
+ <div className="lp-flow-dot">{s.step}</div>
+ <div className="lp-flow-content">
+ <h4>{s.label}</h4>
+ <p>{s.desc}</p>
+ </div>
</div>
))}
</div>
</div>
</section>
- <section id="second-brain" className="lp-section lp-section-alt">
+ {/* Channels — CLI + Telegram */}
+ <section id="channels" className="lp-section lp-section-alt">
<div className="lp-container">
- <h2 className="lp-section-title">🧠 Second Brain</h2>
- <p className="lp-section-sub">Most AI agents forget everything when you close the chat. Mercury <em>remembers</em> — automatically, privately, and with surgical precision.</p>
- <div className="lp-brain-grid">
- {[
- { title: 'Learns Automatically', desc: 'After each conversation, Mercury extracts facts about you — your preferences, goals, projects, habits, relationships, and decisions.' },
- { title: 'Recalls What Matters', desc: 'Only memories relevant to the current conversation are injected — up to 5 facts within a 900-character budget.' },
- { title: 'Resolves Conflicts', desc: 'When Mercury detects a contradiction, the higher-confidence memory wins. No stale data.' },
- { title: '10 Memory Types', desc: 'Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection — each scored by confidence, importance, and durability.' },
- { title: 'Auto-Consolidation', desc: 'Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects.' },
- { title: 'You Stay in Control', desc: '/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite — nothing leaves.' },
- ].map((c, i) => (
- <div key={i} className="lp-brain-card lp-reveal">
- <h3>{c.title}</h3>
- <p>{c.desc}</p>
+ <h2 className="lp-section-title">Two Channels, One Agent</h2>
+ <p className="lp-section-sub">Same capabilities. Different interfaces. Both real-time.</p>
+ <div className="lp-channels-grid lp-reveal">
+ <div className="lp-channel-card">
+ <div className="lp-channel-header">
+ <span className="lp-channel-icon">{'>'}_</span>
+ <h3>CLI</h3>
</div>
- ))}
+ <ul>
+ <li>Ink-based TUI with live progress view</li>
+ <li>Slash command autocomplete with arrow navigation</li>
+ <li>Workspace IDE mode with file explorer and git panel</li>
+ <li>Keyboard shortcuts: Ctrl+B (background), Ctrl+T (view), Ctrl+P (plan)</li>
+ <li>Multi-line input, input history, streaming output</li>
+ <li>Interactive Spotify player with seek and volume</li>
+ </ul>
+ </div>
+ <div className="lp-channel-card">
+ <div className="lp-channel-header">
+ <span className="lp-channel-icon">✈</span>
+ <h3>Telegram</h3>
+ </div>
+ <ul>
+ <li>Single pinned status card — one message shows all progress</li>
+ <li>Ephemeral permission prompts (auto-deleted after response)</li>
+ <li>15 bot commands registered in the menu</li>
+ <li>Inline keyboards for permissions and mode selection</li>
+ <li>File uploads with auto-type detection</li>
+ <li>Organization access model with admin/member roles</li>
+ </ul>
+ </div>
</div>
</div>
</section>
- <section id="how-it-works" className="lp-section lp-section-dark">
+ {/* Multi-Agent */}
+ <section id="agents" className="lp-section lp-section-dark">
<div className="lp-container">
- <h2 className="lp-section-title">Up and Running in 60 Seconds</h2>
- <div className="lp-steps">
+ <h2 className="lp-section-title">Multi-Agent Orchestration</h2>
+ <p className="lp-section-sub">Mercury spawns parallel agents. You keep chatting.</p>
+ <div className="lp-terminal-window" style={{ maxWidth: 760, margin: '0 auto' }}>
+ <div className="lp-terminal-bar">
+ <span className="lp-terminal-dot lp-dot-red" />
+ <span className="lp-terminal-dot lp-dot-yellow" />
+ <span className="lp-terminal-dot lp-dot-green" />
+ <span className="lp-terminal-title">mercury — multi-agent</span>
+ </div>
+ <div className="lp-terminal-body" ref={agentTermRef} />
+ </div>
+ <div className="lp-agent-features lp-reveal">
{[
- { num: 1, title: 'Install', cmd: 'npm i -g @cosmicstack/mercury-agent', desc: 'Or use npx @cosmicstack/mercury-agent — no install needed.' },
- { num: 2, title: 'Setup', cmd: 'mercury', desc: 'First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram.' },
- { num: 3, title: 'Run', cmd: 'mercury start', desc: 'Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon.' },
- ].map((s, i) => (
- <div key={i} className="lp-step lp-reveal">
- <div className="lp-step-number">{s.num}</div>
- <h3>{s.title}</h3>
- <div className="lp-terminal-inline"><code>{s.cmd}</code></div>
- <p>{s.desc}</p>
+ { title: 'Parallel Execution', desc: 'Multiple tasks run simultaneously in isolated context windows.' },
+ { title: 'File Locks', desc: 'Reader-writer locks prevent concurrent write conflicts between agents.' },
+ { title: 'Resource-Aware', desc: 'Max concurrent agents auto-detected from CPU and RAM.' },
+ { title: 'Non-Blocking', desc: 'Keep chatting while agents work. Get notified when they finish.' },
+ ].map((f, i) => (
+ <div key={i} className="lp-agent-feature">
+ <h4>{f.title}</h4>
+ <p>{f.desc}</p>
</div>
))}
</div>
</div>
</section>
- <section id="demo" className="lp-section">
+ {/* Mercury Autopilot */}
+ <section id="autopilot" className="lp-section">
<div className="lp-container">
- <h2 className="lp-section-title">See It Work</h2>
- <p className="lp-section-sub">A real Mercury session — tool calls, streaming, files, and scheduling.</p>
- <div className="lp-terminal-window" style={{ maxWidth: 760, margin: '0 auto' }}>
- <div className="lp-terminal-bar">
- <span className="lp-terminal-dot lp-dot-red" />
- <span className="lp-terminal-dot lp-dot-yellow" />
- <span className="lp-terminal-dot lp-dot-green" />
- <span className="lp-terminal-title">mercury</span>
+ <h2 className="lp-section-title">Mercury Autopilot</h2>
+ <p className="lp-section-sub">Intelligent loop detection that knows the difference between working hard and going in circles.</p>
+ <div className="lp-autopilot-grid lp-reveal">
+ <div className="lp-autopilot-card">
+ <div className="lp-autopilot-verdict lp-verdict-productive">Productive</div>
+ <p>High parameter diversity ({'>'} 60%) and success rate ({'>'} 70%). Mercury continues without interruption.</p>
+ </div>
+ <div className="lp-autopilot-card">
+ <div className="lp-autopilot-verdict lp-verdict-suspicious">Suspicious</div>
+ <p>Moderate repetition detected. In Allow All: AI self-check evaluates progress. In Ask Me: prompts you.</p>
+ </div>
+ <div className="lp-autopilot-card">
+ <div className="lp-autopilot-verdict lp-verdict-stuck">Stuck</div>
+ <p>Low diversity and high failure rate. Mercury stops the current execution path automatically.</p>
</div>
- <div className="lp-terminal-body" ref={demoTermRef} />
</div>
</div>
</section>
- <section id="capabilities" className="lp-section lp-section-dark">
+ {/* Second Brain */}
+ <section id="memory" className="lp-section lp-section-alt">
<div className="lp-container">
- <h2 className="lp-section-title">31 Built-In Tools</h2>
- <p className="lp-section-sub">Plus extensible skills, scheduling, and memory.</p>
- <div className="lp-caps-grid">
+ <h2 className="lp-section-title">Second Brain</h2>
+ <p className="lp-section-sub">Mercury remembers — automatically, privately, and with surgical precision.</p>
+ <div className="lp-brain-grid">
{[
- { title: '📂 Filesystem', items: ['read_file — Read file contents', 'write_file — Write to existing file', 'create_file — Create new files (+ dirs)', 'edit_file — Search & replace text', 'list_dir — List directory contents', 'delete_file — Delete a file', 'send_file — Send file to user', 'approve_scope — Request directory access'] },
- { title: '💬 Messaging', items: ['send_message — Send a message to approved Telegram recipients'] },
- { title: '🐚 Shell', items: ['run_command — Execute shell commands', 'cd — Change working directory', 'approve_command — Permanently approve a command'] },
- { title: '📦 Git', items: ['git_status — Working tree status', 'git_diff — Show file changes', 'git_log — Commit history', 'git_add — Stage files', 'git_commit — Create commits', 'git_push — Push to remote'] },
- { title: '🐙 GitHub', items: ['create_pr — Create pull requests', 'review_pr — Review PRs + post comments', 'list_issues — List & filter issues', 'create_issue — Create new issues', 'github_api — Raw API access', 'Co-authored-by on every commit'] },
- { title: '🎵 Spotify', items: ['spotify_search — Search tracks, artists, albums, playlists', 'spotify_play — Play on your devices', 'spotify_pause/next/previous — Playback controls', 'spotify_now_playing — What\'s playing + progress bar', 'spotify_devices — List & select devices', 'spotify_like/top_tracks/playlists — Library access', 'spotify_volume/shuffle/repeat/queue — Full player control'] },
- { title: '🤖 Sub-Agents', items: ['delegate_task — Spawn parallel AI agents', 'list_agents — Monitor running agents', 'stop_agent — Halt a specific agent', '/agents — See all agents + status', '/halt — Emergency stop all agents', 'File locks for concurrent safety', 'Auto-concurrency from CPU/RAM'] },
- { title: '🧩 Skills', items: ['install_skill — Install from URL or content', 'list_skills — Show installed skills', 'use_skill — Invoke a skill'] },
- { title: '⏰ Scheduler', items: ['schedule_task — Cron or one-shot tasks', 'list_scheduled_tasks — View all tasks', 'cancel_scheduled_task — Cancel a task'] },
- { title: '📊 System', items: ['budget_status — Check token budget'] },
- { title: '🧠 Memory', items: ['Short-term — Recent conversation per channel', 'Long-term — Auto-extracted facts with dedup', 'Episodic — Timestamped interaction log'] },
- ].map((g, i) => (
- <div key={i} className="lp-cap-group lp-reveal">
- <h3>{g.title}</h3>
- <ul>{g.items.map((item, j) => <li key={j}>{item}</li>)}</ul>
+ { title: 'Learns Automatically', desc: 'After each conversation, Mercury extracts facts — preferences, goals, projects, habits, decisions.' },
+ { title: 'Recalls What Matters', desc: 'Only relevant memories injected — up to 5 facts within a 900-character budget per request.' },
+ { title: 'Resolves Conflicts', desc: 'When Mercury detects a contradiction, the higher-confidence memory wins. No stale data.' },
+ { title: '10 Memory Types', desc: 'Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection.' },
+ { title: 'Auto-Consolidation', desc: 'Hourly synthesis of profile summaries and reflections from detected patterns.' },
+ { title: 'Fully Local', desc: 'All data stays on your machine in SQLite. /memory gives you overview, search, pause, and clear.' },
+ ].map((c, i) => (
+ <div key={i} className="lp-brain-card lp-reveal">
+ <h3>{c.title}</h3>
+ <p>{c.desc}</p>
</div>
))}
</div>
</div>
</section>
+ {/* Providers */}
+ <section id="providers" className="lp-section lp-section-dark">
+ <div className="lp-container">
+ <h2 className="lp-section-title">Any Provider. Automatic Fallback.</h2>
+ <p className="lp-section-sub">Configure one or stack them all. Mercury falls back automatically and tracks which provider last succeeded.</p>
+ <div className="lp-provider-grid lp-reveal">
+ {[
+ { name: 'ChatGPT Web', desc: 'Use your ChatGPT Plus/Pro subscription. OAuth login, no API key.', badge: 'NEW' },
+ { name: 'GitHub Copilot', desc: 'Your Copilot subscription — access OpenAI, Anthropic, and Google models.', badge: 'NEW' },
+ { name: 'DeepSeek', desc: 'Cost-effective with strong reasoning. Default provider.' },
+ { name: 'OpenAI', desc: 'GPT-4o-mini, GPT-4o, o3. Industry standard.' },
+ { name: 'Anthropic', desc: 'Claude Sonnet, Haiku, Opus. Nuanced reasoning.' },
+ { name: 'Grok (xAI)', desc: "xAI's models via OpenAI-compatible endpoint." },
+ { name: 'Ollama Cloud', desc: 'Remote Ollama models via API. No local setup.' },
+ { name: 'Ollama Local', desc: 'On your machine. Zero cost, fully private.' },
+ ].map((p, i) => (
+ <div key={i} className="lp-provider-card">
+ <h4>{p.name} {(p as any).badge && <span className="lp-provider-badge">{(p as any).badge}</span>}</h4>
+ <p>{p.desc}</p>
+ </div>
+ ))}
+ </div>
+ <div className="lp-provider-note">
+ <p>API key or OAuth — your choice. ChatGPT Web and GitHub Copilot authenticate through your browser. Switch models mid-session with <code>/models use</code>.</p>
+ </div>
+ </div>
+ </section>
+
+ {/* Comparison */}
<section id="compare" className="lp-section">
<div className="lp-container">
<h2 className="lp-section-title">Honest Comparison</h2>
@@ -410,22 +554,20 @@ export default function LandingPage(): React.ReactElement {
</thead>
<tbody>
{[
+ ['Multi-Agent Orchestration', 'Parallel workers + file locks', '—', '—'],
+ ['Loop Detection (Autopilot)', 'Diversity + success analysis', '—', '—'],
+ ['Real-Time Progress', 'Single edited status card + pin', '—', '—'],
+ ['Permission Modes', 'Ask Me / Allow All + safe whitelist', 'Confirmation prompts', 'Permission prompts'],
+ ['Telegram Integration', 'Inline keyboards, pinned progress, org access', '—', '—'],
+ ['Token Budget', 'Daily budget + override + color-coded stats', '—', '—'],
+ ['Spotify Integration', 'Native playback + DJ mode + 14 tools', '—', '—'],
+ ['Skill System', 'Install, invoke, schedule with elevation', '—', '—'],
['Soul / Persona System', '4 markdown files', 'Custom instructions', 'CLAUDE.md'],
- ['Token Budget', 'Daily budget + override', '—', '—'],
- ['Multi-Channel', 'CLI + Telegram + more', 'All', 'All'],
- ['Sub-Agents', 'Parallel AI workers, non-blocking', '—', '—'],
- ['Spotify Integration', 'Native playback + DJ mode', '—', '—'],
- ['Skill System', 'Install, invoke, schedule', '—', '—'],
- ['Cron + Delayed Scheduling', 'Persisted, auto-restore', '—', '—'],
- ['Permission Hardening', 'Blocklist + scope + approval', 'Confirmation prompts', 'Permission prompts'],
['GitHub Companion', 'PRs, issues, co-authored commits', '—', '—'],
- ['Proactive Notifications', 'Heartbeat + task alerts', '—', '—'],
- ['Auto Fact Extraction', 'With dedup', '—', '—'],
- ['Provider Fallback', 'Auto with last-successful', 'Manual config', 'Anthropic only'],
- ['File Upload (Telegram)', 'Auto type detection', '—', '—'],
- ['Streaming Output', 'Real-time text stream', 'Real-time text stream', 'Real-time text stream'],
- ['Headless / 24-7', 'Built-in', '—', '—'],
- ['Language', 'TypeScript / Node.js', 'Python', 'TypeScript / Node.js'],
+ ['Provider Fallback', 'Auto with last-successful tracking', 'Manual config', 'Anthropic only'],
+ ['Second Brain', 'Auto-extract, 10 types, conflict resolution', '—', '—'],
+ ['Workspace IDE', 'File explorer, git panel, keyboard shortcuts', '—', '—'],
+ ['24/7 Headless', 'Daemon + system service + cron scheduling', '—', '—'],
['Open Source', 'MIT', 'LGPL-2.1', 'Source-available'],
].map((row, i) => (
<tr key={i}>
@@ -441,73 +583,55 @@ export default function LandingPage(): React.ReactElement {
</div>
</section>
- <section id="architecture" className="lp-section lp-section-dark">
+ {/* Install */}
+ <section id="install" className="lp-section lp-section-dark">
<div className="lp-container">
- <h2 className="lp-section-title">Under the Hood</h2>
- <p className="lp-section-sub">Minimal runtime, maximum capability.</p>
- <div className="lp-arch-grid">
- {[
- { label: 'Core', value: 'TypeScript + Node.js 18+', desc: 'ESM, tsup build, SQLite-backed second brain' },
- { label: 'AI SDK', value: 'Vercel AI SDK v6', desc: 'streamText + generateText, 10-step agentic loop' },
- { label: 'Sub-Agents', value: 'Same-process async coroutines', desc: 'Parallel task delegation, file locks, resource-aware concurrency' },
- { label: 'Spotify', value: 'Native Web API integration', desc: 'OAuth2 auth, 14 tools, DJ mode skill, Premium + free support' },
- { label: 'Providers', value: 'DeepSeek · OpenAI · Anthropic · Grok · Ollama Cloud · Ollama Local', desc: 'Validated onboarding, model discovery, and fallback with last-successful tracking' },
- { label: 'Memory', value: 'JSONL + SQLite', desc: 'Short-term, long-term, episodic + second brain' },
- { label: 'Telegram', value: 'grammY', desc: 'Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads' },
- { label: 'Runtime Data', value: '~/.mercury/', desc: 'Config, soul, memory, permissions, skills, schedules — all in your home dir' },
- ].map((a, i) => (
- <div key={i} className="lp-arch-card lp-reveal">
- <div className="lp-arch-label">{a.label}</div>
- <div className="lp-arch-value">{a.value}</div>
- <div className="lp-arch-desc">{a.desc}</div>
+ <h2 className="lp-section-title">Up and Running in 60 Seconds</h2>
+ <div className="lp-install-steps">
+ <div className="lp-install-step lp-reveal">
+ <div className="lp-install-num">1</div>
+ <div>
+ <h4>Install</h4>
+ <div className="lp-terminal-inline"><code>npm i -g @cosmicstack/mercury-agent</code></div>
</div>
- ))}
- </div>
- </div>
- </section>
-
- <section id="providers" className="lp-section">
- <div className="lp-container">
- <h2 className="lp-section-title">Supported Providers</h2>
- <p className="lp-section-sub">Pick one or stack them all. Mercury falls back automatically.</p>
- <div className="lp-provider-grid lp-reveal">
- {[
- { name: 'DeepSeek', desc: 'Default provider. Cost-effective with strong reasoning.' },
- { name: 'OpenAI', desc: 'GPT-4o-mini, GPT-4o, o3. Industry standard.' },
- { name: 'Anthropic', desc: 'Claude Sonnet, Haiku, Opus. Nuanced reasoning.' },
- { name: 'Grok (xAI)', desc: "xAI's models. OpenAI-compatible endpoint." },
- { name: 'Ollama Cloud', desc: 'Remote Ollama models via API. No local setup.' },
- { name: 'Ollama Local', desc: 'On your machine. Zero API cost, fully private.' },
- ].map((p, i) => (
- <div key={i} className="lp-provider-card">
- <div className="lp-provider-logo">⚡</div>
- <div className="lp-provider-info">
- <h3>{p.name}</h3>
- <p>{p.desc}</p>
- </div>
+ </div>
+ <div className="lp-install-step lp-reveal">
+ <div className="lp-install-num">2</div>
+ <div>
+ <h4>Setup</h4>
+ <div className="lp-terminal-inline"><code>mercury</code></div>
+ <p>Onboarding wizard: choose providers, validate keys, pair Telegram.</p>
</div>
- ))}
- </div>
- <div className="lp-provider-note">
- <p>More providers on the way — Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints.</p>
+ </div>
+ <div className="lp-install-step lp-reveal">
+ <div className="lp-install-num">3</div>
+ <div>
+ <h4>Run</h4>
+ <div className="lp-terminal-inline"><code>mercury up</code></div>
+ <p>Starts as a daemon. Auto-restarts on crash. Runs 24/7.</p>
+ </div>
+ </div>
</div>
</div>
</section>
+ {/* CTA */}
<section id="cta" className="lp-section lp-cta-section">
<div className="lp-container">
- <h2 className="lp-section-title">Ready to Deploy Your Agent?</h2>
+ <h2 className="lp-section-title">Deploy Your Agent</h2>
<div className="lp-cta-terminal">
<code>npm i -g @cosmicstack/mercury-agent && mercury</code>
</div>
- <p className="lp-cta-sub">That's it. 60 seconds to your own AI agent with GitHub companion.</p>
+ <p className="lp-cta-sub">60 seconds to your own AI agent.</p>
<div className="lp-cta-links">
- <a href="https://github.com/cosmicstack-labs/mercury-agent" target="_blank" rel="noopener">GitHub →</a>
- <a href="https://github.com/cosmicstack-labs/mercury-agent/issues" target="_blank" rel="noopener">Report an Issue →</a>
+ <Link to="/docs">Documentation</Link>
+ <a href="https://github.com/cosmicstack-labs/mercury-agent" target="_blank" rel="noopener">GitHub</a>
+ <a href="https://github.com/cosmicstack-labs/mercury-agent/issues" target="_blank" rel="noopener">Report an Issue</a>
</div>
</div>
</section>
+ {/* Footer */}
<footer className="lp-footer">
<div className="lp-container lp-footer-inner">
<div>
@@ -516,7 +640,6 @@ export default function LandingPage(): React.ReactElement {
</div>
<div className="lp-footer-links">
<Link to="/docs">Docs</Link>
- <a href="https://mercury.cosmicstack.org">mercury.cosmicstack.org</a>
<a href="https://github.com/cosmicstack-labs/mercury-agent">GitHub</a>
<a href="https://github.com/cosmicstack-labs/mercury-agent/issues">Issues</a>
</div>